The effects of combining caffeine and cannabis can last for several hours. However, the duration of the effects can vary depending on factors such as individual tolerance, dosage, and method of consumption.