Expert step-by-step instructions for building a closet, including planning, framing closet walls, installing doors, drywall finishing, and adding rods and shelving.
Quick Answer
Planning a New Closet
Laying Out Closet Walls
How to Frame Closet Walls
Framing the Door Opening
Drywall & Finishing
Installing Closet Doors
Adding Rods & Shelving
FAQs
Need more storage space? If you have enough floor area and basic carpentry skills, you can build a closet that looks like it was part of the home from the beginning.
A simple framed closet can add:
- Bedroom storage
- Linen storage
- Hallway organization
- Utility storage
- Pantry space
Most closets are built using standard 2×4 wall framing covered with drywall and finished with trim and doors.
The basic process includes:
- Planning the layout
- Framing the walls
- Building the door opening
- Installing drywall
- Adding doors and trim
- Installing closet rods and shelving
Related articles:
How to Build a Wall
How to Install Folding Doors
How to Install a Closet Organization System
Check local building codes before building a closet. In some jurisdictions, adding a closet to a room may affect how the room is classified for permitting, egress, or resale purposes.
Quick Answer
To build a closet, frame new walls with 2×4 lumber, create a rough door opening, attach drywall, install doors and trim, and then add rods, shelving, or organizers. Most closets are built as standard non-load-bearing interior walls.

Don’s Advice
One of the biggest mistakes homeowners make when building a closet is not planning the interior storage layout before framing begins.
Closet rods, shelves, drawers, and door swing clearance all affect the ideal closet dimensions.
Planning a New Closet
Before building, decide exactly how the closet will be used.
A bedroom clothes closet usually needs:
- At least 24 inches of hanging depth
- Space for doors to open properly
- Room for shelving or drawers
- Electrical access if lighting is desired
Most reach-in closets are framed with an interior depth of roughly 27 inches or more.
Consider:
- Door type
- Traffic flow in the room
- Ceiling height
- Lighting
- Baseboard and trim alignment
Best Closet Door Types
Common closet door options include:
- Bi-fold doors
- Sliding bypass doors
- Swing doors
- Pocket doors
- Open closet systems
Bi-fold doors are popular because they conserve floor space while allowing wide access.
Laying Out Closet Walls
Accurate layout is critical for walls that look straight and professional.
Start by marking the closet wall positions on the ceiling.
Mark the Top Plate Position
Mark both ends of the new wall’s centerline on the ceiling.
Measure 1 3/4 inches on each side of the centerline to represent the edges of the 2×4 top plate.
Then snap chalk lines between the marks.
Transfer Layout to the Floor
Use a plumb bob or laser level to transfer the ceiling marks to the floor.
Snap chalk lines on the floor to mark the sole plate location.
If the closet includes side walls, use a framing square to ensure corners are perfectly square.
How to Frame Closet Walls
Most closet walls are framed using standard 2×4 construction.
You can either:
- Build the wall flat on the floor and tilt it up
- Frame the wall in place
Building walls flat on the floor is usually easier and faster if the room has enough open space.
Cut the Wall Studs
If framing on the floor, cut studs slightly shorter than the ceiling height so the assembled wall can tilt into position.
A common formula is:
- Ceiling height minus 3 3/4 inches
This allows for:
- Top plate thickness
- Sole plate thickness
- Tilting clearance
Mark Stud Locations
Lay the top plate and sole plate side-by-side and mark stud locations simultaneously.
Most studs are spaced:
- 16 inches on center
Use a framing square or combination square to keep layout lines straight and accurate.
Assemble the Wall
Nail the studs between the top and bottom plates using framing nails or structural screws.
Then tilt the wall into position and fasten it to:
- Ceiling joists
- Floor framing
- Existing wall studs
Use shims where needed to create a tight fit against the ceiling.
Don’s Advice
Closet walls that are even slightly out of square can create problems later when installing bi-fold or sliding doors.
Take time during framing to verify measurements diagonally and confirm that corners are square before fastening everything permanently.
Framing the Door Opening
The closet door opening requires special framing components.
These include:
- King studs
- Trimmer (jack) studs
- A header
- Cripple studs above the header
The rough opening size depends on the door manufacturer’s specifications.
Always verify rough opening dimensions before framing.
Install the Header
The header spans across the top of the doorway opening.
In most non-load-bearing closet walls, the header primarily provides structure for the opening rather than carrying major loads.
Install Trimmer Studs
Trimmer studs support the ends of the header.
These are nailed to the full-height king studs.
See also:
What Is a King Stud?
What Is a Jack Stud?
Drywall & Finishing
After framing is complete, cover the walls with drywall.
Typical steps include:
- Hanging drywall panels
- Taping seams
- Applying joint compound
- Sanding smooth
- Priming and painting
Protect outside corners with metal or vinyl corner bead.
Cut Out the Sole Plate at the Doorway
After the wall is fully secured, cut out the sole plate beneath the doorway opening.
Use care not to damage the flooring beneath it.
Installing Closet Doors
Most closet doors install after painting and trim work are complete.
Bi-fold doors are especially popular because they:
- Save space
- Provide wide access
- Install relatively easily
Most modern bi-fold systems use:
- Upper tracks
- Pivot brackets
- Guide hardware
See also:
How to Install Folding Doors
How to Install Interior Trim
Adding Rods & Shelving
Once construction is complete, add closet organizers, rods, and shelving.
A basic closet rod installs into pole sockets attached to the side walls.
Long rods may require a center support bracket.
Popular closet upgrades include:
- Adjustable shelving
- Drawer systems
- Shoe racks
- Double hanging rods
- Wire shelving
- Built-in organizers
See: How to Install a Closet Organization System
Need Professional Help?
If the project involves electrical wiring, major finish carpentry, or structural modifications, hiring a professional carpenter or contractor may save significant time and frustration.
Find a trusted local carpenter for closet framing and finish work.
FAQs
How deep should a bedroom closet be?
Most clothes closets need an interior depth of at least 24 to 27 inches to accommodate hanging clothing comfortably.
Can I build a closet with standard 2×4 framing?
Yes. Most interior closets are built using standard non-load-bearing 2×4 wall framing.
Do closet walls need insulation?
Interior closet walls typically do not require insulation unless sound reduction is desired.
What is the easiest closet door to install?
Bi-fold doors are among the easiest and most space-efficient options for most closets.
Can adding a closet change a room classification?
In some jurisdictions, adding a closet can affect how a room is classified for permitting or real estate purposes.








