
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 bathroom vanity is a moderate DIY project most confident homeowners can finish in about half a day, provided the drain and water supply stub-outs are already in the wall. Budget roughly $150 to $600 for the vanity and top, plus $30 or so in supply lines, a P-trap, shims and silicone. The cabinet-setting and top-mounting is straightforward carpentry. The only part touching code is the plumbing connection, and reconnecting to existing shut-off valves is DIY-friendly; moving or adding drain and supply lines is a licensed-plumber job in most jurisdictions.
Step-by-step: setting and plumbing a vanity
This covers a standard cabinet-style vanity replacing an old one, with existing plumbing in the wall.
- Shut off the water and remove the old vanity. Close both shut-off valves under the sink, open the faucet to drain the lines, and disconnect the supply lines and P-trap into a bucket. Cut any caulk bead along the wall and top with a utility knife, then unscrew the cabinet from the wall and lift it out.
- Mark your studs and the finished vanity height. Find studs with a magnetic or electronic finder and mark them above the vanity line. Measure up from the floor to your chosen counter height, commonly 34 to 36 inches for adults, and draw a level line for the cabinet top.
- Dry-fit and check the plumbing clearance. Slide the cabinet in and confirm the drain stub-out and supply lines land inside the opening. Mark the back panel and cut holes with a hole saw or jigsaw if the vanity has a solid back, leaving about half an inch of clearance around each pipe.
- Level and shim the cabinet. Set a level across the top front-to-back and side-to-side. Tap tapered shims under the base and behind the back rail at the studs until it is dead level in both directions. A vanity that is out of level will leave a visible gap under the countertop and let water pool.
- Screw the cabinet to the studs. Drive 2.5-inch cabinet screws through the back rail into each stud you marked. Snug, not crushing, so you do not pull the cabinet out of level. Score and snap off the shims flush.
- Set the countertop. Run a bead of silicone adhesive along the top edges of the cabinet, lower the top on, and press it down. For a separate backsplash, silicone it to the wall and the top. Wipe the squeeze-out immediately with a damp finger.
- Mount the faucet before or after, then connect supplies. It is far easier to install the faucet and drain assembly on the top before the top is fully sealed if access is tight. Attach flexible braided supply lines from the shut-off valves to the faucet tailpieces, hand-tight plus a quarter turn with a wrench.
- Assemble the P-trap. Connect the sink tailpiece to the trap and the trap arm to the wall drain, with the slip washers seated and nuts hand-tight plus a nudge. The trap should have a gentle downward slope to the wall.
- Turn the water on and check every joint. Open the valves slowly, run the faucet, fill and drain the bowl, and feel every connection with a dry tissue. A slow drip shows up as a damp spot; snug the offending nut a fraction more.
- Caulk the perimeter. Run a thin bead of silicone where the countertop and backsplash meet the wall to keep splash water out of the seam.

Tools and materials
You need a drill/driver, a level, a stud finder, tapered shims, cabinet screws, an adjustable wrench and channel-lock pliers, a hole saw for the pipe cutouts, braided supply lines, a P-trap kit, and a tube of 100% silicone. A new faucet and pop-up drain if you are upgrading. While the plumbing is open it is a natural moment to improve the fixtures the vanity feeds: our shower head roundup and bidet attachment picks cover the upgrades owners most often tackle in the same session, and a quality faucet supply and shut-off matter more than the cabinet finish for a leak-free result.

Mistakes that cause callbacks
- Skipping the level check. An unlevel cabinet telegraphs through the countertop and pools water at the low corner. Shim it dead level.
- Anchoring to drywall only. Screws must hit studs. Drywall anchors alone let a loaded vanity pull off the wall.
- Overtightening plastic P-trap nuts. They crack. Hand-tight plus a small nudge is the correct torque.
- Forgetting to dry-fit the plumbing. Cutting the back panel wrong wastes a cabinet. Mark from the real stub-out positions.
- Caulking before leak-testing. Seal the perimeter only after you have confirmed the trap and supplies are dry.

When to call a pro
Setting a cabinet and reconnecting to existing shut-off valves is safe DIY. Call a licensed plumber when you need to move the drain or supply lines, add a shut-off valve at the wall, or the existing valves are seized. Plumbing changes past the fixture connections are governed by local code and often require a permit and inspection; codes are jurisdiction-specific, so check with your building department before altering supply or drain lines. If you uncover water damage or mold behind the old vanity, fix the source before you install the new one.
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 · Installing a vanity light · Replacing a bathroom mirror · Installing a medicine cabinet · Best shower heads · How we rank