A good night’s sleep may not be the cure for absolutely everything, but it sure can help make your day a lot more pleasant, as well as improve your well‑being. Research tells us that getting seven to nine hours of restful sleep can strengthen our immune system, lower our risk of diabetes and heart disease, reduce stress, help us think more clearly, and make us less likely to snarl at our kids, partner, or coworkers.

But sometimes, even if you limit your caffeine to a morning cup, turn off your screens an hour before bed, and do your best meditating and self-soothing, sleep can still be elusive. When this happens, often the culprit is your environment. Here are some solutions that can have you snoozing soundly again.

Light-Blocking Shades

Sure, those diaphanous curtains that flutter gently in the breeze look amazing on a Pinterest page of beach-house inspiration, but they won’t be much help when the sun streams into your bedroom at 6 a.m., or a streetlight just outside your window stays on all night. According to the National Sleep Foundation, a good set of blackout shades is key to achieving the complete darkness that tells our brain that it’s time to sleep. Many home stores and curtain suppliers offer opaque, light-blocking curtains in a range of colors to match your décor.