Yes, it's generally safe to use a sound machine throughout the night. However, it's advisable to keep the volume at a comfortable level.