Food

How to Install Closet Doors (Sliding & Hinged)

By Hayride Live · Updated · 3 min read

Most closet door installations fail because the header track is mounted too high, causing the bottom rollers to scrape against the floor and jam. To avoid this, measure the rough opening width exactly and mount the top track so the door hangs 1/2 inch above the finished floor, ensuring smooth gliding without friction.

Measure the Rough Opening

Accurate measurement determines whether you buy standard stock doors or need custom cuts. Stand in the closet and measure the width of the opening from one side wall to the other at the top, middle, and bottom; use the smallest number as your official width. Measure the height from the floor to the ceiling joist or existing trim on both sides.

  1. Use a steel tape measure for precision, avoiding flexible cloth tapes that stretch.
  2. Record the width to the nearest 1/8 inch (3 mm).
  3. Check if the floor is level; a slope greater than 1/4 inch (6 mm) requires shimming the track later.

Select Door Type and Hardware

Choose between sliding bypass doors or hinged bi-fold doors based on your space constraints. Sliding doors require no swing clearance but need a wide opening; bi-fold doors save floor space but need side clearance for the folded stack.

Door Style Best For Clearance Needed
Sliding Bypass Wide openings, tight rooms Track width only
Bi-Fold Narrow openings, deep closets Side swing space
Single Pivot Small pantries, mudrooms Full door swing radius

If the opening is wider than 48 inches (122 cm), sliding doors are generally more stable. For openings under 24 inches (61 cm), bi-folds often look proportionate. Always check the manufacturer’s specification sheet for the minimum track length required for your chosen hardware kit.

Install the Top Track

The top track carries the weight of the door, so it must be anchored into structural framing, not just drywall. Locate the wall studs using a stud finder and mark their centers with a pencil.

  1. Hold the track against the header at the desired height, typically 1/2 inch (13 mm) above the floor-to-door gap.
  2. Level the track horizontally; an unlevel track causes doors to drift toward one side.
  3. Drive 2-1/2 inch (64 mm) wood screws through the track holes into the center of each stud.
  4. Test the mount by pulling down hard on the track; it should not flex or detach.

Hang the Doors

For sliding doors, insert the top roller pins into the track first, then tilt the bottom of the door up to seat the guide wheel into the bottom track or floor channel. For bi-fold doors, attach the hinge hardware to the door edges before hanging them on the pivot pins.

  1. Lift the door carefully; two people are recommended for doors over 30 pounds (14 kg).
  2. Engage the top rollers into the track groove.
  3. Tilt the bottom inward until the guide wheel snaps into the bottom track.
  4. Repeat for the second door, ensuring they overlap correctly in the center.

Adjust Height and Alignment

Proper adjustment prevents scraping and ensures the doors meet evenly in the middle. Most sliding door rollers have a set screw on the side or bottom that raises or lowers the door when turned with an Allen wrench.

  1. Loosen the locking nut on the roller adjustment screw.
  2. Turn the screw clockwise to raise the door or counter-clockwise to lower it.
  3. Close the doors and check the gap between them; it should be even along the vertical edge.
  4. Adjust the guide wheel at the bottom to keep the door centered in the track.
  5. Tighten the locking nut once the height is perfect.

Avoid Common Installation Errors

Misalignment usually stems from ignoring floor irregularities or forcing tracks into place. If the floor is uneven, do not force the door to fit; instead, shim the track or adjust the roller height significantly to clear the high spot.

  • Do not skip the stud finder; mounting into drywall alone will cause the track to pull out under load.
  • Do not overtighten screws, which can strip the wood fibers in soft pine headers.
  • Do not ignore the bottom guide; without it, doors will wobble and jump off the track.

Finish and Trim

Add decorative trim or stop blocks to hide gaps between the door edges and the frame. This improves aesthetics and reduces dust entry. Use finish nails and wood filler for a clean look, painting or staining to match the surrounding trim.

Spotted a mistake? Tell us and we will correct it. How we write and check articles.