Why a Recessed Medicine Cabinet Feels Intimidating at First
If you've ever stared at a blank bathroom wall and thought, "I want one of those built-in medicine cabinets — the kind that sits flush and looks like it was always there" — you're not alone. Recessed medicine cabinet installation is one of those home improvement projects that looks far more complicated than it actually is. The finished product always looks like something a contractor spent days on, but in reality, a careful DIYer can complete the whole job in a weekend, often in just a few hours.
The anxiety usually comes from one thing: cutting a hole in the wall. That's a permanent decision, and it understandably makes people hesitate. But with the right preparation, the right tools, and an honest understanding of what you'll encounter inside that wall, this project is completely approachable. In this guide, I'll walk you through every stage of a recessed medicine cabinet installation — from planning and wall prep all the way to final mounting — so you know exactly what normal looks like, and what should make you stop and reassess.

Understanding What "Recessed" Actually Means for Your Wall
A recessed medicine cabinet is installed inside the wall cavity rather than mounted flat on its surface. That's the key distinction. The cabinet sits between the wall studs, recessing anywhere from 3.5 to 4 inches into the wall — which is exactly the standard depth of a 2×4 stud bay. That flush, built-in appearance you love is simply the cabinet taking advantage of space that was already sitting empty inside your wall.
This is also why the first question you need to answer isn't "which cabinet should I buy?" — it's "what's inside my wall?" The answer to that question determines everything about how your installation will go.
The Three Wall Scenarios You'll Encounter
When you start your recessed medicine cabinet installation, you'll run into one of three basic wall situations. Knowing which one you're dealing with before you cut anything will save you a significant amount of frustration.
Scenario 1 — Standard drywall over wood studs: This is the ideal situation. The wall cavity between studs is clear, dry, and deep enough to accept a standard cabinet. Most interior bathroom walls above tile height are built this way, and this is where recessed installation is easiest.
Scenario 2 — An exterior wall: Exterior walls are typically insulated, and in many cases they contain vapor barriers and even structural elements. Installing a recessed cabinet in an exterior wall isn't impossible, but it significantly complicates the job. You'll need to deal with insulation removal and vapor barrier repair. Many professional installers recommend avoiding exterior walls entirely for this type of project unless you're very comfortable with wall construction.
Scenario 3 — A wall shared with plumbing or electrical: Pipes and wires are the two obstacles that can turn a straightforward project into a serious detour. More on how to detect these in just a moment.
Tools and Materials You'll Actually Need
There's a temptation to over-prepare for projects like this, but you really don't need a contractor's arsenal. Here's what I consider the practical minimum for a standard recessed medicine cabinet installation:
- Stud finder — an electronic model is worth the $20 investment. Manual magnetic finders can work but are less reliable in thick or tiled areas.
- Pencil and painter's tape — for marking your cut lines clearly on the wall.
- Drywall saw or oscillating multi-tool — a drywall saw (jab saw) is cheap and works well. An oscillating tool gives you more control and is easier to keep at a consistent depth.
- Utility knife and straightedge — useful for scoring before you saw, especially in tiled areas above the opening.
- Level — non-negotiable. A cabinet even slightly off-level will be obvious every single time you open it.
- Drill and drill bits — for pilot holes and driving screws.
- Shims — a small pack of cedar shims handles any unevenness in the wall cavity.
- Joint compound and mesh tape — for patching if you need to make adjustments to your opening.
Step 1: Finding Your Studs and Mapping the Wall Cavity
Before any measuring or marking, spend time finding and marking your studs accurately. Run your stud finder slowly along the wall in horizontal passes, marking both edges of each stud with a pencil. This gives you the true face width of each stud, which in a standard 2×4 wall is about 1.5 inches. The cavity between studs — your working space — is typically 14.5 inches wide in walls built to 16-inch on-center spacing.
Now measure that cavity against your cabinet's width. Most standard recessed medicine cabinets are designed to fit within a single stud bay (around 14 to 16 inches wide) or require you to cut one stud and add a header and sill plate (for wider cabinets, often 24 inches and up). Make sure you know which category your chosen cabinet falls into before you commit to a location.
The "knock and listen" test: Before using the stud finder, knock along the wall and listen for changes in tone. Hollow sounds indicate a clear cavity; a denser thud may indicate a fire block, plumbing, or unexpected framing. This low-tech check takes 30 seconds and often surfaces surprises before you cut.
Checking for Plumbing and Electrical
This is the step most first-timers skip, and it's the most consequential one. There are a few practical ways to check what's inside the wall before you cut:
First, look at your floor plan context. Bathroom plumbing typically runs inside the wall directly behind the sink or toilet. If your planned cabinet location is several feet away from the sink, you're likely in the clear — but don't assume. Second, drill a small exploratory hole (about 1/4 inch) inside your planned opening area and use a flexible crevice tool or a piece of bent wire to feel around. Third, consider using an inexpensive inspection camera — a borescope that connects to your phone costs under $30 and lets you actually see inside the wall cavity before you commit to cutting.
If you find wires or pipes in your target location, don't panic. It just means you shift your planned cabinet position horizontally until you find a clean bay. This is a normal part of the planning process, not a project-ending obstacle.
Step 2: Marking and Cutting the Opening
Once you've confirmed a clean stud bay and verified there are no hidden obstacles, you're ready to mark your rough opening. Transfer the cabinet's rough opening dimensions (found in the installation manual) directly onto the wall. Use a level to draw horizontal lines and a straightedge for your verticals. Double-check your measurements before you cut — I like to measure twice, then measure a third time on the diagonal to confirm the opening is square.
Cutting the drywall is the moment that feels most permanent, but take it slowly and it goes smoothly. For drywall, score along your lines with a utility knife first, then use your drywall saw to cut. Sawing at a 90-degree angle to the wall surface keeps the cut clean. Take your time at the corners — that's where most ragged edges appear.
If your cabinet requires cutting through a stud (common for wider cabinets), you'll need to install a structural header above the opening and a sill plate below it before mounting the cabinet. This involves cutting the stud, installing the horizontal framing members, and potentially adding sister studs on each side. It's more work, but not beyond a confident DIYer — just be honest with yourself about whether the scope feels right for your skill level before you start cutting.

