
Affiliate Disclosure
Some links on this page are affiliate links. As an Amazon Associate, we earn from qualifying purchases — at no extra cost to you. We do not buy, test, or physically handle the products we cover; our rankings come from aggregated owner reviews, ratings and expert consensus. Commissions never change our verdicts. How we rank · full disclosure.
Installing a surface-mount medicine cabinet is a beginner job of under an hour; a recessed cabinet is a moderate half-day project because you cut into the wall. Cabinets run $40 to $250. The surface version just screws to studs. The recessed version is DIY-friendly on an interior wall provided you first confirm the stud bay is free of wiring and plumbing, which is the one real hazard. Cutting into a live cable or a water line is what turns this into an emergency, so probe before you cut, and shift to a clear bay or surface-mount if the cavity is occupied.
Step-by-step: recessed and surface-mount
- Choose the type and location. Pick recessed for a flush look on a clear interior wall, or surface-mount for an exterior or plumbing-filled wall. Decide the height so the mirror lands at eye level, roughly 52 to 56 inches to the bottom edge.
- Find studs and check the cavity. Locate the studs. For a recessed install, use a live-wire-detecting stud finder and cut a small inspection hole to confirm the bay is clear of cables and pipes.
- Surface-mount path: hold the cabinet at your marked height, level it, and screw through the back into at least two studs. Done.
- Recessed path — mark the opening. Center the cabinet's rough-opening dimensions in a clear stud bay and mark a level, square outline on the drywall.
- Cut the drywall. Cut the opening with a drywall saw, staying to your lines. Most cabinets fit a single 16-inch-on-center bay without cutting studs.
- Dry-fit and shim. Slide the cabinet in. Shim behind the mounting flanges until it is plumb and level in both directions and sits flush to the wall face.
- Screw it to the studs. Drive screws through the side flanges into the flanking studs, checking level again as you go so you do not rack it.
- Finish and adjust. Fill any drywall gap at the edges if needed, hang the door and shelves, and adjust the hinges so the door closes flush.

Tools and materials
You need a stud finder with live-wire detection, a level, a drywall saw, a drill/driver, shims, and mounting screws. For a recessed install on a wider-than-a-bay cabinet you would also need framing tools to header a stud, which raises the difficulty. A medicine cabinet is often installed alongside a mirror and vanity-light refresh, so it commonly runs with the other jobs in this hub; see our vanity light guide for the companion step, and pairing storage upgrades with better ventilation keeps the mirror from fogging and de-silvering.

Cutting into walls safely
The one real hazard is what hides in the wall. Before cutting for a recessed cabinet, use a live-wire-detecting stud finder and cut a small look-hole to confirm the bay is free of electrical cable, water supply lines and drain pipes, all of which are common in a wall above a vanity. If you find any, move the cabinet to a clear bay or switch to surface-mount. Do not cut studs to widen an opening unless you are prepared to frame a proper header, which is structural work. On an exterior wall, recessing disturbs insulation and the vapor barrier; a surface-mount cabinet is the safer choice there. If you are unsure what is behind the wall, have a pro assess it.
We never buy, test or physically handle the products we rank. Recommendations come from aggregated owner reviews, star ratings, review volume and expert consensus — see how we rank.
More from this hub: Bathroom · Replacing a bathroom mirror · Installing a vanity light · Installing a bathroom vanity · Best shower heads · How we rank