This article contains affiliate links: if you buy through them we may earn a commission, at no extra cost to you. Learn more.
Five-thirty on a summer morning. The truck is loaded, the pack is full, and the plan is a big loop: 25 miles, 4,000 feet of climbing, a ridge with no shade and a creek crossing halfway. Or it’s race day: a NICA start line packed with nervous freshmen, an enduro with five timed stages spread over a mountain, a cross-country race where the feed zone is the only place to grab a bottle. Mountain bike ride day and race day come down to the same few things: fuel enough, drink enough, respect the heat and the weather, and know where you’re going. This page covers all of it, from a two-hour trail ride to a marathon race.

General guidance, not a personal nutrition plan. For more, see our mountain biking hub and, for road racing fuel and the UCI heat rules, cycling race day.
Before the ride: the pre-ride meal
The joint position of the American College of Sports Medicine (ACSM), the Academy of Nutrition and Dietetics and Dietitians of Canada suggests 1–4 g of carbohydrate per kg of body weight, 1–4 hours before exercise, avoiding foods heavy in fat, protein and fiber that can upset the stomach. For a 70 kg (154 lb) rider eating 3 hours before, that could be oatmeal with banana and honey, toast and juice. Closer to the start, keep it small and simple. Try every race-day meal on a training day first.
Fueling per hour on the trail
The ACSM statement and an International Olympic Committee-backed review give the same ladder for carbohydrate during exercise:
| Ride or race length | Carbs during | Mountain bike examples |
|---|---|---|
| Under 45 minutes | Not needed | Short track (XCC), a quick after-work lap, a downhill run |
| 45–75 minutes | Small amounts, even a mouth rinse | Youth and high school races, short XC races |
| 1–2.5 hours | 30–60 g per hour | Elite XCO (about 80–90 minutes), most trail rides, enduro race days |
| Over 2.5–3 hours | Up to 90 g per hour, using glucose + fructose mixes | Marathon (XCM), 6- to 24-hour races, big backcountry loops |
Eating on rough trails is harder than on the road. Your hands are busy and the terrain picks the moment, so eat on climbs, fire roads and smooth sections, a little every 15–20 minutes. Drink mixes count: a bottle or bladder with carbs means fuel without unwrapping anything. Gels such as Maurten Gel 100 (25 g carbs each, maker figures) are fast; real food like bars, rice cakes and bananas works well early in long, steadier rides. For enduro, eat in the transitions between stages, not right before a timed descent.
Train your gut. Stomach trouble is common in long mountain bike races: a 2021 review of cross-country marathon events found 5–47% of riders reported gut symptoms after the event. The ACSM statement says to practice your fueling plan in training; build up the grams per hour over weeks of long rides. Our best energy gels guide compares carbs, sodium and caffeine per gel.
Hydration
- Start hydrated. ACSM suggests about 5–10 mL per kg of body weight 2–4 hours before; pale yellow urine is a good sign.
- During: the National Athletic Trainers’ Association (NATA) says to aim to lose no more than about 2% of body weight to sweat, to drink to thirst if you don’t know your sweat rate, and never to drink so much that you gain weight, which raises the risk of low blood sodium (hyponatremia).
- Sodium: heavy, salty sweaters on long, hot rides often add an electrolyte mix like Skratch Labs (about 400 mg sodium per scoop) or Nuun Sport tablets (300 mg sodium each).
- Carry enough. Many trail bikes take only one bottle, and there are no shops on the ridge. A hydration pack such as the CamelBak M.U.L.E. 12 (100 oz reservoir) also carries tools, food, a jacket and first aid. Know where you can refill, and treat stream water before drinking it.
- Racing: under USA Cycling rules, XCO events set up 2 feed/tech zones and marathon (XCM) events at least 3, and feeding normally happens only there. Plan your bottle hand-ups with your helper.
Riding in the heat
Slow, steep climbs in the sun give you little cooling airflow, and exposed desert and ridge trails can be brutal by midday. NATA’s heat guidance: acclimatize over 7–14 days of gradually longer, harder rides in the heat before a hot event; ride early in the day; pour water over your head and neck; and slow down or turn around when it’s too hot. Warning signs of exertional heat stroke are confusion, odd behavior, stumbling or collapse. That’s an emergency: call 911 and start cooling right away (cold-water immersion is most effective, NATA says). Heat exhaustion signs like heavy sweating, dizziness, nausea and headache mean stop, find shade and cool down.
Storms and lightning
Afternoon thunderstorms build fast in the mountains, and a ridge is the worst place to be. NATA’s lightning rule: “When thunder roars, go indoors.” If you can hear thunder, you’re close enough to be struck; no place outdoors is safe, and substantial buildings and enclosed metal vehicles are. Plan high, exposed rides for the morning, get off ridges at the first thunder, and wait 30 minutes after the last thunder before heading back out.
Trail planning
- Pick trails for the group’s weakest rider. In North America, trails are rated green (easy), blue (intermediate), black (difficult) and double black (extremely difficult). A blue at one trail center can ride like a black at another; ask locals or check a trail app.
- Load the route. Put it on your bike computer or phone with offline maps; cell signal often disappears in the woods. See mountain bike wearables for computers with trail maps.
- Time, not miles. Technical miles are slow. Know sunset, and set a turnaround time, a rule the National Park Service recommends for hikers that works for riders too.
- Tell someone your route and when you’ll be back; carry a satellite messenger where there’s no signal (see mountain biking injuries for an emergency plan).
- Check conditions. Many trail groups ask riders to stay off muddy trails, which damages them. Check the local trail report.
Race-day checklist
- Pre-ride the course during official practice: learn the lines and the B-lines, and where you’ll eat and drink.
- Bike check: tire pressure for the course, brakes, bolts, plug kit or tube, pump or CO2.
- Kit: helmet (full-face for downhill and 4X under USA Cycling rules), gloves, pads, number plate, sunscreen.
- Warm-up: 15–20 minutes building to a few short hard efforts for XC; easy riding and mental run-throughs of the course for gravity racing.
- Nothing new on race day: no new gels, shoes or tires. Caffeine only if you’ve used it in training; it isn’t for everyone (sensitivity, heart conditions, pregnancy).
Young racers mostly need water, a normal meal a few hours before and a snack for longer races. Energy drinks and stimulants have no place in a kid’s race bag, the American Academy of Pediatrics says.
What many riders carry
CamelBak M.U.L.E. 12 Hydration Pack
- 100 oz Crux reservoir
- 12 L pack for tools and layers
- Built for mountain biking
Maurten Gel 100
- 25 g carbs per gel
- Glucose:fructose 1:0.8
- Box of 12, about $45
Skratch Labs Hydration Sport Drink Mix
- About 19–20 g carbs per scoop
- 400 mg sodium per scoop
- 20 servings, about $24
Nuun Sport
- 300 mg sodium per tablet
- 1 g sugar
- Informed Choice (maker says)
Sports foods and electrolytes: follow the label, and check with your doctor or a dietitian if you have high blood pressure, kidney or heart problems, or follow a low-sodium diet. After the ride, see mountain bike recovery; for everyday eating, mountain bike nutrition; for drink mixes compared, our best electrolyte powder guide. Team-sport players can find the same science on the soccer game day page.
Ride day and race day: FAQs
How many carbs per hour should I eat mountain biking?
For rides of 1–2.5 hours, 30–60 g per hour; for longer rides and races, up to 90 g per hour using glucose and fructose mixes, per ACSM and IOC-backed guidance. Under 45 minutes you don’t need any. Build up in training to avoid stomach problems.
How much water should I bring on a mountain bike ride?
It depends on heat, length and your sweat rate. NATA suggests limiting sweat loss to about 2% of body weight and drinking to thirst if you don’t know your sweat rate. Weigh yourself before and after a few rides to learn it, and carry extra on hot or remote loops, since refills are rare on trails.
Hydration pack or bottles?
Bottles are lighter and easier to clean; a pack carries more water plus tools, food and layers. Many riders use bottles for short rides and races with feed zones, and a pack for long or remote rides.
What should I eat before a mountain bike race?
A familiar, carbohydrate-rich meal 1–4 hours before (ACSM suggests 1–4 g per kg of body weight), low in fat, fiber and protein. Eat less the closer you get to the start, and test it on a training day first.
What should I do if a storm rolls in on the trail?
Get off ridges and open high ground right away; if you can hear thunder, lightning can reach you. Head for a building or your car, and wait 30 minutes after the last thunder before riding again (NATA).
