You just finished a 90-minute endurance session in the heat, or you are 16 hours into a fasting window, and you feel the familiar signs of sodium depletion: a dull headache and fatigue. Your first instinct might be a commercial sports drink, but those often come with 30 grams of refined sugar and artificial coloring you don't need.
A homemade electrolyte drink is simply water combined with precise amounts of sodium, potassium, and optional carbohydrates. It takes two minutes to make, costs pennies, and gives you total control over the macronutrients you consume.
If you are tracking your intake, keeping a close eye on your sodium and fasting windows is just as important as your meals. Diat is free to download, with premium via subscription.
What an Electrolyte Drink Actually Needs
Electrolytes are minerals that carry an electrical charge in your body, regulating muscle function and hydration. According to the World Health Organization (WHO) and standard medical guidelines, the primary electrolytes lost through heavy sweating are sodium (by a wide margin) and potassium.
A standard commercial sports drink contains roughly:
- Sodium: 400-1,000 mg per liter
- Potassium: 100-300 mg per liter
- Carbohydrates: 40-80 g (sugar helps the gut absorb water and sodium faster during intense output)
For a DIY electrolyte drink, table salt provides the sodium, citrus or coconut water delivers the potassium, and honey or maple syrup acts as the carbohydrate.

3 Homemade Electrolyte Drink Recipes
1. The Basic Lemon-Salt Mix (Homemade Gatorade)
This is your standard replacement for workouts over an hour or heavy yard work on hot days.
- 1 liter of water
- ¼ teaspoon fine salt (~580 mg sodium)
- Juice of 1 lemon (~60 mg potassium)
- 2 tablespoons honey or maple syrup (~35 g carbs)
- Optional: Pinch of baking soda to cut acidity
Per 500 ml serving: ~70 calories, 290 mg sodium, 30 mg potassium.
2. The Coconut Water Version (High Potassium)
Coconut water is naturally high in potassium but low in sodium. You must add salt to make it an effective sweat replacement.
- 500 ml unsweetened coconut water
- 500 ml water
- ¼ teaspoon fine salt
- Juice of 1 lime
Per 500 ml serving: ~60 calories, 300 mg sodium, 650 mg potassium.
3. Sugar-Free Electrolyte Drink for Fasting
Suitable for strict fasting windows and anyone minimizing carbohydrate intake.
- 1 liter water
- ¼ teaspoon fine salt
- ⅛ teaspoon potassium chloride salt substitute (e.g., "Lite Salt")
- Juice of half a lemon (adds negligible calories)
- Optional: Cucumber slices or mint
Per 500 ml serving: ~5 calories, 290 mg sodium, 300 mg potassium.
Important Safety Note on Fasting and Restriction: Fasting protocols are not appropriate for everyone. Pregnant or breastfeeding individuals, adolescents, people with medical conditions, and anyone with a history of disordered eating should not undertake fasting or severe calorie restriction. If you find yourself obsessing over food intake or restricting severely, please seek support from a healthcare professional or contact an eating disorder helpline.
When Do You Need Electrolytes vs. Water?
Most of the time, water and your normal meals replace what a 45-minute gym session costs you. You generally only need a dedicated electrolyte replacement when:
- Exercise lasts longer than 60-90 minutes.
- You are sweating heavily (indicated by salt marks on dark clothing).
- You are fasting for more than 24 hours, dropping dietary sodium intake to zero.
- You are recovering from illness (Note: Use exact WHO Oral Rehydration Salts from a pharmacy for severe diarrhea or vomiting, not a homemade recipe).
Commercial vs. Homemade vs. Clinical Hydration
Drink Type | Best Used For | Estimated Sodium (per L) | Estimated Sugar (per L) | Cost |
|---|---|---|---|---|
Commercial Sports Drink | Convenience, endurance events | 400 - 600 mg | 40 - 60 g | High |
Basic Homemade Recipe | Daily hard workouts, hot weather | 580 mg | 35 g | Very Low |
Sugar-Free Homemade | Fasting windows, low-carb days | 580 mg | <5 g | Very Low |
WHO Rehydration Salts | Illness, severe dehydration | ~1,700 mg | 13.5 g | Moderate |
If you regularly make your own hydration mixes, tracking the sodium and carbohydrate load is just as important as logging your meals. Diat helps you monitor both.
Honest Limits: Tracking Liquids with AI
Diat’s core feature is AI photo estimation, you snap a photo of a plate, and the app estimates the calories and macros. However, AI cannot see dissolved sodium or sugar in a water bottle. Photo-based AI estimates are approximations built for solid meals; they average approximately 80-85% accuracy compared to manual entry, but for clear liquids, the AI will simply see "water."
To track a homemade electrolyte drink accurately, do not use the photo scanner. Instead, use the custom entry feature.
How to Log Your Custom Drink in Diat
- Open the Diat app on your phone.
- Navigate to Custom Foods or Recipes
- Manually enter the ingredients for your preferred recipe (e.g., ¼ tsp salt, 2 tbsp honey).
- Save it as "My Fasting Drink" or "My Workout Drink."
- Next time you mix a batch, log it with a single tap.
This approach takes 60 seconds upfront and ensures your daily sodium targets remain accurate.

