How to Install a Recessed Bathroom Medicine Cabinet

Medicine cabinets turn wasted wall depth into valuable storage, acting as both a mirror and a hidden vanity organizer. While wall-mounted units are simple, a recessed installation provides a clean, custom look that makes the room feel larger while keeping your daily essentials at eye level. Success in this project hinges on knowing exactly what lies behind your drywall. By mapping your studs and checking for plumbing or electrical lines before you commit to the first cut, you ensure this job stays a quick upgrade rather than an unplanned renovation. When done right, the cabinet sits flush, looks built-in, and operates without a rattle.

  1. Map the Wall First. Use a stud finder to locate the two studs flanking your intended site. Mark the center of these studs and the desired height on the wall, then use a level to draw a perimeter line based on the cabinet manufacturer's required rough opening dimensions.
  2. Cut with Caution. Using a drywall saw, carefully cut along your marked lines. If you hit resistance, stop immediately and investigate before pushing the blade deeper, as this indicates a hidden obstruction like a pipe or fire block.
  3. Build the Frame. Measure the distance between the two studs. Cut pieces of 2x4 lumber to fit horizontally between the studs at the top and bottom of your opening, securing them with 3-inch wood screws through the existing studs.
  4. Check Alignment Now. Insert the cabinet housing into the opening to check for a plumb fit. Use a level on the side of the cabinet box; if it is not level, shim the bottom frame member until the unit sits perfectly vertical.
  5. Fasten Methodically. Drive the manufacturer-provided mounting screws through the pre-drilled holes in the cabinet side walls into the wood framing. Do not overtighten, as this can rack the frame and cause the door to bind or refuse to close.
  6. Seal and Polish. Install the interior shelves and the door according to the manual. Apply a thin bead of white silicone caulk around the perimeter where the cabinet flange meets the drywall to create a moisture-proof seal.