You can drink coffee before or after a workout. However, experts suggest drinking it about 30 minutes before a workout. It is absorbed into your stomach in 15 to 45 minutes. Therefore, you’ll have plenty of energy during your workout session.