But one bedtime habit has proven controversial: listening to music. Past research exploring music played before bed has been divided. Some studies have shown relaxing classical music reduces sleep issues, while others have shown that people who frequently listen to music before going to bed suffer worse sleep quality. The answer to this debate may lie in the type of music that’s played. A new study focusing on young adults in Singapore suggests that specifically happy or sad music played before bed can actually benefit a person’s quality of sleep.

Varied Frequencies at Bedtime

Researchers asked 62 participants, who ranged from 19-32 years old, to focus on three types of music before bed: happy music, sad music, or pink noise, which consists of sounds at a frequency that filters out distractions. Each participant spent five consecutive nights listening to the assigned audio before bed—two nights were spent without music between each condition. Participants then self-reported on their quality of sleep. The results revealed that participants experienced better sleep quality after listening to happy or sad music over listening to pink noise. But no significant difference in sleep quality was reported between listening to happy or sad music. The benefits also continued, as participants also reported reduced stress and greater life satisfaction the following day. “Music listening is relatively cheap and easy-to-implement, healthcare professionals and lay individuals alike can use music listening as a cost-effective and convenient intervention for improving subjective sleep quality and other daily well-being outcomes,” study authors wrote. It’s important to note that the study wasn’t without limitations. Because results were self-reported there’s great risk of subjectivity and variability. At the same time, researchers did not gauge participants’ familiarity with the music, which could affect its impact.

Music and the Mind

Psychiatrist Alex Dimitriu, MD, who specializes in sleep medicine, notes that music is a fairly powerful emotional tool. This means it can also be an effective distraction for racing thoughts while trying to fall asleep. Studies have shown that playing music at bedtime can encourage the physical and mental tranquility necessary to achieve a good night’s sleep. “Music can bring out feelings, including relaxation, and also reduce mind wandering often seen in anxious or stressed individuals,” he says. Music can have a real physical impact, as well. Research exploring music’s effect on the body has shown that relaxing music can actually reduce heart rate and blood pressure. At the same time, Dimitriu notes that, because fast, loud, or intense music could potentially have the opposite effect and increase heart rate, it should be avoided before bedtime. “Check in with yourself and make sure you like how the music makes you feel,” Dimitriu says. “Again, this effect should be subtle. Sleep is a natural process that occurs best in a cool, dark, and quiet room.”