How to Install a Recessed Medicine Cabinet Yourself Step by Step
Learn how to install a recessed medicine cabinet yourself with this complete DIY guide. Save $200-$400 in labor with clear step-by-step instructions.
By Editorial Team
How to Install a Recessed Medicine Cabinet Yourself Step by Step
A recessed medicine cabinet is one of those upgrades that punches well above its weight. It adds real storage without stealing a single inch of floor space, and it gives your bathroom a clean, built-in look that a surface-mounted cabinet simply can't match. The best part? Installing one yourself is a solidly achievable weekend project, even if your DIY experience is modest.
Professional installation typically runs $200–$400 on top of the cabinet itself, and most of that cost is straightforward labor you can handle with basic tools. In this guide, you'll learn exactly how to cut into your wall, frame the opening, and mount a recessed medicine cabinet that looks like it's been there since the house was built.
What You'll Need: Tools, Materials, and Choosing the Right Cabinet
Before you start cutting into drywall, gather everything you'll need so the project flows smoothly.
Tools
- Stud finder (one with AC wire detection is worth the extra $15)
- Tape measure
- Pencil
- Level (a 2-foot level works perfectly)
- Drywall saw or oscillating multi-tool
- Utility knife
- Drill/driver with bits
- Hammer
- Safety glasses and dust mask
Materials
- Recessed medicine cabinet (sized to fit between studs or with a reframing kit)
- 2×4 lumber for header and sill blocking (two pieces, each cut to fit)
- 1-5/8" or 2" drywall screws
- 1-1/2" wood screws for cabinet mounting
- Wood shims
- Construction adhesive (optional but helpful)
Choosing the Right Cabinet
Most interior wall studs are spaced 16 inches on center, which means you have roughly 14-1/2 inches of clear space between them. Standard single-door recessed cabinets are designed to fit this opening perfectly. If you want something wider—say a 30- or 36-inch triple-door model—you'll need to cut through one or two studs and add structural reframing, which is more advanced work.
For your first recessed cabinet project, stick with a model that fits between existing studs. You'll find excellent options from $80 to $250 at any home improvement store. Look for these features:
- Adjustable shelves — far more practical than fixed ones
- A mirrored door — doubles as your bathroom mirror
- A flush or semi-flush frame — sits cleanly against the wall
- At least 4 inches of depth — enough to hold medicine bottles and grooming products without cramming
Measure the cabinet's rough-in dimensions from the spec sheet before you buy. You need those numbers before you touch the wall.
Step 1: Locate the Studs and Check for Obstructions
This is the most important step in the entire project. Cutting blindly into a wall can mean hitting electrical wires, plumbing pipes, or HVAC ducts—all of which turn a simple weekend project into a serious headache.
Finding and Marking Studs
Run your stud finder slowly across the wall at the height where you want the cabinet. Most people center a medicine cabinet at about 66 inches from the floor to the cabinet's midpoint, which puts it at a comfortable eye level for most adults. Adjust up or down based on who uses the bathroom most.
Mark both edges of each stud with a pencil. You're looking for two studs that will form the left and right sides of your opening. Double-check by measuring—they should be approximately 16 inches apart, center to center.
Checking for Hidden Hazards
Use the AC wire detection mode on your stud finder to scan for electrical wiring in the area. Also check:
- Is there a light fixture or outlet nearby? Wires may run through the wall cavity you're about to open.
- Is there plumbing on the other side? Bathroom walls, especially those backing up to another bathroom or kitchen, commonly contain supply lines and drain pipes.
- Is this an exterior wall? Exterior walls contain insulation and may have cross-bracing, making recessed installation much harder. Interior walls are strongly preferred.
If you find wiring or plumbing in the cavity, either choose a different location or consult an electrician or plumber to reroute the obstruction.
Step 2: Mark and Cut the Wall Opening
With clear studs identified and no hidden surprises, it's time to mark your opening.
Marking the Opening
- Refer to your cabinet's rough-in dimensions. These will be slightly larger than the visible cabinet frame—typically 14-1/4" wide by whatever height is specified (often 24" or 30" tall).
- Using your level and tape measure, draw the outline of the rough opening on the wall. Position it so the left and right edges sit about 3/4 inch away from the inner faces of your flanking studs—this leaves room for the header and sill blocking.
- Double-check that your lines are level and plumb. A crooked opening means a crooked cabinet, and no amount of shimming will fully fix it.
Cutting the Drywall
- Score along your pencil lines with a utility knife first. This helps prevent the paper facing from tearing beyond your marks.
- Using a drywall saw or an oscillating multi-tool with a drywall blade, carefully cut along your lines. Start with a small plunge cut and work outward.
- Cut slowly and keep the blade shallow—you only need to get through 1/2 inch of drywall, and you don't want to damage anything behind it.
- Remove the drywall piece. If it comes out in chunks, that's fine. Clean up any ragged edges with your utility knife.
Once the opening is cut, shine a flashlight inside and do one final visual check for wires, pipes, or anything unexpected. Better to find a problem now than after you've started framing.
Step 3: Frame the Opening with Header and Sill Blocking
Your cabinet needs solid wood at the top and bottom of the opening to screw into. The studs handle the sides, but you need horizontal blocking—called a header and a sill—to complete the frame.
Cutting and Installing the Blocking
- Measure the exact distance between the inside faces of your two studs. Cut two pieces of 2×4 lumber to this length.
- Install the header (top block): Position the 2×4 flat (with the wide face against the drywall plane) at the top of the opening. The bottom edge of this block should align with the top of your rough opening. Drive two 2-1/2" or 3" screws through each end of the block and into the studs, angling them slightly (toe-screwing). Pre-drilling helps prevent splitting.
- Install the sill (bottom block): Repeat the process at the bottom of the opening. The top edge of this block should align with the bottom of your rough opening.
Check that both blocks are level and that the opening matches your cabinet's rough-in dimensions. You now have a solid, four-sided frame: studs on the left and right, header on top, sill on the bottom.
A Tip for Tight Spaces
If toe-screwing feels awkward in the confined opening, you can use framing brackets (also called angle brackets or corner brackets). They're a couple of dollars each and make securing the blocking much easier. Just screw the bracket to the stud first, then screw the blocking into the bracket.
Step 4: Dry-Fit and Mount the Cabinet
With the frame complete, the actual cabinet installation is surprisingly quick.
Dry-Fitting
- Slide the cabinet into the opening without any screws. Check the fit on all four sides.
- The cabinet should sit flush with the wall surface, or very slightly recessed. If it sticks out, your blocking may need to be set back slightly.
- Use your level to check that the cabinet is plumb (vertically straight) and level (horizontally straight). This is critical—if the cabinet is off-level, the door won't close properly and it'll look crooked every day.
Shimming and Securing
- If the cabinet is slightly loose in the opening, insert wood shims between the cabinet frame and the studs or blocking. Tap them in gently until the cabinet is snug and perfectly level and plumb.
- Open the cabinet door and look for the pre-drilled mounting holes inside the cabinet. Most cabinets have two to four holes on each side and sometimes holes at the top and bottom.
- Drive 1-1/2" wood screws through the mounting holes and into the studs or blocking. Start with the top screws, re-check level, then drive the bottom screws.
- Don't overtighten. You want the screws snug enough to hold the cabinet firmly, but cranking them too hard can warp a metal cabinet or crack a wooden one.
- Score any protruding shims with a utility knife and snap them off flush.
Open and close the cabinet door several times. It should swing freely and close completely without catching or gaps.
Step 5: Finishing Touches That Make It Look Professional
The difference between a DIY job that looks homemade and one that looks professional usually comes down to the last 15 minutes of work.
Sealing the Edges
If there's a small gap between the cabinet frame and the drywall, apply a thin bead of paintable latex caulk around the perimeter. Smooth it with a wet finger or caulk tool, and let it dry for 24 hours before painting. This one step makes the cabinet look like it was installed during original construction.
Touching Up the Wall
If you scuffed or nicked the wall surface during installation, now is the time to patch and repaint. Keep a small container of your bathroom wall color on hand—you'll almost always need it.
Adjusting the Shelves
Before loading the cabinet, set the adjustable shelves at heights that match what you'll actually store. A good starting layout:
- Top shelf: Infrequently used items (backup supplies, first aid kit)
- Middle shelves: Daily medications, skincare, and grooming products
- Bottom shelf: Taller items like mouthwash bottles, hair product cans
Adding Interior Lighting (Optional Upgrade)
Some higher-end recessed cabinets come with built-in LED lighting. If yours doesn't, you can add a battery-powered LED strip light inside the cabinet for about $10–$15. Peel-and-stick strips with a door-activated magnetic switch are surprisingly effective and require zero wiring.
Common Mistakes to Avoid
After helping friends and neighbors through this same project over the years, these are the pitfalls I see most often:
Skipping the Stud Finder
The "knock and listen" method is not reliable enough when you're about to cut a hole in your wall. A decent stud finder costs $20–$35. Use it.
Choosing an Exterior Wall
Exterior walls are thicker, insulated, and may have vapor barriers or structural sheathing. Recessing a cabinet into an exterior wall is doable but significantly more complicated. Choose an interior wall whenever possible.
Ignoring the Rough-In Dimensions
The rough-in dimensions and the finished cabinet dimensions are different numbers. The rough-in is what your wall opening needs to be. Cutting to the finished dimensions will leave your opening too small, and you'll waste time enlarging it.
Not Checking Level After Mounting
Always check level one more time after driving the mounting screws. Tightening screws can shift the cabinet slightly. It's much easier to loosen a screw and add a shim now than to live with a crooked cabinet.
Forgetting About the Other Side of the Wall
Before you cut, walk to the room on the other side of the wall and think about what's there. A recessed cabinet creates a bump-out on the opposite side. If that's inside a closet, no big deal. If it's in the middle of a hallway wall, you'll want to plan accordingly or choose a shallower cabinet.
Why This Project Is Worth Your Weekend
A recessed medicine cabinet costs $80–$250 for the cabinet and maybe $15–$20 in lumber and hardware. You'll save $200–$400 in installation labor, and you'll finish in 2–4 hours once you have everything on hand. More importantly, you'll gain useful storage in a room where every square inch matters, and you'll end up with that satisfying built-in look that surface-mounted cabinets can't deliver.
The skills you practice here—finding studs, cutting drywall, installing blocking, and precision mounting—transfer directly to dozens of other home improvement projects. It's a great confidence builder, and the result is something you'll use every single day.
Grab your stud finder, pick out a cabinet you love, and give your bathroom the polished, organized upgrade it deserves.
Related Articles
How to Install a Tiled Shower Niche Yourself Step by Step
Learn how to install a tiled shower niche yourself with this complete DIY guide. Save hundreds on labor and add stylish, functional storage to your shower.
How to Install a Heated Towel Rack Yourself Step by Step
Learn how to install a heated towel rack yourself with this complete DIY guide. Warm towels, less moisture, and a spa-like bathroom upgrade for under $300.
How to Install a Bidet Seat Yourself and Upgrade Your Bathroom
Learn how to install a bidet toilet seat yourself in under an hour. Step-by-step DIY guide covering tools, plumbing, electrical, and top tips for 2026.