Here’s how to get rid of these annoying.

pesky flies using homemade gnat traps.

This concoction mimics that smell for gnats and lures them in.

Placing the trap near where fruit flies have been congregating

The Spruce / Ana Cadena

Odds, you already have some of these materials.

Candle and Water Trap

Gnats are attracted to lights.

If the gnat hits the flame, it will burn.

Effective DIY Gnat Traps

The Spruce / Candra Huff

If they go to the water, they will drown.

This method may take several days and repeated tries before seeing them gone for good.

The dish soap and water drowns the insects.

Homemade vinegar and soap gnat trap

The Spruce / Meg MacDonald

It has a high rate of success.

The fastest method for eliminating gnats is using vinegar, dish soap, and sugar in a trap.

Gnats are attracted to decomposing food in garbage and overripe fruits in kitchens.

Homemade candle and water gnat trap

The Spruce / Meg MacDonald

They also live and reproduce in sinks or drains containing moisture and food residue.

Stale wine homemade gnat trap

The Spruce / Meg MacDonald

Homemade diluted bleach gnat trap

The Spruce / Meg MacDonald

Store-bought gnat trap

The Spruce / Meg MacDonald