Medicine Cabinets: Recessed vs Surface Mount and Wall Checks
Few bathroom fixtures get less attention than the medicine cabinet, yet it sits at the intersection of several things that matter: the wall framing, the plumbing and wiring hidden in that wall, the humidity of the room and the safety of everything stored inside it. Swapping an old mirrored box for a new one looks like a simple afternoon project. Sometimes it is. Other times the cut for a recessed cabinet lands on a vent stack, a cable or a fire-rated wall, and a simple upgrade turns into a repair. This guide explains how recessed and surface-mount cabinets differ, what is commonly found in a bathroom stud bay, how lighted and powered cabinets are wired, how moisture and mold show up around cabinets, how to store medications more safely and what installation typically costs. It is general information for homeowners and buyers, not a substitute for a licensed contractor’s assessment of a specific wall.
Part of our Structure & Exterior guide — start there for the full picture →
Recessed vs Surface-Mount Medicine Cabinets
A medicine cabinet comes in two basic forms. A recessed cabinet sits inside the wall cavity, so only the door and a narrow frame project into the room. A surface-mount cabinet hangs on the face of the wall like any other wall cabinet. Many products are sold as “recessed or surface mount,” with an optional trim kit or side panels for surface installation.
The practical differences come down to depth, wall work and flexibility:
- Projection. A recessed cabinet keeps the face of the mirror closer to the wall, which helps in narrow bathrooms and over pedestal sinks where a deep box would crowd the user’s head.
- Interior depth. Standard wood-stud walls built with 2×4 framing leave a cavity roughly 3.5 inches deep. Recessed cabinets are designed around that limit. Surface-mount cabinets are not constrained by the wall and can be deeper, though they protrude more.
- Wall work. Recessing requires cutting drywall or plaster and often modifying framing. Surface mounting usually needs only secure anchoring into studs.
- Reversibility. A surface-mount cabinet can come off with a patch-and-paint repair. Removing a recessed cabinet leaves an opening that has to be framed and closed.
Some buyers choose a hybrid: a cabinet that is partially recessed, with the body set into the wall and a portion projecting beyond the finished surface.
Sizing against the vanity and fixtures
Width usually follows the vanity or sink below. A cabinet that is slightly narrower than the vanity tends to look intentional, while one wider than the vanity can look top-heavy. Height is constrained by the faucet, the backsplash, the light fixture above or beside the mirror and the ceiling. Door swing matters too. A door that hits a nearby vanity light, a shower curtain rod or an adjacent wall can be frustrating every day. For coordinated planning of the sink side of the room, the guide to vanity installation covers heights, supply lines and drain alignment.
What Is Inside the Wall Behind a Medicine Cabinet
A bathroom wall is rarely empty. The wall directly behind a sink is a common route for exactly the things that make recessing a cabinet difficult. Before anyone cuts into it, it helps to know what may be there.
Plumbing drains and vents
The sink’s drain connects to a drain line that typically runs down through the floor or horizontally through the wall, and plumbing vents usually rise vertically through the wall above the fixture to connect with the vent system. That vertical vent is often in the same stud bay a homeowner would want to use for a recessed cabinet. Supply lines for the sink can also run up through the wall from below. A vent pipe cannot simply be cut and capped. Rerouting it is plumbing work that may require a permit and a plumber’s judgment.
Electrical wiring
Cables feeding the vanity light, the receptacle near the sink and sometimes an exhaust fan or an adjacent room may run horizontally through the studs at mirror height or vertically through the bay. A cable cut during demolition is a real shock and fire hazard, and a cable that is simply pushed aside can end up pinched behind the cabinet box. Electrical work around bathroom circuits is best handled by a licensed electrician, especially where splices are involved.
Framing and load paths
Many recessed cabinets are sized to fit between studs set about 16 inches on center, which leaves a rough opening a little over 14 inches wide. Larger cabinets require cutting a stud and adding a header and side framing. On an interior non-bearing partition this is usually straightforward carpentry. On a load-bearing wall it is a structural change that warrants professional evaluation.
Exterior walls and fire-rated assemblies
Two wall types deserve extra caution. On an exterior wall, recessing a cabinet removes insulation and may disturb the vapor control layer, which can create a cold spot where condensation forms behind the cabinet. In Front Range winters that cold spot can be quite cold. Many builders avoid recessing into exterior walls for that reason, and some local requirements may limit it. A fire-rated wall, such as a wall separating a townhome or condominium unit from its neighbor, or a wall between an attached garage and living space, is a different matter. Penetrating a rated assembly with a cabinet box may compromise its fire separation unless the work follows a listed detail. In attached housing, the HOA or building department may need to approve the work. When in doubt, a surface-mount cabinet on those walls avoids the question entirely.
How to check before cutting
Homeowners can narrow the uncertainty before demolition. A stud finder with an AC-detection mode can flag some live wiring. Looking at the floor below, in a basement or crawl space, often reveals where drains and supplies rise. Looking in the attic above can reveal where a vent exits. A small inspection hole cut in the center of the planned opening, large enough for a flashlight and mirror, shows what is in the bay before the full cut. If any of those checks turn up a pipe or cable, a surface-mount cabinet or a different location is usually simpler than rerouting.
Lighted, Powered and Mirrored Cabinets
Many newer cabinets include integrated LED lighting, defoggers, interior outlets, USB charging ports or even interior lighting that switches on when the door opens. These features are convenient, but they change the job from carpentry to electrical work.
Powered cabinets are typically either plug-in (a cord connects to a nearby receptacle) or hardwired (the cabinet connects to a branch circuit inside an electrical box). Hardwired cabinets require a power source in the right place, a proper box or the manufacturer’s wiring compartment, and connections that are accessible according to the installation instructions. Splices buried in a wall with no box are a common defect. The guide to junction boxes explains why splices need an enclosure and where those boxes have to remain accessible.
Several additional points apply to lighted and powered cabinets:
- Listing and ratings. Look for a cabinet that is listed by a recognized testing laboratory and suitable for the damp conditions of a bathroom. The manufacturer’s instructions should state the rating and the installation requirements.
- Circuit protection. Bathroom receptacles are generally required to have ground-fault protection, and cabinets with built-in outlets typically need to be fed from a protected circuit. If an outlet near the vanity has stopped working, the guide to a GFCI outlet not working walks through common causes.
- Switching. Integrated lights may have their own touch switch, a wall switch, or both. Decide how the lights should be controlled before the wall is closed.
- Replacing an existing light. Some homeowners replace a separate vanity light with a lighted cabinet. If so, the existing box above the mirror may need to be relocated, covered with a blank cover or used per the cabinet’s instructions. A box should not simply be buried behind the cabinet.
A mirrored door is also a piece of glass in a room with wet hands and hard surfaces. Most reputable cabinets use mirror glass with protective backing, but cracked or delaminating mirrors, failing hinges and doors that drop out of alignment are common findings in older homes.
Bathroom Moisture, Mold and Medicine Cabinets
A bathroom produces a large amount of water vapor every time someone showers. That moisture condenses on the coolest surfaces available, including the mirror, the cabinet interior and, in some cases, the inside of the wall cavity behind a recessed cabinet. The EPA’s guidance on mold describes moisture control as the key to mold control, and it notes that mold may be hidden in places such as the back side of drywall, wallpaper or paneling.
The same EPA guide offers practical humidity targets: keep indoor relative humidity below 60 percent, ideally between 30 and 50 percent, and run the bathroom fan or open a window while showering. It also notes that places that are often damp can be hard to keep completely free of mold, and that increasing ventilation and cleaning more frequently will usually keep recurring bathroom mold to a minimum.
Signs that a medicine cabinet area has a moisture problem include:
- Peeling paint or bubbled drywall around the cabinet frame.
- Rust on the cabinet body, shelves or hinges.
- Black spotting on the wall behind a surface-mount cabinet or along the caulk line.
- Desilvering at the edges of the mirror, where moisture attacks the reflective coating.
- A musty odor when the cabinet is opened.
Most of these symptoms point back to ventilation. A bathroom exhaust fan that is undersized, noisy enough that nobody runs it, or vented into the attic rather than outdoors leaves moisture in the room. The guide to bathroom exhaust fans covers sizing, ducting and controls. Where visible growth is already present, the guide to black mold in bathrooms explains cleanup and when to bring in help. Colorado’s generally dry climate helps bathrooms dry out between uses, but it does not prevent moisture from accumulating in a poorly ventilated room or inside an exterior wall.
When a recessed cabinet is removed during a remodel, the opening offers a rare look inside the wall. It is worth checking the framing, the back of the drywall and any insulation for staining, mold or past leaks before installing the new cabinet.
Medication Storage and Child Safety
The name of the fixture suggests what goes inside it, and that raises a safety question. A bathroom cabinet is often the most convenient place in the house for a child to reach by climbing onto the counter. The U.S. Consumer Product Safety Commission recommends keeping medications stored in a locked cabinet or box and out of the reach of children, keeping medicines in their original child-resistant containers and properly discarding unfinished or unused medicines.
The CDC’s medication safety guidance adds a simple habit: always check that the cap on a medicine bottle is locked, then put the medicine back in a safe storage location that young children cannot reach or see. The CDC also suggests turning on a light when taking medicines so the label is not misread, which is a small argument for good lighting at the mirror.
A standard medicine cabinet does not lock. Options for households with young children or visitors include:
- Cabinets sold with an integrated lock or a locking interior compartment.
- Aftermarket cabinet locks, including magnetic locks that mount inside the door.
- A separate lockbox for prescription medications, stored in a closet or higher cabinet.
- Keeping only non-hazardous items, such as cotton swabs or toothpaste, in the bathroom cabinet.
Bathroom heat and humidity are also not ideal for many medications. Product labels commonly say to store medicine in a cool, dry place, and a cabinet above a steamy sink may not qualify. A pharmacist can advise on storage for specific prescriptions.
What Home Inspectors Look At
A standard home inspection is visual and limited to readily accessible components. The ASHI Standard of Practice includes countertops and a representative number of installed cabinets in the interiors section, a representative number of lighting fixtures, switches and receptacles, ground-fault circuit interrupters in the electrical section, and bathroom exhaust systems under insulation and ventilation. It also states that inspectors are not required to identify concealed conditions or to determine the presence of mold.
In practice, an inspector looking at a medicine cabinet and the area around it may note:
- A cabinet that is loose, poorly anchored or pulling away from the wall.
- Broken, cracked or desilvered mirrors and doors that do not close.
- Integrated lights or outlets that do not work, or a lack of ground-fault protection at nearby receptacles.
- Moisture staining, peeling paint or apparent microbial growth.
- A missing, inoperable or improperly vented bathroom exhaust fan.
An inspector will not remove a recessed cabinet to look into the wall. If moisture damage or wiring defects are suspected, the report may recommend further evaluation by a contractor or electrician. More detail on how inspectors approach structural and interior components is in the structure and exterior inspection hub, and the broader guide to hiring a home inspector explains what a typical inspection covers.
Medicine Cabinet Installation Costs
Costs vary widely by product, wall conditions and local labor rates. The ranges below are general 2026 estimates for planning, not quotes, and Front Range prices can differ from national figures.
- Cabinet only. Basic single-door mirrored cabinets often cost under a couple hundred dollars. Mid-range cabinets with better hinges, adjustable glass shelves and multiple doors commonly run a few hundred dollars. Lighted cabinets with defoggers, integrated outlets and premium finishes can cost well over a thousand dollars.
- Surface-mount installation. Typically a modest labor charge, often comparable to hanging a heavy mirror or shelf, assuming the studs are in convenient locations.
- Like-for-like recessed replacement. Replacing a recessed cabinet with one that fits the same opening is often a relatively small job.
- New recessed opening. Cutting a new opening, adding framing and finishing drywall raises labor costs, often into the several-hundred-dollar range or more before finishing.
- Electrical work. Hardwiring a lighted cabinet, adding a box or bringing ground-fault protection to the circuit adds electrician time, and permits may apply.
- Surprises in the wall. Relocating a vent, rerouting a cable or repairing moisture-damaged framing can cost more than the cabinet itself.
When a cabinet is part of a larger bathroom project, it usually represents a small share of the budget. The guide to bathroom remodel costs places fixtures, tile, ventilation and electrical upgrades in context.
Choosing a cabinet that lasts
For durability, look for corrosion-resistant bodies (aluminum or coated steel rather than raw particleboard), soft-close or quality hinges, adjustable shelves and mirror glass with a protective back coating. Check the cabinet’s rough-opening dimensions against the actual wall before buying a recessed unit, and confirm whether a powered model is plug-in or hardwired.
References
- A Brief Guide to Mold, Moisture and Your Home — U.S. Environmental Protection Agency
- Poison Prevention — U.S. Consumer Product Safety Commission
- Medication Safety and Your Health — Centers for Disease Control and Prevention
- ASHI Standard of Practice — American Society of Home Inspectors
Frequently asked questions
Can any medicine cabinet be recessed into the wall?
Only if the wall cavity is deep enough and the stud bay is free of pipes, vents and wiring. Standard 2x4 walls leave roughly 3.5 inches of depth. Exterior and fire-rated walls usually call for a surface-mount cabinet instead.
Do lighted medicine cabinets need an electrician?
Plug-in models only need a nearby receptacle, but hardwired cabinets connect to a branch circuit and should be installed per the manufacturer's instructions, with splices in an accessible box. A licensed electrician and a permit may be required.
Why is there mold behind my medicine cabinet?
Mold behind a cabinet usually means moisture is condensing or leaking in that area. Common causes are poor bathroom ventilation, a cold exterior wall or a plumbing leak. The EPA advises fixing the moisture source as well as cleaning the mold.
Is a medicine cabinet a safe place to store medications?
A standard cabinet does not lock and is often reachable by a climbing child. The CPSC recommends a locked cabinet or box, out of children's reach. Bathroom humidity can also be a poor storage environment for some medicines.
How much does it cost to install a medicine cabinet?
Surface-mount installation is often a modest labor charge plus the cabinet. Cutting a new recessed opening, hardwiring a lighted model or rerouting pipes and cables costs considerably more. These are general 2026 ranges.
Planning a bathroom upgrade in a home you are about to buy? Reach out through our contact page to connect with a Front Range inspector who checks ventilation, wiring and moisture before you commit.