What to Eat Before a 5K: Best Foods and What to Avoid

A small, carb-focused snack eaten one to two hours before your 5k is the sweet spot for most runners. The race is short enough that you don’t need a big meal or any special loading strategy, but running on a completely empty stomach can leave you feeling flat. The goal is simple: top off your energy without upsetting your stomach.

How Much to Eat and When

Timing and portion size work together. If you’re eating one hour before the race, aim for about 1 gram of carbohydrate per kilogram of body weight. For a 70-kilogram (154-pound) runner, that’s roughly 70 grams of carbs, or about the equivalent of a large banana and a slice of white toast with jam. If you have two hours, you can double that amount comfortably. If you only have 30 minutes, scale back to a very small snack: half a banana, a handful of pretzels, or a few dates.

Most runners find that eating a full meal closer than two hours to race time causes cramping or heaviness. If your 5k starts early in the morning and you don’t want to wake up hours ahead of time, a light snack 30 to 60 minutes before the gun goes off is perfectly fine. The 5k only takes 15 to 40 minutes for most people, so your body already has plenty of stored fuel. You’re just giving it a little extra.

The Best Pre-Race Foods

You want foods that are high in simple carbohydrates, low in fiber, and low in fat. These digest quickly, deliver energy fast, and are unlikely to cause stomach trouble. Some reliable options:

  • A banana with a thin spread of peanut or almond butter
  • White toast or a bagel with jam or honey
  • Rice cakes with a small amount of nut butter
  • A handful of dates or raisins
  • A low-fiber energy bar
  • Dried mango or fruit leather
  • Plain oatmeal made with water (if you have at least 90 minutes)

If you’re racing first thing in the morning and can barely eat, even a few swigs of a sports drink or a couple of gummy bears will give you a quick hit of carbohydrate without sitting heavy in your stomach. The key is choosing foods you’ve tested before on training runs. Race morning is not the time to experiment.

Glycemic Index Doesn’t Matter Much

You may have heard that slow-digesting, low-glycemic foods are better before exercise. For a 5k, this distinction is largely irrelevant. Research published in the Journal of the International Society of Sports Nutrition found that eating high-glycemic versus low-glycemic foods 30 minutes before exercise produced no meaningful difference in performance. The effect on blood sugar and insulin shifted slightly, but actual time to exhaustion was the same. For longer endurance events, low-glycemic choices may help sustain energy, but the 5k is short enough that your body’s existing glycogen stores do most of the work regardless of what type of carb you eat beforehand.

What to Avoid Before a 5k

High-intensity running is especially unforgiving on the digestive system. Your body diverts blood away from your gut and toward your working muscles, which means anything sitting in your stomach will sit there longer and cause more trouble than it would at rest. A few categories to steer clear of in the two to three hours before your race:

High-fat and fried foods slow stomach emptying and can cause nausea, heaviness, or reflux. Skip the bacon and eggs on race morning. High-fiber foods like bran cereal, large salads, lentils, and fiber-fortified bars can trigger gas, bloating, and urgent bathroom trips. Broccoli, cauliflower, and cabbage are particularly problematic because they contain carbohydrates that ferment in the gut. Spicy foods can irritate the stomach and cause heartburn, which only gets worse when you’re bouncing at a hard pace.

Carbonated drinks add air to your digestive tract, leading to bloating and gas. Dairy is fine for some runners but causes cramping and urgency in anyone with even mild lactose sensitivity, and the stress of racing can amplify that. Sugar-free products sweetened with sorbitol, xylitol, or mannitol can draw water into the gut and cause diarrhea during exercise. Check the label on any “sugar-free” gum, candy, or protein bar.

Should You Have Coffee Before the Race?

Caffeine is one of the most well-studied performance boosters in sports. Doses of 3 to 6 milligrams per kilogram of body weight consistently improve exercise performance. For a 70-kilogram runner, that’s 210 to 420 milligrams, roughly the amount in two to four cups of brewed coffee. The optimal window for caffeine from coffee or capsules is about 60 minutes before the start.

If you use caffeinated gels or chewing gum instead, the timing is different. Caffeinated gum appears to work best when taken immediately before exercise, while caffeinated gels seem most effective about 10 minutes beforehand. The caffeine absorbs faster through the mouth than through the stomach.

One important caveat: if you don’t normally drink coffee, race day is a bad time to start. Caffeine on an empty or nervous stomach can cause jitters, a racing heart, or digestive urgency. Stick with what your body already knows.

A Simple Race-Morning Timeline

For a 5k with an 8:00 a.m. start, here’s what a practical morning looks like. Wake up around 6:00 or 6:30 and eat a light, carb-focused meal: a bagel with jam, a bowl of oatmeal with banana, or toast with honey. Have your coffee if that’s part of your routine. This gives you 90 minutes to two hours for digestion and a bathroom stop before the race.

If you can’t eat that early, aim for a small snack around 7:00 to 7:15: a banana, a handful of dried fruit, or half an energy bar. Sip water throughout the morning, but don’t chug a huge bottle right before the start. A few ounces in the 15 minutes before the gun is enough. You won’t sweat enough during a 5k to need mid-race hydration for most people, so the goal is just to start comfortably hydrated without liquid sloshing in your stomach.

The Night Before Matters Too

Your dinner the evening before a 5k does more for your glycogen stores than your morning snack does. Eat a familiar, carb-rich meal: pasta, rice with chicken, a potato-based dish. Keep the fiber moderate and the fat reasonable. This is the meal that actually fills your muscle fuel tanks. The morning snack just tops off your liver glycogen, which dips overnight while you sleep. Think of dinner as the main event and breakfast as the finishing touch.