If the rollers are damaged install replacement rollers available at home centers.
How to fix sliding doors of closet.
Unlike entry doors sliding closet doors rarely have a bottom track.
To fix this issue first try vacuuming up debris and grime from the track with a crevice attachment.
To clean and lubricate the hardware of a sliding closet door use a stiff brush a toothbrush or a hand vacuum to clean dust from the tracks.
Then close it again.
If grime remains try wiping it up with a mild cleaner and a cloth.
Close the door to check for smooth operation and to see how the doors meet.
Check the screws on those brackets to determine whether you need a philips or flathead screwdriver to remove them.
Use an aerosol lubricant to lubricate all the door rollers.
When sliding closet doors are working properly they give you effortless access to your clothes shoes and furnishings.
Open your closet doors and go inside the closet.
Get the corresponding screwdriver and go back into your closet.
Step 1 clean the track.
Look at the top and bottom of your door for brackets.
If your doors hang from a top rail and do not have a track on the floor then you need to either replace or tighten down the floor guides.
See if the screws holding the guides down need tightening to be more secure.
A dirty obstructed or damaged track can make a sliding closet door jump off its track.
The first thing to check is what type of rail system your sliding closet door uses in order for it to slide.
Then wipe it with a damp rag.
Open the door and then loosen the setscrew for the top bracket slightly with a screwdriver.
See if the screws holding the guides down need tightening to be more secure.
If your doors hang from a top rail and do not have a track on the floor then you need to either replace or tighten down the floor guides.
Push or pull the top of the closed door to align its edge parallel to the frame.
The gap should be even if the door is properly aligned.