As an Amazon Associate I earn from qualifying purchases.
As a general rule, your whole body aches on keto because your electrolytes are imbalanced in your body. Most likely you need more magnesium and or more sodium. A person can get these from their diet or from supplements.
When your whole body aches you may be experiencing muscle cramps and or spasms, or joint pain.
This post will explain why you may be experiencing whole body aches including joint pain and how to fix the body pain.
There are sections on what foods to eat and other solutions. Use the Jump to Links below to go to the headings easily.
- Why Do My Joints Hurt on Keto?
- Why Muscle Cramps are Happening on Keto
- How Much Electrolytes Do you Need on Keto?
- The Best Form of Magnesium to Take for Muscle Aches on Keto
- Best Keto Magnesium Foods
- How to Increase Magnesium Absorption
- How to Get More Sodium on Keto
- How to Get Potassium on a Keto Diet
Why Do My Joints Hurt on Keto?
Your joints hurt on keto because there may be an increase in uric acid. When starting a keto diet you may be eating more purine-rich foods.
Uric acid is created from these purine-rich foods in your body (source). This pain should go away once your body is adjusted to using fat for fuel.
When there is an excess of uric acid in the blood, gout can develop, which causes joint pain (source).
There was a study done in 2012 that showed that people had an increased chance of getting gout in the short term when starting a keto diet (source).
After your body is fat-adapted the risk goes away.
Then in 2017, there was another study that showed that “Inflammation and joint pathology during gout flare is prevented by ketogenic diet (source).”
The form you have selected does not exist.
Why Muscle Cramps are Happening on Keto
As a general rule muscle cramps are happening because you are not getting enough magnesium, sodium, or water. Muscle cramps commonly happen in the leg. They can even happen in the arms. I’ve dealt with both places.
Some may call this getting keto muscle spasms.
1. Muscle cramps and muscle spasms are most likely happening due to not getting enough magnesium absorbed by your body (source).
You might be getting enough mg of magnesium, however, the form of magnesium you are taking is not working the way you want it to.
There are different forms of magnesium that you can take as a supplement.
As a general rule magnesium glycinate is the best form to take. I will go into detail below why this is. One reason is that this form is naturally in your food (source).
2. Another reason why you are having muscle cramps on keto is that your body is not getting enough sodium.
When your body is not getting enough sodium it makes your kidneys flush out potassium in your urine (source 1, source 2, source 3).
Along with magnesium, potassium is also important for proper muscle function.
Also, when you are eating fewer carbs, your insulin levels are also lower than a person who consumes carbs. When your insulin levels are lower, your kidneys will flush out sodium (source 1, source 2).
3. A third reason your muscles are tense on a low-carb diet is due to a lack of hydration. In simple terms, water helps to keep your electrolytes balanced (source).
In summary, to avoid keto muscle spasms and cramps, consume enough of the right form of magnesium, get enough salt, and potassium, and stay hydrated.
So, does the keto diet cause muscle cramps? It can cause muscle cramps if someone is not giving it the proper nutrients the body needs.
How Much Electrolytes Do you Need on Keto?
As a general rule, these are the amounts of electrolytes you need on a ketogenic diet.
- Sodium: 3,000 mg – 5,000 mg
- Potassium: 3,000 mg – 4,000 mg
- Magnesium: 300 mg – 500 mg
If you notice any muscle cramps you will want to increase your magnesium levels or also make sure you are taking Slow-Mag, a slow-release supplement form (source).
I do talk below about the best form of Magnesium to take for whole body aches.
According to the National Institutes of Health, men’s recommended dietary allowance (RDAs) for magnesium is higher than female’s needs (source).
- Adult Men (19+): 400 mg – 420 mg
- Adult Women (19+): 310 mg – 320 mg
- Amounts change if pregnant and lactating.
A common question when starting keto is: “How do I get rid of keto flu?” The best way to get rid of the keto flu and even prevent it is by making sure you are getting all the electrolytes your body needs.
The Best Form of Magnesium to Take for Muscle Aches on Keto
To help prevent whole body aches on keto the best form of magnesium to take is glycinate.
Magnesium glycinate gets absorbed well in the body compared to other forms (source) and it’s great for muscle aches and pain (source).
Magnesium glycinate is found in whole foods such as meats and vegetables (source), yet magnesium is not as abundant in vegetables like it used to be in the early 1900s (source).
Also according to the National Institutes of Health “Approximately 30% to 40% of the dietary magnesium consumed is typically absorbed by the body [2,9].”
Therefore, just because you read that ½ cup of boiled spinach has 78 mg of magnesium (source), it doesn’t mean that your body is going to absorb all 78 mg.
So, taking an over-the-counter magnesium supplement isn’t a bad idea, if needed.
The brand of magnesium glycinate I take is Doctor’s Best because it’s been 100% chelated with Albion minerals TRAACS, which makes for even better absorption in the body.
One pill provides 100 mg of magnesium (from magnesium lysinate glycinate chelate).
(Medical Disclaimer: Always check with your doctor before taking any supplements. Especially if you have kidney problems and want to take magnesium.)
Best Keto Magnesium Foods
What’s great is that one of the best forms of magnesium (glycinate) is also found in whole foods such as fish and nuts (source). A few magnesium-rich keto foods are dark chocolate, fatty fish, nuts and seeds.
eds, avocados, and leafy greens.
Below is a table with keto foods great for magnesium. The top magnesium foods are hemp seeds, spinach, and brazil nuts per serving.
|Dark Chocolate 70-85% cacao solids||28 g/1 oz||64.6 mg|
|Salmon||half fillet (198 g)||53 mg|
|Mackerel||1 fillet (112 g)||85.1 mg|
|Ground Beef*||4 oz||25 mg (95/5) & 19.2mg (80/20)|
|Chicken Breast||3.5 oz||32 mg|
|Almonds||28 g/1 oz||76.5 mg|
|Pumpkin Seeds||28 g/1oz||168 mg|
|Chia Seeds||28 g/1 oz||95 mg|
|Hemp Seeds||30 g (3 Tbsp)||210 mg|
|Brazil Nuts||28 g/1 oz||107 mg|
|Avocado||150 g (1 cup cubed)||43.5 mg|
|Spinach, Cooked||180 g (1 cup)||157 mg|
|Kale||100 g||32.7 mg|
How to Increase Magnesium Absorption
- Eat raw produce such as spinach and kale. Cooking foods with magnesium may decrease absorption (source).
- Choose kale over spinach. Spinach is high in oxalates which have been shown to decrease magnesium absorption (source).
- Decrease drinking alcohol if there is a dependency. Those who have a dependency on alcohol may have issues absorbing the daily requirements of magnesium (source).
- Don’t take high amounts of zinc. A study done in 1994 showed that if you consume a high amount of zinc (142 mg/ day) it will decrease the absorption of magnesium.
- Work on improving insulin resistance especially if you are older (source).
- Decrease caffeine intake. Caffeine has been shown to cause nutrient depletion (source, source 2).
How to Get More Sodium on Keto
An easy way to get the needed sodium is to salt your food and drinks like broth that you typically would cook with. People also drink pickle juice.
How to Get Potassium on a Keto Diet
As a general rule, you can get all your potassium on a keto from a well-formulated keto diet.
Below is the breakdown of how to get at least 3 grams of potassium (source).
- Meat choices can give you 1 gram.
- 4-5 servings of non-starchy vegetables will give you 1 gram.
- 2 oz of nuts and seeds can provide your last gram of potassium.
- As a last resort, you can get potassium from Lite Salt. 1/4 tsp of this contains 350 mg of potassium.
The table below shows the same foods I had in the magnesium chart, but now it shows how much these foods contain potassium.
|Dark Chocolate 70-85% cacao solids||28 g/1 oz||203 mg|
|Salmon||half fillet (198 g)||582 mg|
|Mackerel||1 fillet (112 g)||352 mg|
|Ground Beef*||4 oz||391 mg (95/5) & 305 mg (80/20)|
|Chicken Breast||3.5 oz||343 mg|
|Almonds||28 g /1 oz||208 mg|
|Pumpkin Seeds||28 g /1oz||229 mg|
|Chia Seeds||28 g /1 oz||115 mg|
|Hemp Seeds||30 g (3 Tbsp)||360 mg|
|Brazil Nuts||28 g/1 oz||187 mg|
|Avocado||150 g (1cup cubed)||728 mg|
|Spinach, Cooked||180 g (1 cup)||839 mg|
|Kale||100 g||348 mg|
You may find my post on 10 different electrolyte powders beneficial.
The information on Keto Keuhn Nutrition is not medical advice, nor is it intended to replace a consultation with a medical professional. Please inform your physician of any changes you make to your diet or lifestyle and discuss these changes with them. If you have questions or concerns about any medical conditions you may have, please contact your physician.
Wow, that’s a Lot of good information. I liked the fish details.
Thank you, very helpful sound advise. Straightforward. Appreciate that!
Of course. 🙂
I’ve been on Paleo for a month now and had a lot of flu like symptoms most passed but my muscles are more sore as time goes on and my muscles are twitching and having spasms non stop. Seen my doctor who was rather clueless , did blood work all was fine. I’m extremely sore, extremely fatigued and twitching like crazy and it’s been a month.
I would try some of the magnesium I mentioned in this post to take. I had twitching and muscle spasms myself even before I was on keto and it was most likely because of magnesium. There is no way to find out for sure but that’s my guess. (disclaimer, I’m not a medical doctor. Don’t take this advice as such.)
Janice P. Severance
Thankyou for this! I started keto about 10 days ago and my joints and muscles are hurting so bad I was going to quit. This information is valuable and will give the push I need. Will get supplements and fingers crossed. Did not sleep a full night last night due to pain!