To measure for a medicine cabinet replacement, record the width, height, and depth of the opening or existing unit, then check door swing and fixture clearances.
For the full breakdown, see our best 14 x 24 Medicine Cabinet guide.
Replacing a bathroom medicine cabinet looks simple until the new unit arrives and doesn’t fit. One wrong measurement leads to a return trip and a hole in your wall. Measure the wall opening, not the trim, and always verify whether your current cabinet is recessed or surface-mounted before you start shopping.
Surface-Mount Or Recessed: Why It Changes Everything
The mounting style determines what you actually measure. A recessed cabinet sits inside the wall cavity, so you measure the rough opening—the bare hole in the drywall. A surface-mount cabinet attaches to the wall’s exterior, so you measure the outer edges of the current unit instead.
For recessed cabinets, wall depth matters most. Standard 2×4 walls provide about 3.5 inches of usable cavity depth, but plumbing, wiring, or studs can shrink that space. Shine a flashlight inside the opening and look for obstructions before you commit to a replacement. If the cavity is tight or blocked, a surface-mount unit becomes the safer choice.
Identify your type first because the two styles involve completely different measurements—and different installation work.
What To Measure: Width, Height, And Depth
Grab a tape measure and record these three numbers for either mounting style:
- Width — measure the left-to-right span of the opening or cabinet
- Height — measure the top-to-bottom span
- Depth — measure how far the unit extends into or out from the wall
Do not assume the old cabinet’s outside dimensions match the rough opening. The trim can be wider than the hole behind it, so measure the opening itself for recessed units. For surface-mount, measure the widest points of the existing cabinet body.
Compare your recorded numbers against the new cabinet’s listed dimensions before purchasing. A unit that looks similar can differ by half an inch—enough to ruin the fit.
Clearances And Door Swing: The Measurements People Skip
Width and height alone won’t prevent a bad install. Door swing and fixture clearances cause most fit failures. A cabinet door that opens into a wall, light fixture, or faucet becomes a daily annoyance.
Door swing: Open the cabinet door fully and confirm it clears adjoining walls, mirrors, lights, and nearby cabinets. For surface-mount units, ensure doors can open completely without hitting anything and that the cabinet doesn’t project too far into the room.
Fixture clearance: This gap prevents the cabinet from crowding the fixtures and keeps the space usable.
Height placement: This puts the mirror at eye level for most adults. For larger vanities, consider two smaller cabinets instead of one oversized unit—it balances the wall and avoids an awkwardly wide single piece.
Vanity alignment: Cabinet width should match or sit slightly narrower than the vanity below. A cabinet wider than the vanity looks top-heavy and unbalanced.
When you have your measurements, browsing options becomes far easier.
Confirming The Wall Cavity Before You Buy
Recessed cabinets depend entirely on wall construction. The 3.5-inch depth of a standard 2×4 wall works for most units, but verify before ordering. Check for plumbing pipes, electrical wiring, or studs inside the opening that could block the cabinet.
| Measure | What To Check | Typical Range |
|---|---|---|
| Width | Rough opening or outer cabinet edges | 14–16″ single; 24–30″ double |
| Height | Opening top to bottom | 24–40 inches |
| Depth | Wall cavity or unit projection | 3–6″; 3.5″ for 2×4 walls |
Review the new cabinet’s installation instructions and load-support specifications before committing. Some models require additional framing or anchoring, especially for heavier units. If the wall cavity shows obstructions, consult a professional rather than forcing a recessed fit.
References & Sources
- Lowe’s. “Medicine Cabinet Buying Guide.” Covers standard sizes, mounting styles, and measurement considerations.
- The Home Depot. “Best Medicine Cabinets for Your Bathroom.” Details on dimensions, styles, and selection criteria.
- The Home Depot. “How To Install a Medicine Cabinet.” Installation guidance including rough opening and clearance checks.

