There's something wrong with your closet door; it's just not closing right. Bi-fold closet doors aren't as complicated as they look; there are only a couple of things that can go wrong with them. Depending on which side of the door isn't working properly, all you'll need to do is make a quick adjustment. Roll up your sleeves and grab a screwdriver, and you'll have that door working properly again before you know it.
Things You'll Need
Remove the door by depressing the roller at the top open edge and swinging the edge out. Grasp the door by the sides and lift up, then out; the door is attached at the top and bottom of the outside edge by a spring loaded pin. When you lift up the pin will depress, allowing the bottom of the door to come out of its seat.
Examine the small bracket located on the wall side of the top rail. It will have a hole in the center; this is where the spring loaded pin is inserted. Check to be sure the bracket is secured to the rail; it is held in by a screw which often loosens and lets the bracket slide.
Move the bracket to its original position and tighten the screw; you will be able to see the original position by wear marks on the top rail.
Check the lower outside bracket to ensure it is screwed securely to the floor and outer edge of the doorway.
Spray the top spring loaded pin with lubricating spray and depress it three times to ensure easy movement; replace the door by reversing the removal steps.
Repair an inner edge that is swinging out of place by fixing the spring loaded roller that allows the door to glide closed in the top rail. Spray the roller post with lubricating spray and depress the roller several times until it bounces back with no friction.
Depress the roller and swing it beneath the upper rail until it is in place. When you let go of the roller it will butt against the rail and can no longer swing out of place.
Check the door for smooth operation; if it doesn't close tightly to toe wall you can adjust the upper bracket.
Bi-fold doors are awkward to remove and replace; ask someone to help you if possible.