The half-life of caffeine is three to five hours. The rest of the caffeine may remain for much longer in the system.