How to Get Rid of Maggots in Your Refrigerator and Prevent Them From Returning
Maggots in the fridge mean something is rotting and attracting flies—stop it now
Maggots in your refrigerator are fly larvae, and they got there because a fly laid eggs on decaying food while your fridge door was open or on food that was already spoiled when it went in. The cold slows their development but does not kill them. You need to find and remove the source food, clean the affected area thoroughly, and then seal entry points so flies cannot get back in. This is fixable in an afternoon, and it will not happen again if you know what to watch for.
The reason maggots appear suddenly is that you cannot see fly eggs—they are tiny and hatch within 24 hours in warm conditions. Once they hatch, they grow visibly within days. By the time you notice them, the fly has already done its job, so your focus is on stopping the cycle now and preventing it from starting again.
Key Takeaways
- Maggots appear only when a fly has laid eggs on decaying food, so your first step is to locate and throw away that food item.
- Wipe down the shelf and surrounding surfaces with a cloth soaked in a 1:1 mixture of white vinegar and water, then dry completely.
- Check your refrigerator seal and door hinges for gaps, and keep the door closed except when retrieving food.
- Store raw meat on the lowest shelf in a sealed container, and throw away any food showing slime, discoloration, or strong odor before flies can reach it.
- If maggots return within days, you may have a second food source or a gap in the seal—inspect both before assuming the problem is solved.
Find and remove the source food immediately
Maggots do not appear on their own. A fly laid eggs on something rotting, and that something is still in your fridge. Start by removing every item from the shelf where you see maggots and the shelf directly below it. Look for food that is visibly slimy, discolored, or leaking. Raw meat, poultry, and seafood are the most common sources because they decay quickly and smell strongly to flies.
Once you find the source, place it in a sealed plastic bag and throw it in an outdoor trash bin immediately. Do not leave it in your kitchen trash. If you cannot identify the source after checking all shelves, the maggots may be coming from a leak in a container—check under drawers and in the crisper for pooled liquid or hidden spoiled produce. Look also at the back corners where containers sometimes get pushed and forgotten.
Clean the affected shelf and surrounding areas
After removing the source food, you will see maggots still crawling on the shelf and possibly in cracks or under the rubber seal. Wipe the entire shelf with a cloth soaked in a 1:1 mixture of white vinegar and water. Vinegar kills maggots on contact and also removes the smell that attracted the fly in the first place. Use an old toothbrush or small brush to scrub into corners and along the rubber gasket where the door seals.
Pay special attention to the shelf below the infested one, because maggots can fall through and hide underneath. Wipe that shelf too, even if you do not see maggots there. After cleaning, dry everything with a paper towel. Moisture left behind can attract flies again. If maggots are in the drain pan at the bottom of the fridge, pull it out, empty it, rinse it with hot water, and replace it. The drain pan is easy to overlook but is a common hiding spot.
Inspect the door seal and hinges for gaps
A fly got into your fridge somehow, and the most common route is a gap in the door seal or around the hinges. Close the door and look at the rubber gasket all the way around—it should press firmly against the frame with no visible light showing through. If you see gaps, the seal may be dirty or warped. Clean it first with the vinegar solution and dry it completely.
If the seal still does not close tightly after cleaning, it may need replacement. Check your refrigerator manual for the seal part number, or contact the manufacturer. A loose seal is also why your fridge is working harder than it should, so fixing it saves energy and keeps food colder. In the meantime, keep the door closed except when you are actively retrieving food, and do not prop it open while loading or unloading groceries.
Store raw meat and fish in sealed containers on the lowest shelf
Raw meat, poultry, and seafood are the foods flies are most attracted to, and they also spoil fastest. Store them in a sealed plastic container on the lowest shelf of your fridge, not on an open plate or in their original packaging. This serves two purposes: it prevents drips from contaminating other foods, and it keeps the smell contained so a fly cannot detect it even if one gets inside.
Check these items every two to three days. If you see any slime, discoloration, or smell anything off, throw the item away immediately. Do not wait until the expiration date if the food looks or smells wrong—your nose is more reliable than a printed date. Freezing meat you do not plan to use within three days also prevents decay and eliminates the smell that attracts flies.
Throw away spoiled food before flies find it
The easiest way to prevent maggots is to never let food rot long enough for a fly to find it. Check your fridge every three to four days for items that are past their prime. Look for soft spots on produce, slime on meat or fish, mold on cheese or bread, and any strong or sour smells. These are all signs a fly would recognize as a good place to lay eggs.
Keep a small notepad on your fridge and jot down what you put in and when. This takes 10 seconds and makes it much harder to forget about leftovers or produce buried in the back. If you live alone or cook infrequently, buy smaller quantities of perishables so nothing sits long enough to spoil. Frozen vegetables and pre-portioned frozen meals are just as nutritious and will not rot.
Organize your fridge to spot spoiled food quickly
A cluttered fridge is where food goes to hide and rot. Organize by type: raw meat and fish on the lowest shelf in sealed containers, dairy in one section, produce in the crisper drawers, and leftovers in clear containers at eye level. This way, you can see everything at a glance and spot something that looks off before it becomes a maggot breeding ground.
Use the FIFO method—first in, first out—by moving older items to the front when you add new groceries. Leftovers should go in clear containers with the date written on top in marker. Throw away anything older than four days. This system takes a few minutes to set up but saves you from opening your fridge to a surprise weeks later.
Frequently Asked Questions
Can I kill maggots by turning down the temperature?
No. Maggots slow down in cold but do not die until they freeze solid, which takes much colder than a normal refrigerator. The only way to stop them is to remove the food they are feeding on and clean the area. Turning the fridge colder will not help and may damage other foods.
What if maggots come back after I clean?
You either missed a second source of spoiled food, or a fly is still getting in through a gap in the seal. Check every shelf again, especially under drawers and in the crisper. Then inspect the door seal and hinges closely. If the seal is damaged, it needs replacement before the problem stops.
Are maggots in the fridge a sign my refrigerator is broken?
Not necessarily. A working fridge can still have maggots if a fly got in and found spoiled food. However, if your fridge is not keeping food cold enough, food will spoil faster and attract flies more easily. Check that the temperature is set to 40°F or below and that the seal closes tightly.
Can I use bleach to clean instead of vinegar?
Bleach kills maggots but leaves toxic fumes inside your fridge and can damage plastic shelves. Vinegar and water is safer, works just as well, and does not leave a chemical smell on your food. If you want extra disinfection, you can use a 1:10 bleach-to-water solution, but rinse thoroughly with plain water afterward and let the fridge air out for 30 minutes before putting food back.
How long does it take for maggots to turn into flies?
In a warm room, maggots become adult flies in about 8 to 10 days. In a cold fridge, the process is much slower, but they will still eventually mature if the food source remains. This is why removing the spoiled food immediately is so important—it stops the cycle before flies can escape and lay more eggs elsewhere in your kitchen.