A medicine cabinet rough opening is the framed cavity behind the finished wall that a recessed cabinet slides into, and its usable width and height must match the cabinet's rough opening specification. Measure the width at three heights and the height at three widths, use the smallest readings, and check level, plumb, and square before you order. The finished opening you see is not the dimension that controls the fit: the framing behind the tile and drywall is.
Recessed medicine cabinets are ordered to the rough opening, so a cabinet that is a quarter inch too wide for the cavity becomes a framing job instead of an install. This guide covers the tools, the measurement sequence, and the checks that tell you whether the opening is ready for a cabinet or needs adjustment first.
What a Rough Opening Is and Why Its Width Counts
The rough opening is the framed cavity between wall studs, usually finished with drywall or tile at the front edges. A recessed cabinet is designed to fit into this cavity, and the cabinet manufacturer states the rough opening it needs, typically as a width and height plus the depth of the wall cavity behind it. The finished opening you measure through the drywall is only the visible part; the cabinet must fit the narrower and less regular cavity behind it.
The width is the dimension that causes the most returns because cavities are rarely exactly the same at the top, middle, and bottom. Studs bow, drywall thickens at seams, and tile can reduce the opening by a fraction of an inch. The cabinet is sized to the tightest usable width, so the measurement job is finding the smallest reliable value, not the average.
Tools and Measurements to Collect Before You Order
- Tape measure: for width, height, and depth readings at multiple points.
- Level: a 4-foot level or a shorter level on a straight edge to check the opening and the cabinet zone.
- Combination square or framing square: to check that the opening corners are square.
- Stud finder: to confirm the stud positions at both sides of the opening before you plan any adjustment.
- The cabinet's rough opening specification: the width, height, and depth the manufacturer requires, taken from the product page or installation sheet.
Also record what is behind the wall before ordering: pipes, electrical cable, vent ducts, or blocking inside the cavity can make a correctly sized opening unusable. A stud finder with a deep scan or a small inspection hole at the top or bottom of the planned opening reveals obstructions that a tape measure cannot.
Step-by-Step: Measuring Width, Height, and Depth
- Measure the width at three heights.Ā Take readings near the top, at the middle, and near the bottom of the finished opening, from the face of one side to the face of the other. Record all three and circle the smallest, because the cabinet must pass through the narrowest point.
- Measure the height at three widths.Ā Take readings near the left side, the center, and the right side, from the top of the opening to the bottom support. Use the smallest height the same way.
- Measure the depth at both sides and the center.Ā From the front face of the framing back to the wall behind the cavity, take at least three readings. The shallowest point sets the depth limit for the cabinet body.
- Check level at the sill and plumb at both sides.Ā A cabinet can fit an opening that is slightly out of level only within the adjustment range of the product; a large slope means the opening needs work before the cabinet goes in.
- Check square at all four corners.Ā Compare the diagonals or use a square at each corner. An opening that is out of square shows as a gap at the finished trim even when the cabinet fits the width.
Write the smallest width and height next to the cabinet's required rough opening. If the smallest readings meet or exceed the specification, the cabinet fits the cavity; if they fall short, the opening must be enlarged or the cabinet changed before you order.
Compatibility Limits: When the Opening Needs Adjustment
An opening that is too small can often be enlarged when the framing allows it, but not every wall is adjustable. Enlarging the width means moving or cutting a stud, which is structural work that must be planned around the wall's load and the local framing rules; do not assume a stud can simply be cut. Enlarging the height usually means cutting the top or bottom plate or modifying the sill, which has the same structural caution.
The opening can also be unusable without being too small: a pipe, electrical cable, or vent running through the cavity, blocking behind the center, or a stud sitting inside the planned width all prevent a recessed install. When the cavity is blocked, the practical options are relocating the cabinet on the wall, choosing a surface-mount cabinet, or moving the obstruction with qualified help. The same rule applies to load-bearing walls and exterior walls: confirm what the wall carries before planning any cavity change.
Drywall and tile thickness are part of the fit. A cabinet designed to sit flush with the finished wall is sized to a range of finish thicknesses, so measure the finish build-out at the opening edges and compare it with the cabinet's specification before assuming a flush result.
Measuring Mistakes That Create a Misfit Cabinet
- Measuring the finished opening only once, at the center, and missing a narrower point at the top or bottom.
- Treating the visible drywall opening as the full rough opening when the framing behind it is narrower.
- Ignoring level and plumb, then finding the cabinet tilts or leaves a wedge-shaped gap around the trim.
- Ordering to the average width instead of the smallest usable width.
- Forgetting to subtract the finish build-out, so the cabinet sits too deep or too proud of the tile.
- Assuming the cavity is empty, then discovering a pipe or cable where the cabinet body must go.
Every one of these mistakes shows up at installation, when the cabinet is delivered and the wall is already cut. A measurement sheet that records the three widths, three heights, depth readings, and the level and plumb results catches them before the order is placed.
Final Verification Before You Order the Cabinet
- Smallest width and height recorded and compared with the cabinet's rough opening specification.
- Depth checked at both sides and the center against the cabinet body depth.
- Level, plumb, and square verified, with the adjustment range of the product in mind.
- Cavity checked for pipes, cables, vents, blocking, or studs inside the planned opening.
- Wall type and finish build-out confirmed so the cabinet will sit at the intended depth.
When the tightest readings clear the specification and the cavity is empty and square, the opening is ready for a recessed cabinet. For the full comparison of recessed and surface-mount mounting, see theĀ complete mounting method guide.
Frequently Asked Questions
Should I measure the rough opening or the finished opening?
Measure both. The rough opening behind the finish is what the cabinet fits into, while the finished opening tells you how much trim and build-out will surround it. Compare the cabinet's specification with the rough opening values first.
What if the opening is slightly smaller than the cabinet specification?
Do not force the cabinet in. Check whether the narrow point is caused by a stud, drywall seam, or tile, and only enlarge the opening when the framing allows it. A slightly too-small cavity can also be solved by choosing a cabinet with a smaller rough opening requirement.
Can the opening be enlarged by cutting a stud?
Only when the wall structure allows it, which depends on whether the stud carries load. Cutting or moving a stud is structural framing work that should be planned and executed according to local building rules, not treated as a trim adjustment.
How much depth does a recessed cabinet need?
The cabinet specification states its body depth and required cavity depth. Measure the shallowest point of the cavity and compare it with that requirement; a standard stud-wall cavity is often around 3.5 inches deep inside the framing, but the actual cavity and the product requirement are the two numbers that control the fit.
What should I do if a pipe or cable runs through the opening?
Choose another wall position, move the cabinet, or switch to a surface-mount model. Moving a pipe or cable is work for a qualified tradesperson; do not recess a cabinet around an obstruction and assume the cavity is usable.
Record the tightest width and height, confirm the cavity is empty and deep enough, and compare everything with the cabinet's specification before ordering. Begin with theĀ Shop Bathroom Mirrors and CabinetsĀ collection once the opening numbers are on paper.