Step 3: Fitting and Securing the Cabinet
Slide the cabinet into the opening. In a clean, standard installation, it should fit snugly with minor gaps between the cabinet flanges and the drywall surface. This is completely normal — you'll cover those gaps with the cabinet's trim or flange once everything is level and secured.
Use your level on both the horizontal and vertical planes before driving a single screw. Shim as needed. On most cabinets, shimming happens between the cabinet's frame and the side studs. Once the cabinet reads level on all planes, use your drill to drive screws through the cabinet's mounting points and into the studs. Follow the manufacturer's torque recommendations if provided — overtightening can warp the cabinet frame and cause doors to hang improperly.
For a cabinet like the TokeShimi 40 x 32 Bathroom Mirror Cabinet, which features a larger profile at 40 by 32 inches, careful shimming and multi-point anchoring into the framing is especially important given the cabinet's size and mirror weight. Always anchor into solid framing — never rely on drywall anchors alone for a cabinet of this scale.
Step 4: Patching, Finishing, and Touching Up
Once the cabinet is secure, the finishing work is what separates a professional-looking result from a DIY-looking one. Apply a bead of paintable caulk along the seam where the cabinet flange meets the wall surface. Smooth it with a wet finger or a caulk tool, and don't rush this step — clean caulk lines are what your eye will notice every morning.
If you have any gaps in the drywall that the flange doesn't cover, patch them with joint compound and mesh tape. Let it dry fully (24 hours minimum), sand smooth, prime, and repaint to match the wall. In a bathroom, using a moisture-resistant paint for this touch-up is a smart extra step that extends how long your repair looks fresh.
Warning Signs That Mean You Should Stop and Reassess
A recessed medicine cabinet installation goes smoothly in most standard situations, but there are a handful of warning signs that mean it's time to pause rather than push forward.
You find black or dark brown discoloration on the drywall inside the cut area. This can indicate a moisture problem — potentially a slow leak from a nearby pipe. Installing a cabinet over active moisture damage traps the problem behind a wall, where it will continue to worsen. Address the moisture source first.
The stud spacing is irregular. In very old homes, studs may be spaced at 24 inches rather than 16 inches, or they may be irregular due to past renovations. This doesn't necessarily stop the project, but it does change your framing plan — take time to remap before cutting.
The wall is thicker or thinner than expected. Walls with multiple drywall layers (common in remodels), or walls with tile extending higher than you anticipated, may not accommodate the standard cabinet depth. Check your wall thickness against the cabinet depth requirement before cutting.
You see or smell wiring insulation when you drill your exploratory hole. A faint electrical smell or visible wire insulation means electrical is present. Mark the breaker off for that circuit and consult an electrician before continuing.
Water drips from your exploratory hole. Obviously, stop immediately and locate the source. A plumber's inspection before you continue is the right call.
Making the Most of the Finished Space
Once your cabinet is installed, it's worth thinking about how the whole bathroom wall works together. A recessed medicine cabinet naturally draws the eye as a focal point, and the surrounding wall space suddenly feels more intentional. A well-placed towel bar at the right height nearby can tie the look together and add functional vertical balance to the space — something worth considering as a finishing touch once your installation is complete.
Recessed Medicine Cabinet Installation Checklist
- Map your studs — mark both edges of every stud in the target area.
- Verify the wall type — confirm it's an interior wall with standard 2×4 framing if possible.
- Check for plumbing and electrical — drill a small exploratory hole and use a borescope or bent wire before cutting.
- Confirm cabinet dimensions vs. stud bay width — know whether you need to cut a stud before you start.
- Mark the rough opening — use a level, check all four corners, verify diagonal measurements for squareness.
- Cut slowly and deliberately — score first, cut at 90 degrees, take care at corners.
- Install framing if needed — header and sill plate for openings wider than one stud bay.
- Test-fit before securing — slide in the cabinet, check level on all planes, shim as needed.
- Drive screws into solid framing — follow manufacturer specs, never rely on drywall anchors alone.
- Caulk, patch, prime, and paint — finish seams cleanly and use moisture-resistant paint in the bathroom.
Recessed medicine cabinet installation is genuinely one of the most rewarding bathroom DIY projects you can tackle. The result looks custom, the process is logical, and the storage gain is immediate. Go into it informed, take your time at the planning stages, and you'll spend a lot more time admiring the finished result than you spent worrying about it.




