First check the alignment of your closet doors.
Sliding door track falling.
National hardware 1 piece 48 in bi pass door sliding closet door track kit.
Replace the door by hooking the upper runner to the track lifting the bottom of the door over the lower track and setting it down so that the ridge on the lower rack fits inside the grooves in the runners.
National hardware 1 piece 60 in bi pass door sliding closet door track kit.
Sliding closet doors fall off tracks.
How to clean or fix a door track.
There should be an even and uniform separation all the way along the top and bottom.
Stand back five feet or so and examine the gaps on the top and bottom.
A sliding glass door glides back and forth along a track.
Be sure the runners are on the ridge or the door will fall out again.
If a malfunctioning sliding door is a chronic problem see if the track is dirty.
Built up dirt or loose debris can cause a door to stop sliding and ride off the track.
Use a wire brush to clean off the dirt or debris.
The best way to lubricate any lock is to disassemble it and use an aerosol lubricant to flush away grime and coat the moving parts of the lock.
For pricing and availability.
In addition to cleaning and lubricating sliding door tracks you want to lubricate the door lock.
Sometimes patio doors become hard to open even when the track is clean.