Things You'll Need
Drawers in your home have slides attached to the sides or bottom. The slides run along a set of rollers installed on the inside of the cabinet. After several years of use the slides might bend due to pressure applied to the top of the drawer. Uneven slides may cause the drawer to slide open on its own. Most hardware stores will have replacement parts for the repair.
Pull out the drawer to the end of the track. Gently lift up on the drawer to remove it from the cabinet.
Inspect the guides for bends, and check to see if they are level. Gently bend the guides back into place with a pair of pliers or adjust if out of level. Replace the drawer and test. Remove the drawer again for further repair if the drawer still slides on its own.
Remove the screws from the guides and pull them from the drawer. Take the guides to your local hardware store for a replacement set of the same size.
Screw the new guides into the cabinet. Hold a spirit level on the guides to ensure they are level.
Install a magnet on the cabinet to hold the drawer closed. Cabinet magnets are available from most hardware stores.