How to Build Over the Toilet Storage | DIY Shelf Build

Building over-the-toilet storage starts with measuring your tank clearance, then assembling a wall-secured frame with anti-tip hardware.

Building over-the-toilet storage is a weekend project that turns dead bathroom space into real shelving. The key is treating it like a safety job first: the unit needs tank clearance for the lid to open, and it needs to be anchored so it can’t tip forward. Measure your alcove, build a rigid frame, secure it to the wall, then add the shelves. Here’s the sequence that works.

Measure the Space Above the Toilet

Before cutting any wood, measure the full alcove where the unit will sit. Write down the width, the height available, and the depth from the wall to the front of the toilet tank. Installation guides from both Home Depot and Lowe’s agree on this first step: the unit has to clear the tank so the lid can still lift and so you can reach the flush handle.

Clearance is where most builds go wrong. That leaves room for taller bottles and the toilet lid itself. If the unit has a lower bar that sits behind the toilet (like the Decofy cabinet), you may need to leave that bar loose during installation and tighten it once the frame is in place.

Build the Frame: Key Dimensions, Wood and Joinery

Once you have your numbers, cut the frame pieces. A simple freestanding ladder-style shelf uses vertical legs and horizontal supports; one cedar DIY example uses 42-inch legs with 28.5-inch shelf supports. For a boxier cabinet, 2×2 lumber with pocket-hole joinery, wood glue, and clamps produces a strong rectangular frame. The Home Depot installation guide recommends inserting screws into pre-drilled holes to avoid splitting the wood.

  • Legs: cut to your desired height, typically 40–48 inches for a two-shelf unit.
  • Shelf supports: cut to your measured width minus the leg thickness.
  • Joinery: pocket holes and wood glue for a rigid frame; screws alone work but flex more.

Before the glue dries, check the frame with a level. The Home Depot guide is explicit: check the assembled frame for level, then fully tighten all screws. It also recommends installing an X-shaped crossbar at the back for stability and adding non-slip feet to the bottom of the legs.

Anchor the Unit to the Wall Safely

Wall anchoring is not optional for tall bathroom storage. The Giantex manual lists anti-toppling devices that secure the cabinet to the wall, and the SONGMICS manual ships with the same hardware. Find the wall studs behind the toilet tank; if they’re not where you need them, use toggle bolts or expansion anchors rated for the weight and your wall type. One Home Depot guide specifies expansion tubes for concrete or brick walls — drywall needs a different anchor.

Freestanding units get the same treatment. Check the unit on a flat surface and level it before final tightening; the Lowe’s installation guide covers this step as a requirement, not a suggestion. Once the frame is level and anchored, install the shelves, doors, or baskets.

Seal Wood, Then Load It

Bathrooms are humid, so bare wood will warp and swell. A handyman-grade finish — moisture-resistant paint or a sealing stain — protects the frame before you load it. Use shelf spans that match your load: a 28.5-inch span of 2×2 supports is fine for toilet paper and towels, but heavier items need thicker stock or a center support.

If you’d rather buy a tested unit than build one, our roundup of the best above-toilet storage cabinets compares ready-made options with the clearance and safety specs handled.

References & Sources

Please use a real email you check. If it's fake or mistyped, your message won't reach us and we can't reply — wrong addresses are rejected automatically.