Gnats are most commonly found around fruit, saturated house plants, compost piles, and other rotting, smelly food or plants.
Make sure house plants stay damp, but not wet, and they must have the proper drainage. Gnats just love over-watered house plants.
Since they are attracted to the...