Caffeine and Sleep
Caffeine, a common stimulant, can significantly disrupt sleep patterns, making it harder to fall and stay asleep. Even if you believe you can handle caffeine without issues, it can still reduce deep sleep by 20% to 40%, equivalent to aging your sleep quality by a decade. For optimal rest, it's recommended to cut off caffeine consumption at least 10 hours before bedtime.In this clip
From this podcast

The Knowledge Project
Matthew Walker: The Science of Sleep & How to Perfect It | Knowledge Project 131
Related Questions
How can I manage my caffeine intake to avoid sleep issues?
How much caffeine in one's system by 10 PM is enough to disrupt their sleep according to the episode Dr. Matthew Walker: The Science & Practice of Perfecting Your Sleep | Huberman Lab Podcast #31 and the clip Caffeine and Sleep?
How can I know if I am sensitive to caffeine, particularly in relation to the episode Dr. Matt Walker: How to Structure Your Sleep, Use Naps & Time Caffeine | Huberman Lab Guest Series and the clip Caffeine Insights? I currently drink my last coffee around 8 hours before going to bed and have no problem falling asleep. However, I don't know how to measure if caffeine affects the quality of my sleep and, if it does, how much.