Objectales

Popular

How to Build a Bookshelf: Step-by-Step DIY Guide

featured 105941

We recently shared how we made the wraparound fabric headboard in our son’s room. Today I want to describe the custom bookcase we built at the foot of his bed. This DIY project filled that awkward space perfectly and gave him convenient bedside book storage—plus a secret compartment. It was an easy build that anyone with basic tools can customize to fit their space.

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 neatly against the wall with just the right amount of space at the end for a compact storage solution. Before the build, his books were jammed into baskets that barely fit the gap, making them hard to reach and wasting potential storage under the bed.

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

He doesn’t need a full-height bookcase right now, so we deliberately avoided a bulky piece that would hold items out of reach. In a previous room, the built-in bookcases ended up mostly decorative; only the lowest shelf was actually accessible to him. We wanted this to be practical, reachable, and tailored to the scale of the room.

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

To make the most of the area at the foot of the bed without going overboard, we designed and built a custom shelf that sits at mattress level with another storage box above it.

Materials & Tools for a DIY Bookshelf

We’ve built several custom shelves and built-ins and prefer MDF for this type of project. It’s stable, smooth, and paints well.

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

Step 1: Cut and Dry-Fit the MDF

We cut the MDF panels with a circular saw and dry-fit everything before final assembly. The design is essentially a bottom shelf at mattress height with a shallower box on top. The bottom shelf is supported by a 1×2 mounted to the wall—screwed into studs where possible—and a flat MDF panel screwed to the bed’s footboard. That vertical back panel prevents books and toys from falling under the bed, which solves the inevitable lost-stuffed-animal problem.

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

We planned to add the finishing 1×2 trim pieces later for extra strength and a refined look.

Step 2: Prime and Paint the Pieces

We primed and painted the main pieces before final assembly since it’s much easier than painting in place. All the painted components were dry-fit so we could be sure everything aligned before fastening permanently.

Step 3: Glue and Nail the Bottom Shelf

After the paint dried we assembled the unit using wood glue and nails. The nails hold pieces together quickly while the glue adds long-term strength. Fill nail holes later during touch-up. The bottom shelf was nailed into the two support pieces below it for a secure connection.

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

Step 4: Add the Top Shelf and Middle Divider

We added a middle divider to strengthen the unit and support the top shelf. The divider also helps organize the books better than one large open box would. The top pieces are slightly shallower than the bottom shelf to accommodate the 1×2 face trim that creates a polished edge and a more substantial appearance. These pieces were installed from the top and secured with nails and glue.

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

Step 5: Attach the 1×2 Finish Trim

We used 1×2 boards both to finish raw edges and to act as supports on the open end of the shelf. We considered closing that end with another solid MDF piece but ultimately liked the open-ended look better for this room. The trim makes the unit look intentional and built-in.

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

Step 6: Caulk, Fill, and Touch Up

With the unit assembled, we caulked the seams and filled small nail holes. After everything dried we touched up the paint where needed. The result is a smooth, seamless finish that blends comfortably with the room.

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

Bonus Step: Create a Secret Compartment

We didn’t want the space under the bookshelf to go to waste, so we made a removable panel that fits snugly but can be popped out by pressing the right spot. Small scraps of 1×2 were nailed along the inside lip to act as rests for the removable piece so it remains flush yet accessible when needed.

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

Right now the compartment stores spare picture frames, but as he grows it can hold whatever he needs. We could add a small handle later to make access even easier.

The Finished DIY Bookshelf

We built the bookshelf to the exact height of the upholstered headboard so the two pieces read as one wraparound unit that encloses the bed on three sides. We briefly considered painting the bookshelf to match the blue-gray headboard, but ultimately left it to blend with the walls for a calmer, cohesive look.

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

Having bedtime books within arm’s reach has been a game changer. He also has easy access to fabric baskets that hold small collections like trading cards, which need to be handy in case of a middle-of-the-night emergency.

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

Cost Breakdown

Our total for both this bookshelf and the fabric headboard was under $135. The materials for the shelf itself were economical—around $35 for MDF and $30 for 1×2 trim—while fabric and batting for the headboard accounted for the remainder. We even had leftover fabric to make a separate headboard for another room.

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

Room Update and Next Steps

This was the room about eight weeks after we moved in. Since then we added more built-in storage and a colorful planked wall treatment around the custom bookshelf to add personality and function to the space.

Boys bedroom with colorful planked wall treatment and built-in DIY bedside bookshelf
light | striped wall treatment | closet baskets | toy baskets | brass shelf | piggy banks | quilt

If you want a compact, functional bedside bookshelf for a small room, this project is a simple, budget-friendly option. With a little planning and basic tools you can build a custom unit that maximizes usable space, keeps books accessible, and adds a polished built-in look to a child’s room.