typically, gnats will enter your house from the outdoors through cracks or holes in your foundation, walls, windows, or doors. gnats often infest trash cans, rotten fruit, and other moist places where decomposing organic matter exists. they can also be found near sinks, drains, and toilets.