posted 4 years ago
I have had this happen with fruit flies and it is no fun. First step was to take the bucket out and clean it super well. What worked for me to keep them from coming back was making sure the chamber where the bucket sits was super well sealed. If the flies can't get in, they can't lay eggs in there. Just in case, I also placed a jar with small holes poked in the lid full of apple cider vinegar and a couple drops dish soap near the toilet. Sweet alcohol works also, if you don't have apple cider vinegar. The flies are attracted to the vinegar and go into the jar. If you make the holes the right size, they can't get back out and end up drowning.
You might also check to be sure that your cover material isn't a potential source of eggs, larvae or adults. I leave my stock of cover material outside in a metal trash can that I refill from every week or so. Easy enough to stick it in the sun and ensure no critters are living in there.
“Action on behalf of life transforms. Because the relationship between self and the world is reciprocal, it is not a question of first getting enlightened or saved and then acting. As we work to heal the earth, the earth heals us.” ~ Robin Wall Kimmerer