How Long Does Caffeine Stay in the Body? In most cases, caffeine has a half-life of about 5 hours (meaning 5 hours is needed to eliminate half the coffee amount). However, it might take longer – for instance, a pregnant woman might have caffeine in her system up to 20 hours after she ingests it.