Maggots will turn into flies anywhere from a few hours to a few days. It really depends on the temperature and humidity in the environment.