To optimize your alertness throughout the day and avoid the common afternoon energy crash, it's recommended to delay your caffeine intake for about 90 to 120 minutes after waking up. This timing allows your body's natural wakefulness processes, primarily driven by the morning peak in cortisol levels, to stabilize.