It may be time to replace the track.
How to fix a metal sliding door off track.
Use a wire brush to clean off the dirt or debris.
Begin by inserting the bottom pivot into the bracket which can be screwed to the floor to the door jamb or both.
Remove the door from the track.
6 sliding glass door track product code.
Built up dirt or loose debris can cause a door to stop sliding and ride off the track.
Remove a door by lifting and tilting the bottom out.
Step 2 prepare the door completely open your sliding patio door.
Take the flat head screwdriver and insert it into the track channel using it to loosen any dirt or debris that may be present.
If a roller is stuck unscrew and remove it.
Parts for these doors are readily available at home centers hardware stores or online.
Grab the door from both sides and lift it off the track.
Whether your door is unhinged from the top or bottom angle it at 15 to 30 degrees away from the unhinged track and slowly pull it outwards from the closet.
Is your sliding glass door hard to open and close.
Products used in this video.
If you have a sliding closet door that glides on a bottom track clean the track with a damp cloth to ensure smooth gliding.
Use the blade of an old screwdriver to pry stubborn dirt loose.
If your patio door track is physically broken so that the metal is ripped or worn away it is time to consider a universal replacement kit.
If a malfunctioning sliding door is a chronic problem see if the track is dirty.
Once the door is approximately under the hole in the track release the pivot.
Lubricate the rollers but not the track because lubricant will act as a magnet for dust.
Then hold the spring loaded top pivot down while you swing the top of the door toward the frame and under the door track.
Place a blanket or rug onto the floor and lay the door onto it for a safe spot.