Maggots in Garden bed
Thank you for your question. Without any information about your location, and a positive identification of these insects, we are reluctant to try to give you a ‘one size fits all’ answer. Different species of flies lay their eggs in different plants and materials. The ‘maggots’ are larvae that need to eat, until they become adults and fly away to mate. We would prefervto have a photo of both the fly and the larvae, as well as information about what specific plants and places you find them. They could well be larvae of an insect other than a fly. In the meantime, you can read about just one type of maggot and control strategies here: http://ipm.ucanr.edu/PMG/GARDEN/VEGES/PESTS/seedcornmaggot.html Thank you for getting us more information!