No, this is not good to leave the white noise machine the whole night. Because its pitch is high and it will damage your hearing ability. Using the white noise machine for around 4 hours is ok and recommended by doctors also.