Answer by
Bob3782 (161)
First of all, you need to clean the litter box regularly. When you clean the litter box, add backing soda or baking powder to the bottom of the box before adding fresh litter. These compounds absorb the odors in the box. It is the odor that attracts the flies to the litter box.