Eliminate standing water
Empty and clean trash regularly
Remove overripe fruit and vegetables
Store produce in sealed containers or the refrigerator
Clean drains with hot water and a drain cleaner
Wipe down countertops and sinks
Take out compost frequently
Replace damp potting soil with fresh soil
Let houseplant soil dry between waterings
Use yellow sticky traps near infested areas
Set out apple cider vinegar traps
Vacuum up visible gnats
Seal cracks and gaps around windows and doors
Repair torn window screens
Keep food covered and sealed
Clean pet food and water bowls daily
Reduce excess moisture with fans or dehumidifiers
Dispose of garbage in sealed bins
Check for and remove decaying organic matter
Treat severe infestations with an insecticide labeled for gnats
