I'm planning to install a 48x84 sliding door for my laundry closet, and I'm curious if I can attach its rail directly to the drywall. The holes in the railing for mounting are spaced 16 inches apart, which aligns with the studs in my wall—though my stud finder is acting a bit erratic near the door frame. Typically, I have two choices: either secure the rail to the studs or mount a header board to the studs first. But since I can't pinpoint all the studs, I'm considering using drywall anchors rated for 100 pounds that I have left over from hanging a heavy mirror. If each anchor can support more than the weight of the door, is this a viable option, or am I missing something important?
3 Answers
What you're interested in is actually referred to as a pocket door installation, if that’s what you’re aiming for. Consider that option if you haven’t already.
I would recommend against using drywall anchors for this setup. Heavy-duty anchors aren't designed to handle the constant lateral stress and movement from a sliding door, and they could work themselves loose over time. You might want to revisit the idea of finding those studs or explore a header board instead.
It’s probably not the best idea to rely on anchors here. Just try to find the studs first, that's your safest bet!

Thanks for the heads up! I was mainly thinking about weight capacity without considering the stress from movement.