How Do You Get Rid of Gnats in the Kitchen?

To get rid of gnats in the kitchen, get rid of rotten food, store food items in a secure location, clean the kitchen, remove moisture, put your compost outside, and kill them with a flyswatter or bug spray. Getting rid of kitchen gnats can be difficult, and it takes time.

  1. Store your food properly

    Place any fruits or vegetables in the fridge. Throw away any rotting food. Place food items in airtight containers.

  2. Clean the kitchen

    Thoroughly clean the kitchen. Use a disinfectant spray to clean any drink spills that may attract gnats. Throw away any food remnants and crumbs.

  3. Remove moisture

    Gnats are attracted to fungus, which grows in moist areas. If you have indoor plants, avoid watering them more than is necessary, and always drain the pot after watering.

  4. Avoid indoor compost

    If you have a compost bin, store it outside. If you must keep it inside, use a bin with an airtight lid. Gnats lay eggs in compost bins, as they are an ideal source of food.

  5. Kill them manually

    Preventative measures don't get rid of gnats immediately. Use a flyswatter to kill existing pests. If there is a particularly infested area, spray it with an insecticide or bug spray.