How to Install a Sliding Barn Door
Secure a timber header board into wall studs, mount the metal roller track level, fasten hanger hardware to the door slab, and install safety stops.
This guide shows how to install a sliding barn door in 2 to 3 hours. Start with locate studs and fasten the header board; follow the safety notes and step checkpoints below.
Visual step map
See the full sequence before you start, then check off each step as you go.
0 of 5 steps checked
Materials and cost planner
Select the items you plan to buy, adjust any estimated price, and calculate the selected total.
Editable rough U.S. retail estimates. Estimated all listed: $266.00. Prices are planning estimates, not quotes — tax, store, brand, size and quantity will change them.
Time and finish planner
Estimate active working time from the number of steps in this guide.
Paint coverage calculator
Estimate how much paint to buy from the area you plan to cover, the number of coats and the coverage shown on the can.
Use the coverage printed on the actual product label. Rough, porous or heavily patched surfaces can use much more paint.
- Read the tools, materials, safety notes, and steps below for free.
- Tap See 20-second demo if you want to understand it first.
- Tap Start Camera Coach when you want hands-free help, or Voice-only if you do not want to use the camera.
- Allow camera and microphone. Point your phone at the work; the coach watches your progress and tells you the next step.
🧰 Required Tools & Equipment
- ✓ Stud finder
- ✓ 4-foot bubble level
- ✓ Cordless drill and driver bits
- ✓ Socket wrench set
- ✓ Tape measure
- ✓ Pencil
📦 Materials & Supplies
- ✓ Barn door slab
- ✓ Sliding barn door hardware kit (track, rollers, spacers, stops)
- ✓ 1x4 or 1x6 solid wood header board
- ✓ Heavy-duty wood lag screws (3-inch to 4-inch)
⚠️ Safety Checkpoints & Warnings
- • Always locate and drive structural lag bolts directly into wall studs; hollow drywall anchors will fail under dynamic door weight.
- • Wear eye protection when drilling into studs and driving overhead fasteners.
- • Use a two-person lift when lifting and aligning solid core doors onto the upper track.
📋 Step-by-Step Guide (5 Steps)
Locate Studs and Fasten the Header Board
Use a stud finder to locate and mark all wall studs above the doorway opening. Measure door height plus track clearance (usually 2 to 2-1/2 inches above door frame) to establish the header centerline. Hold the pre-painted wood header board level across the opening and drive two 3-inch lag screws into every wall stud along its length.
- • Header board is completely flush against the drywall and perfectly horizontal on the level bubble.
- • Lag screw heads are driven snug into marked stud locations across the board.
- • Fastening the header only into drywall without hitting studs.
- • Mounting the board too low, causing the door slab to drag on the finished flooring.
Mount the Metal Rail to the Header
Hold the metal track against the mounted header board, using your 4-foot level to ensure dead-level alignment. Insert the track lag bolts through the pre-drilled track holes, slide the cylindrical wall spacers behind the rail, and thread them into the header. Tighten the bolts firmly using a socket wrench.
- • Steel rail sits completely horizontal with identical spacer gaps between the rail and header board.
- • All lag bolts are torqued down tight with no rail wobble.
- • Omitting the wall spacers between the metal rail and the wooden header.
- • Overtightening one end before leveling the entire length of the track.
Attach Roller Hangers to the Door Slab
Lay the door flat on a padded work surface. Measure according to manufacturer instructions (typically 2 inches from the outer edge to the hanger centerline) and mark the mounting hole positions. Drill straight pilot holes through the door slab and fasten the roller straps securely with the provided bolts and nuts.
- • Both roller hangers stand perfectly plumb and parallel to the door's vertical edges.
- • Wheel assemblies spin freely without resistance or wobble.
- • Drilling mounting holes at an angle, causing the hanger straps to sit crooked.
- • Unequal setback distances on the left and right hangers.
Hang Door and Install Anti-Jump Discs
Rotate the circular anti-jump discs onto the top edge of the door slab toward the front. With a helper, lift the door, tilt it slightly forward, and seat the roller wheels into the top groove of the metal track. Swivel the anti-jump discs outward so they sit directly under the bottom edge of the metal rail to lock the door onto the track.
- • Wheels are seated inside the track channel and door hangs vertically with uniform floor clearance (approx. 3/8 to 1/2 inch).
- • Anti-jump discs are positioned directly underneath the metal rail lip.
- • Forgetting to engage the anti-jump discs, risking door derailment if bumped upwards.
- • Lifting a heavy solid-core door alone, causing strain or dropping the door.
Install Floor Guide and End Stops
Slide the metal track stops onto each end of the overhead rail, adjust them so the door covers the opening when closed and clears it when open, and tighten the set screws. Plumb the door with your level, position the floor guide at the bottom overlap point so the door stays engaged across its full travel, and screw the guide into the floor.
- • Door glides smoothly back and forth without swinging outward or bottoming out.
- • Door stops hold the door firmly in position at full open and full close without hitting wall trim.
- • Placing the floor guide where the door slides completely out of it when fully open.
- • Fastening the door stops loosely, allowing the door to slide past the end of the track.
Credit: inspired by an original tutorial by The Home Depot — watch the original on YouTube.
Don’t have everything?
- No Socket wrench set? Impact driver with appropriate hex socket bit
- No Stud finder? Strong neodymium magnet to detect drywall screws along stud lines