You can run a generator the whole night, but it depends on it. Because mostly generators only run for about 3 to 10 hours. But some of the best camping generators can run all night on 25% steady mode.