turbodizin

Home Decorating & DIY Tutorials

HomeTopics

How to Build a Sturdy Wooden Bookshelf

featured 105941

We recently described how we made the fabric wraparound headboard for our son’s room. Today we’re sharing the matching custom bookcase we built at the foot of his bed. This simple DIY fills an awkward gap while providing convenient bedside book storage — plus a hidden compartment for bonus storage. The build was straightforward, customizable to your space, and comfortable for a beginner with basic tools.

Boys bedroom with fabric headboard and built-in bed with bookcase footboard
twin bed with built-in drawers / frame / fabric baskets / brass doorknob

Why Create Custom Book Storage?

This is the smallest room in our house and the bed fits snugly against one wall, leaving a narrow area at the foot of the mattress. Before the bookcase, books were thrown into baskets that barely fit in that gap — awkward to reach and a poor use of space. We didn’t want a tall, bulky bookcase that would be hard for our son to access or that would waste the shallow space under the mattress. Instead, we decided to build a low, tailored shelf that sits at mattress height and integrates with the bed for a cohesive, functional solution.

Before photo of boys bedroom with baskets on the floor near foot of bed

Because he doesn’t need a lot of vertical storage right now, we focused on reachable shelving and sensible use of the shallow footprint at the bed’s end. The result is a low-profile built-in that looks custom and keeps his favorite books and toys right within arm’s reach.

Boys bedroom with built-in floor to ceiling bookcases and dresser drawers in old house

Instead of re-creating the big built-in bookcases we had in a previous room — which mostly served as decoration with books only on the lowest shelf — this design delivers practical storage at the exact height he can use.

DIY Bookshelf Build Materials & Tools

We’ve made several built-ins and prefer MDF for this kind of project because it’s strong, smooth, and finishes well. Here’s what we used:

  • 1/2″ MDF panels for the shelf boxes
  • 1×2 boards for finishing edges and added support
  • Miter saw
  • Table saw or circular saw
  • Nail gun
  • Measuring tape and stud finder
  • Wood glue
  • Primer and paint

Step 1: Cut & Dry Fit Your MDF Panels

We cut the MDF panels with a circular saw and dry-fitted the pieces before final assembly. The basic layout is a bottom shelf at mattress level with a shallower box on top. The bottom shelf is supported by a 1×2 attached to the wall (screw into studs where possible) and a flat MDF panel screwed into the bed’s footboard. That creates a solid back so books and toys don’t slide under the shelf.

MDF frame of built-in bookcase in boys bedroom during DIY construction

We planned additional strength with the 1×2 finishing pieces, which both hide raw edges and stiffen the structure.

Step 2: Prime & Paint Your Pieces

To make finishing easier, we primed and painted the main pieces before full assembly. Painting everything in place would have been awkward, so painting the panels beforehand saved time and gave a cleaner finish.

Step 3: Secure the Bottom Shelf with Glue & Nails

After the paint dried, we assembled the shelf using wood glue for long-term strength and a nail gun for quick clamping. Nail holes are easy to fill later during touch-ups. The bottom shelf is fastened into the two support pieces beneath it for a secure base.

Painted pieces of MDF being nailed in for bottom shelf of built-in bookcase

Step 4: Add the Top Shelf & Middle Divider

A central divider improves structural integrity and helps organize books so they don’t all slump into one big cubby. The top pieces are made slightly shallower than the bottom shelf to allow room for the 1×2 face trim, which creates a more polished, substantial appearance. These pieces were nailed in from above for a snug fit.

Fitting top shelf of built-in bookcase at the foot of boys bed

Step 5: Attach 1×2 Finish Pieces

We used 1×2 boards as finish trim and added them as supports on the open end of the shelf. We debated closing off the end with another MDF panel, but the open-sided look felt lighter and more appropriate for the room. The 1×2s both hide raw edges and stiffen the assembly.

Side posts attached to built-in bookcase in boys bedroom with open shelf facing door

Step 6: Caulk Seams, Fill Nail Holes & Touch Up Paint

With the structure secure, we caulked all seams and filled nail holes for a seamless finish. After the filler and caulk dried, we touched up areas of paint to give the piece a clean, built-in look.

Boys bedroom with fabric headboard and built-in bed with bookcase footboard
twin bed with built-in drawers / frame / fabric baskets / brass doorknob

Bonus Step: Add a Secret Compartment

We didn’t want the space beneath the shelf to go unused, so we created a removable panel that acts as a secret compartment. Instead of permanently nailing a back piece, we cut a snug panel that pops out when pressed in the right spot. Small scrap 1×2 strips along the inside lip give the removable piece a ledge to rest on. It currently hides spare picture frames and small items, but it’s easy to adapt for whatever storage needs arise.

Bottom compartment for secret storage in boys bedroom with built-in daybed custom storage

We could add a small pull or recessed handle later if he wants easier access, but for now the stealthy pop-out works well for items we don’t need every day.

The Finished DIY Bookshelf

We built the bookshelf to match the height of the upholstered headboard so everything reads as one cohesive, wraparound unit that encloses the bed on three sides. At first we considered painting it to match the blue-gray headboard, but letting it blend with the wall created a calm, integrated look that keeps the room feeling open.

After photo of built-in bookcase at foot of bed with books and stuffed animals

Having all the bedtime books within reach has made our nightly routine easier. The baskets fit perfectly on the low shelf and hold small collections like trading cards and beloved toys — handy for emergency late-night searches.

View of final bookcase built-in to the foot of boys custom daybed

How Much Did Our DIY Bookshelf Cost?

Our combined cost for both the fabric headboard and this built-in bookshelf was under $135. Materials broke down to about $35 for MDF, $30 for the 1×2 face pieces, and $70 for fabric and batting. We even had leftover fabric to use on another small headboard project.

Boys bedroom with DIY fabric upholstered headboard and custom built-in bookcase footboard

Room Update & Final Thoughts

About eight weeks after moving in we added even more built-in storage and a colorful planked wall treatment around this custom bookcase to complete the corner. The low-profile, functional design keeps the space tidy while giving our son easy access to books and small toys. If you’re working with a narrow gap at the foot of a bed, a simple built-in shelf like this is a practical and affordable solution that can be tailored to any room.

Boys bedroom with colorful planked wall treatment and built-in DIY bedside bookshelf

P.S. This post contains affiliate links in the original version, which may generate a small commission at no extra cost to you.