This document discusses pests that affect mushroom production, including flies, mites, and nematodes. It describes key pests like sciarid flies and phorid flies, which can damage mushrooms from spawning through harvest. An integrated pest management approach is recommended using practices like proper composting and pasteurization, chemical treatments, and light traps to control fungal gnats. Mites may infest mushrooms and indicate poor compost quality, while nematodes can destroy entire crops if they infect the mycelium. Proper phase II composting is important to eliminate nematodes.