No, leaving the white noise machine on all night is not a good idea. Due to the high pitch and potential damage to your hearing. A white noise machine that uses up to 4 hours is acceptable and advised by medical professionals.