Laundry hampers are often stuffed with damp clothing and towels. The darkness and moisture create a perfect atmosphere for mold and mildew to form. Left untreated, mold and mildew can damage fabrics and cause respiratory problems. Prevent the problem by removing wet items from the hamper promptly, and always leave the top open. Cleaning mildew is easy and doesn't require expensive commercial products. Common household cleaners will do the job.
Empty the hamper and wipe off visible moisture, then let it air dry.
Make a solution with 1/4 cup of a strong detergent like TSP and 1 gallon of warm water.
Use a soft brush to clean the hamper with the detergent mixture. Work the detergent into cracks if you have a woven hamper. Rinse with a sponge and clear water.
Use a stiff brush and the detergent to scrub stubborn stains until the area is clean.
Dry the hamper with absorbent towels.
Make a solution of 25-percent bleach and 75-percent water. Put it in a spray bottle and mist the entire hamper. Let it sit for one minute.
Dry any remaining bleach solution off the hamper. Leave it open and empty for a day to make sure the mildew doesn't reappear. If it does, repeat the steps above.