What you’re seeing are most likely fly larvae (maggots) — probably from flies laying eggs in or around the garbage can. The reason they looked like scattered rice at first is because fly eggs and tiny larvae are pale white and shaped very similarly to grains of rice.
7
Why They Suddenly Appeared
Flies are attracted to:
- Food scraps
- Meat packaging
- Pet waste
- Warm, damp garbage cans
In warm weather, flies can lay eggs incredibly fast — sometimes within hours. Those eggs hatch into tiny moving larvae very quickly, which is why it may have looked normal earlier and shocking by morning.
Are They Dangerous?
They’re usually not dangerous from a distance, but they can carry bacteria because they feed on decaying material. You definitely don’t want them spreading around your home or garage.
How to Get Rid of Them Fast
1. Pour Boiling Water
This kills them almost instantly. Carefully pour it over the lid, sides, and inside of the bin.
2. Clean the Can Thoroughly
Use:
- Dish soap
- Bleach solution or vinegar
- A scrub brush or strong spray hose
3. Double-Bag Food Waste
Especially meat, seafood, or leftovers.
4. Keep the Lid Closed
Flies need access to lay eggs.
5. Sprinkle Prevention Products
People often use:
- Baking soda
- Salt
- Lime
- Diatomaceous earth
inside the bottom of the bin to reduce moisture and discourage flies.
Why They Were on the Outside Too
If the lid wasn’t sealed tightly, larvae may have crawled outward looking for a dry place to continue developing. That’s why you see them spread across the surface.
It’s gross, but it’s actually a very common summer garbage problem — especially after hot nights or trash containing food waste.