Before you ride
For anything over about an hour, eating a carbohydrate-rich meal 1–4 hours beforehand, sized and timed to how close it is to the start, sets you up better than starting empty. See fueling before exercise for timing and meal-size guidance that applies across sports.
During the ride
Once you're past about an hour, the question becomes how many grams of carbohydrate per hour to take in, and it climbs with duration and intensity — commonly 30–60 g/hour for a 1–2.5 hour ride, up toward 60–90 g/hour for longer or harder days. The full breakdown, including why long rides need more than one carb source, is in how many carbs per hour cycling. For rides past about three hours specifically, long-ride fueling covers the logistics of actually carrying and eating that much. If you've bonked before, avoiding bonking covers why it happens and how to stay ahead of it.
After the ride
Replenishing carbohydrate and getting some protein in soon after a hard or long ride helps you recover for the next one, especially if you're riding again within a day or two. See fueling after exercise for the details.
Fueling by ride type
- Commute or easy spin, under an hour: fueling is rarely necessary; focus on your regular meals around it instead.
- Club ride or gran fondo, 2–4 hours: this is where the standard carbs-per-hour range starts to matter and is worth practicing in training.
- Long gravel day, 4+ hours: logistics start to matter as much as the target — what you can carry, resupply, and actually tolerate for that long.
- Multi-day bikepacking: total daily food intake and recovery between days matter alongside the per-hour target, since tomorrow is another long day.