Caffeine has a median half-life of about 5 hours (individual range roughly 2 to 12 hours). A 95 mg cup of drip coffee needs about 4 h 38 min to fall under 50 mg, so for an 11 PM bedtime the last cup should land around 6:15 PM (18:15). Stronger drinks need much longer; pick yours below for the exact table.
Every page below shows last-call times for four bedtimes (9 PM, 10 PM, 11 PM, midnight), clearance times for every serving size, and the source for the drink's caffeine content. For a personalized answer, the caffeine half-life calculator models your own metabolism, the coffee cutoff time calculator turns your bedtime and brew into a last-cup alarm, and the caffeine and sleep guide covers the science.