How to Build a Floating Shelf: An Easy DIY Wooden Wall Shelf With a Hidden Cleat
Floating shelves look clean and modern because you cannot see what holds them up. That makes them seem tricky, but the most common DIY version is a simple trick: a hollow wooden box that slides over a hidden wooden cleat screwed into the wall. If you can cut straight and find a wall stud, you can build one in an afternoon.
This guide shows how to build a 24-inch floating shelf from common boards, how to mount it securely, and what it can realistically hold. It also covers an even simpler option using store-bought hidden brackets.
Two ways to make a floating shelf
- Hollow box over a wooden cleat (this guide): cheap, uses basic tools, and gives a chunky 3-inch-thick shelf that looks like solid wood.
- Solid board on hidden steel brackets: buy a floating shelf bracket kit with steel rods, drill matching holes into the back of a thick board, and slide it on. It is fast and strong, but you need a thick board and very accurately drilled holes.
What you will build
- Size: 24 inches wide, about 6-1/4 inches deep, 3 inches thick
- Mounting: a 2x2 "ladder" cleat screwed into two wall studs
- Good for: books, plants, picture frames, kitchen jars and decor
Materials
- One 1x6 board, 6 feet long (actual size 3/4 x 5-1/2 inches), pine or poplar
- One 1x4 board, 2 feet long, for the front strip
- One 2x2, 4 feet long (actual size about 1-1/2 x 1-1/2 inches), straight and dry
- Wood glue and 1-1/4 inch brad nails or finish nails
- 2-1/2 inch wood screws for the cleat
- Four 3 inch construction screws for mounting into studs
- Wood filler, sandpaper and finish
Tools
- Tape measure, square, pencil and a level (24 inches or longer)
- Stud finder
- Circular saw, miter saw or hand saw; a table saw or careful circular saw cut for ripping the front strip
- Drill/driver and bits
- Clamps and a hammer or brad nailer
- Safety glasses and hearing protection
Cut list
- Top and bottom: 2 pieces of 1x6 at 24 inches
- End caps: 2 pieces of 1x6 ripped to 1-1/2 inches wide x 5-1/2 inches long
- Front: 1 piece of 1x4 ripped to 3 inches wide x 24 inches long
- Cleat back rail: 1 piece of 2x2 at 22-1/4 inches
- Cleat arms: 3 pieces of 2x2 at 3-3/4 inches
Measure your actual board thickness before cutting the front strip. It should equal the 1-1/2 inch cleat plus the thickness of the top and bottom boards.
Step-by-step instructions
Step 1: Build the shelf box
Lay the bottom board flat. Glue and nail an end cap at each end, standing on edge and flush with the end and the front and back edges. Then glue and nail the top board onto the end caps. You now have a long, thin hollow box open at the back, with a 1-1/2 inch tall cavity.
Step 2: Add the front strip
Glue the front strip across the front edges of the top, bottom and end caps so it covers all of them. Clamp or nail it in place and wipe off squeeze-out. This front piece is what makes the shelf look like one thick, solid board.
Step 3: Build the cleat
The cleat looks like a short ladder lying on its side. Pre-drill and screw the three 3-3/4 inch arms to the front face of the 22-1/4 inch back rail: one at each end, set in about 1/2 inch, and one in the middle. Check the arms are square to the rail. Test-fit the cleat into the box. It should slide in easily but without much wobble; sand or plane the cleat a little if it is tight.
Step 4: Sand and finish the shelf
Fill nail holes, then sand the box with 120 and 180 grit, rounding the front edges slightly. Paint, stain or clear coat it now, before mounting. Our wood finishing guide explains how to avoid blotchy stain on pine.
Step 5: Find the studs and mount the cleat
Use a stud finder to locate two studs; in most US homes they are 16 inches apart on center. Confirm by driving a small nail where it will be hidden by the shelf. Hold the cleat against the wall with the arms pointing out, level it carefully, and mark the stud locations on the back rail. Pre-drill, then drive two 3 inch screws into each stud. If the cleat is not level now, the shelf will not be level later.
Step 6: Slide on the shelf
Slide the box over the cleat until it is tight against the wall. Drive a couple of small screws or nails down through the top of the shelf into the cleat arms (or up through the bottom, where they are less visible) so it cannot slide off. Fill and touch up the holes.
How much weight can a floating shelf hold?
It depends on the cleat, the screws and, most of all, whether you hit studs. A cleat screwed into two studs as described will comfortably hold everyday items like books, plants and dishes on a 24-inch shelf. Avoid heavy point loads at the front edge, never use the shelf as a step or a grab bar, and do not rely on drywall anchors alone for a shelf meant to carry books. If you cannot reach studs, choose heavy-duty anchors rated well above your expected load, or pick a different location.
Variations
- Longer shelves: make the cleat long enough to reach three or more studs and add an arm every 12 to 16 inches.
- Deeper shelves: deeper shelves put more leverage on the screws. Keep box shelves under about 8 inches deep for everyday use.
- Rustic look: build the box from reclaimed boards; see our pallet wood projects for how to prepare them.
- Corner shelves: make two boxes that meet at a mitered corner, each on its own cleat.
Common beginner mistakes
- Cleat too tight or too loose: test-fit before glue dries on the box.
- Missing the studs: always confirm with a small nail before drilling.
- Not checking level: check twice before the last screw goes in.
- Using a bowed 2x2: a bent cleat makes a twisted shelf. Pick the straightest one at the store.
Safety tips
- Check for electrical wires and pipes before drilling into walls; stud finders with AC detection help.
- Ripping narrow strips is one of the riskier cuts for beginners. Use a push stick on a table saw, or clamp the board and use a guide with a circular saw.
- Wear safety glasses and hearing protection when cutting.
Frequently asked questions
Can I hang a floating shelf without studs?
For light decor, yes, with quality heavy-duty drywall anchors rated well above the load. For books or dishes, anchor into studs, or use a wall with solid blocking behind it.
How do I keep the shelf from sagging forward?
A slight forward droop usually means the cleat is loose in the box or the screws are not fully into the studs. Make the cleat fit snugly, use long screws into solid wood, and keep the depth modest.
What is the best wood for floating shelves?
Pine and poplar are inexpensive and easy to work. For a stained look with more durability, use oak or another hardwood for the top, bottom and front pieces.
Can I make the shelf thinner?
Yes. Rip the cleat thinner (for example 1 inch) and shrink the front strip to match, but keep in mind that a thinner cleat is less stiff.
Next steps
Want more storage? Try our DIY bookshelf for beginners. Floating shelves are also great in tight apartments; see woodworking in small spaces for more ideas. If you want to build a whole set as gifts, they rank well among woodworking projects that sell.