In most cases, caffeine stays in the body for five to nine hours. Although the exact length of time can be influenced by a person’s weight, metabolism, whether or not they are pregnant and other factors.\r