When we think of quality sleep, we typically think of it in relation to how it helps our body recover from a long day — and with good reason.

As I’ve talked about before, a good night’s sleep can work wonders for the body, whether it’s alleviating severe back pain or helping you bounce back from a tiring gym session.

(You can find out the best time for your body to work out by finding out your chronotype. If you don’t already know it, it’s easy to learn by taking this quiz: www.chronoquiz.com.)

But consistent, uninterrupted sleep goes beyond preserving and improving your body. Just as importantly, a good night’s sleep is essential when it comes to building a better and healthier brain.

Sleep plays a key role in memory retention, alertness, and improved creativity, among other benefits. These benefits apply to any age group.

Let’s run through a number of ways sleep helps improve your brain.

But first, keep in mind that you want to stay cool during the night. Research has shown between 60 and 67 degrees Fahrenheit is ideal for sleep. To regulate your body temperature during the night, I recommend Cool Jams, which, thanks to their moisture-wicking technology and lightweight fabric, are designed to keep you from getting too hot or too cold in bed. Keeping your body temperature low maximizes your time in bed by letting you reach REM sleep quicker — and helps you enjoy the brain boost that comes with it.

Alright, here are 3 ways your brain benefits from a good night’s sleep.

Sleep Improves Your Memory

Your memory is directly connected to your sleep habits.

When you receive new information, your brain needs time for it to completely “stick” and become something you easily recall. This process, called “memory consolidation,” is when what we’ve learned shifts from short-term to long-term memory. And research indicates memory consolidation benefits from sleep.

One example: In a study published in the Journal of Neuroscience, participants were asked to memorize 15 cards with pictures of animals and different objects. They were then asked to memorize a slightly different batch of cards. Some of the participants were then allowed to sleep, while others were asked to stay up before being tested on how well they memorized the cards.

The group that was allowed to sleep performed much better — remembering 85% of the first batch of cards compared to only 60% for those who weren’t allowed to sleep.

The simple explanation is that while you’re awake, you continue to be inundated with new information that can dislodge what you just learned. But sleep improves memory by acting as an instant replay machine, allowing the mind to review what it’s learned during the day. Brain scans show the cerebellum, which controls short-term memory, is more active when sleeping. By getting a full night of sleep, your brain has more time to reinforce what it has just learned.

Sleep Deprivation Hurts Your Ability to Focus

Pulling an all-nighter and cramming before a big test is a college staple. But knowing what we know about the brain, it probably isn’t worth it.

Not only does sleep help you memorize what you learned, as we just mentioned, but it also improves your focus. Simply put: your brain doesn’t fire on all cylinders when it’s tired.

The billions of neural cells working in our heads, helping us make decisions, process information and focus, are compromised by a lack of sleep. Sleep deprivation, a team of UCLA researchers found, hampers our brain cells’ ability to work together. As one researcher put it, neural cells “responded slowly, fired more weakly and their transmissions dragged on longer than usual” for sleep deprived participants.

Your capacity for learning new information also suffers, with research suggesting you retain 40% less information when sleep deprived.

A lack of sleep hurts your ability to concentrate on the task at hand. To perform your best at work or school, a full night of sleep is critical.

A Good Night’s Sleep Boosts Creativity

Your ability to think outside the box, it turns out, is helped by getting good sleep.

Sleep helps with creativity, but reaching REM sleep is the key.

During non-REM sleep, which takes up about the first 90 minutes of your time sleeping, your brain is still wired to think literally; it’s also taking snapshots of memories and thoughts you had during the day, creating an inventory for your brain.

Later, during REM sleep, is when your brain removes the safety rails and starts to think abstractly. This period is when acetylcholine, a chemical that acts as a messenger between cells, floods the brain. When this happens, the brain starts searching for connections between unrelated ideas it’s already banked. This can lead to that “a-ha!” moment you sometimes have when you wake up after an important thought comes to you while you were asleep.

Research also shows REM sleep helps people perform better at tests that require creative thinking. One study from Harvard University showed participants who completed REM sleep performed about 30% better on anagram word puzzles than when they didn’t get a good night of sleep.

Remember, One thing that can block you from entering REM sleep as fast as possible is blue light, which radiates from your phones and other electronic devices. Staying off your phone an hour before bed will help you fall asleep quicker, but I know that’s easier said than done.

To offset the negative effects of blue light, be sure to check out my specially-designed Sleep Doctor Glasses. These glasses are great for reading on your computer or phone because they block out blue light — helping you get better sleep as a result. They also look pretty cool, too, and come in several different designs.

How You Can Help Your Brain Improve Through Sleep

The verdict is in: Sleep improves your brain in several ways. To enjoy those benefits, though, the first step is making sure you’re getting enough sleep. Be sure to check out my sleep calculator post — it should help you figure out when you need to go to sleep to get the 7.5 hours of sleep you’ll need to properly rest your brain.

And remember, bedroom temperature is critical. If your room is too hot, you’ll likely end up waking up during the night, making it tough to really give your brain the boost it needs from sleep. To keep your bed cool, I’m a big fan of the ChiliPad. It’s a water-based hydronic mattress pad with a temperature range from 55 to 115 degrees Fahrenheit, allowing you to pick the perfect temperature for when you’re dozing off.

A good night’s sleep is just as important for making sure you’re ready for a big day at the office as it is for if you’re preparing to run a 10K. Do yourself — and your brain — a favor and make sleep a priority. That’s all for this week, talk to you soon!