Question: how long until you can sleep after coffee?
Answer: For most people, caffeine should be avoided for four to six hours before bedtime, as this is how long it takes the body to metabolize half of your (caffeine) consumption.