It's generally not advisable to leave a room heater on overnight for safety reasons. Instead, consider using a heater with a timer function to turn it off automatically after a set duration or using a thermostat to maintain a comfortable temperature while you sleep. Always prioritize safety when using room heaters.