Nutrition and pain

A well-balanced diet can be your ally in fighting pain and inflammation.

By Mayo Clinic Staff

Good nutrition is an important part of your overall health. A healthy diet should include a variety of foods, including fruits, vegetables, whole grains, low-fat dairy products, lean proteins and healthy fats. This gives your body the nutrients and energy it needs to function properly. A well-balanced diet is also vital for building your body's immune system and healing power. That's why nutrition can be your ally in fighting pain and inflammation.

Is your diet helping ... or hurting?

Research suggests that there's a link between diet and inflammation, which is your body's response to injury or infection. Inflammation causes heat, redness, swelling and pain in the affected part of the body. While this normal immune system response is important for healing, sometimes inflammation can become chronic and more widespread throughout the body. Long-term inflammation is linked to several diseases and conditions, such as rheumatoid arthritis and heart disease.

Although the exact reason is unclear, it's believed that certain foods offer protection against inflammation, while other foods might actually encourage inflammation.

Pro-inflammatory foods

Pro-inflammatory foods are foods that can contribute to inflammation. Most processed foods are pro-inflammatory, as they tend to be high in unhealthy fats (including saturated and trans fats), added sugars, preservatives and refined carbohydrates. Deep-fried foods, pastries, processed cereals, white rice, white potatoes, sugar, breads and red meat are also pro-inflammatory foods.

Anti-inflammatory foods

The nutrients in some foods have anti-inflammatory or analgesic properties that can help relieve pain. Anti-inflammatory foods may include:

  • Fish and other foods that contain omega-3 fats. Omega-3 fats play a role in altering the inflammatory process and regulation of pain. Salmon, tuna, trout, mackerel and herring are high in these fats. Soy-based foods, walnuts, pecans and ground flaxseed are also good sources of omega-3 fats.
  • Antioxidant-rich foods. Colorful fruits and vegetables, such as leafy greens, avocados, beets and berries, are rich in antioxidants. Antioxidants can prevent, delay or repair some types of cell and tissue damage. Antioxidants include certain vitamins, minerals and plant chemicals, such as vitamin C, vitamin E, carotene, lycopene and flavonoids. A wide variety of other foods are also rich in antioxidants, such as lentils and beans, nuts and seeds, whole grains, green tea, and certain spices, such as ginger and turmeric.
  • Certain dietary supplements. Dietary supplements that have been shown to help provide a healthy balance of inflammatory chemicals in your body include the botanicals cat's claw, devil's claw, ginger root, turmeric and boswellia (frankincense). Other nonherbal dietary supplements — including omega-3 fish oil and antioxidants — are helpful when you don't get enough of these nutrients in your diet.

Always talk to your doctor before starting any supplement regimen, because some dietary supplements can interact with prescription medications.

Specific nutrients and botanicals

Even if you're eating plenty of food, that doesn't always translate to good nutrition. Due to poor eating habits and an abundance of foods that lack essential nutrients, many people aren't getting adequate vitamins and minerals for optimal nutrition.

These nutritional deficiencies can adversely impact many areas of your health and overall well-being — including your energy levels and mood, mental functioning, inflammation levels, and immune response. Good nutrition can even affect how well your body recovers from an injury or surgery. In fact, studies show that people who take certain dietary supplements before and/or after surgery experience several benefits, including fewer complications from infection, better wound healing and faster recovery.

Below are some dietary supplements that can help with pain management. Talk to your doctor about which ones might benefit you.


Curcumin is the active ingredient in the spice turmeric, which comes from a plant in the ginger family. Popular for centuries in Asia for its health benefits, turmeric recently has been the subject of much research in the West. Preliminary studies suggest that curcumin (which is what gives turmeric its bright orange color) has a number of health-promoting benefits. For example, it helps your body to maintain a normal response to inflammatory events, such as reducing soreness and tenderness after strenuous physical activity or promoting healing after surgery or an injury.


Bromelain is a mixture of enzymes found in the stem and fruit of the pineapple plant. Used topically, bromelain can bring relief to wounds and burns. As a dietary supplement, bromelain can be effective for reducing bruising or swelling after an injury or muscle soreness after exercise. Preliminary research also suggests that bromelain can improve post-surgery outcomes: One study found that when patients were given bromelain before surgery, they had reduced soreness and swelling after the procedure.


Melatonin is a hormone that's naturally produced in the brain by your pineal gland. In supplement form, melatonin is created in a laboratory. Melatonin's primary purpose appears to be regulating sleep — and it has been extensively studied for how it might help people with sleep disorders. Studies have also found that melatonin might have analgesic effects, and it has been studied to determine if it can help relieve pain post-surgery, and in conditions such as fibromyalgia, endometriosis and migraine.


Probiotics are a type of "good" bacteria that provide health benefits when introduced into your body. Just like the existing helpful bacteria in your body already do, probiotics can aid digestion and help provide a balance of healthy bacteria in your intestines, which helps maintain a normal inflammatory response in your GI tract. Probiotics are commonly found in yogurt and are also available in dietary supplements.

Your doctor may recommend a probiotic dietary supplement to help treat occasional diarrhea and nonchronic intestinal conditions. Because probiotics boost the health of your microbiome — the trillions of microorganisms that live in your body — your doctor may recommend a probiotic dietary supplement for surgical care. Research suggests that using probiotics before surgery can help you heal and improve your digestion after surgery.

Proteins and amino acids

Proteins, and the amino acids that create them, are your body's primary building blocks. They're vital for cell renewal, tissue growth and repair, and other body functions. They play a significant role in rebuilding tissues after injury.

Two amino acids that may be of particular interest are:

  • Arginine. Arginine is an amino acid that stimulates immune cells, promotes wound healing and acts as a precursor of nitric oxide — which aids in circulation. Arginine is produced naturally in your body; however, supplementing your natural levels can be helpful in certain cases. For example, studies indicate that using arginine before surgery can result in a shorter recovery time.
  • Glutamine. Like arginine, glutamine is produced in your body and is an important fuel for your body's immune response. Glutamine promotes wound healing, supports immune function and provides energy for intestinal cells. Research suggests that supplementing with glutamine before surgery can also result in shorter post-operative recovery times.

Omega-3 fatty acids

Omega-3 fatty acids are polyunsaturated fatty acids that provide a number of benefits to your body, including supporting cell maintenance, digestion and fertility. Omega-3s are found in fatty fish (salmon, tuna and trout), shellfish (crab, mussels and oysters), some vegetable oils, flaxseed oil and also in dietary supplements.

Omega-3 fatty acids also help the body respond in a normal fashion to conditions that can cause inflammation, and, as a result, may be helpful in managing the swelling and soreness caused by such conditions. They also appear to provide nutritional support to individuals who suffer from headaches. Some research suggests that omega-3 supplements should be taken in the weeks prior to having surgery. Substantial research on the potential benefits of omega-3 fatty acids is ongoing.

Vitamin D

Vitamin D is perhaps best known for its role in bone health, because vitamin D is vital for helping your body absorb calcium. But vitamin D plays an important role in other body systems, too, including supporting healthy immune function and helping the body respond normally to inflammatory conditions.

Vitamin D is found naturally in very few foods — primarily fatty fish, such as salmon, tuna and mackerel, and fish liver oils. It is added to other foods, such as milk, and is synthesized in your skin when you're exposed to sunlight. Vitamin D is also available as a dietary supplement.


Magnesium is a mineral found in your body. It is also present naturally in many foods, including milk, brown rice, black beans, certain nuts and as an additive in other foods. As a dietary supplement, magnesium comes in several forms, including magnesium oxide, magnesium citrate and magnesium chloride.

Healthy magnesium levels may help relieve muscle cramps and spasms. It may also provide nutritional support to individuals who tend to get migraine headaches. Additionally, research has found that magnesium supplementation may play a positive role after surgery. In studies, individuals who took magnesium before surgery ranked their pain lower in the first 24 hours after surgery.

Dec. 15, 2017

See also

  1. 6 tips for living well with ankylosing spondylitis
  2. A Pain-Free Thumbs Up!
  3. Achilles tendon rupture
  4. Acid reflux and GERD
  5. ACL injury
  6. Acute coronary syndrome
  7. Acute myelogenous leukemia
  8. Airplane ear
  9. Anal cancer
  10. Anal itching
  11. Ankylosing spondylitis
  12. Ankylosing spondylitis: Am I at risk of osteoporosis?
  13. Ankylosing spondylitis: Eat well for bone health
  14. Ankylosing spondylitis: Exercising safely
  15. Ankylosing spondylitis: Reduce your risk of falling
  16. Ankylosing spondylitis: Understand your treatment options
  17. Appendicitis
  18. Arthritis creams
  19. Avascular necrosis (osteonecrosis)
  20. Back pain
  21. Infographic: Back Pain
  22. Back surgery: When is it a good idea?
  23. Banish back pain
  24. Base tan? Bad idea
  25. Bee sting
  26. Bell's palsy
  27. Bipolar disorder
  28. Bipolar disorder and alcoholism: Are they related?
  29. Bipolar disorder in children: Is it possible?
  30. Bipolar medications and weight gain
  31. Bipolar treatment: I vs. II
  32. Blood Cancers and Disorders
  33. Blood tests for heart disease
  34. Broken collarbone
  35. Broken hand
  36. Broken nose
  37. Broken ribs
  38. Bunions
  39. Burns
  40. Bursitis
  41. Calcium supplements: A risk factor for heart attack?
  42. Can vitamins help prevent a heart attack?
  43. Cardiogenic shock
  44. Cellulitis
  45. Cellulitis: How to prevent recurrent episodes
  46. Cellulitis infection: Is it contagious?
  47. Cervical spondylosis
  48. Chelation therapy for heart disease: Does it work?
  49. Chest pain
  50. Chronic daily headaches
  51. Chronic pelvic pain
  52. Chronic sinusitis
  53. Cluster headache
  54. Collecting Pennies Through the Pain
  55. Complex regional pain syndrome
  56. Contact dermatitis
  57. Costochondritis
  58. Cough headaches
  59. Cyclothymia (cyclothymic disorder)
  60. Daily aspirin therapy
  61. De Quervain tenosynovitis
  62. Deep heat treatment
  63. Degenerative changes in the spine: Is this arthritis?
  64. Diffuse idiopathic skeletal hyperostosis (DISH)
  65. Diphtheria
  66. Diverticulitis
  67. Ewing sarcoma
  68. Factor V Leiden
  69. Fasting diet: Can it improve my heart health?
  70. Fibromyalgia
  71. Flu Shot Prevents Heart Attack
  72. Flu shots and heart disease
  73. Folliculitis
  74. Football Spinal Cord Injury - The Chris Norton Story
  75. Frostbite
  76. Frostbite: First aid
  77. Gaucher disease
  78. Genital herpes
  79. Genital herpes: Can you get it from a toilet seat?
  80. Geographic tongue
  81. Getting active after acute coronary syndrome
  82. Giant cell arteritis
  83. Glucosamine: Does it protect cartilage in osteoarthritis?
  84. Golf and Wrist Pain
  85. Grass-fed beef
  86. Growth plate fractures
  87. Hammertoe and mallet toe
  88. Headaches 101: Know your type
  89. Headaches and hormones
  90. Headaches: Treatment depends on your diagnosis and symptoms
  91. Healthy eating: One step at a time
  92. Healthy Heart for Life!
  93. Heart attack
  94. Heart attack prevention: Should I avoid secondhand smoke?
  95. Heart attack symptoms
  96. Heart Attack Timing
  97. Heart disease
  98. Heart disease in women: Understand symptoms and risk factors
  99. Heart-healthy diet: 8 steps to prevent heart disease
  100. Slide show: Heart-healthy eating after acute coronary syndrome
  101. Heartburn
  102. Heartburn or chest pain?
  103. Heat therapy
  104. Hemophilia
  105. Herniated disk FAQs
  106. High potassium (hyperkalemia)
  107. Hives and angioedema
  108. How do ankylosing spondylitis and pregnancy affect each other?
  109. Ice therapy
  110. Impacted wisdom teeth
  111. Ingrown hair
  112. Inguinal hernia
  113. Intervention: Help a loved one overcome addiction
  114. Jellyfish stings
  115. Keratitis
  116. Kidney infection
  117. Knee bursitis
  118. Lead poisoning
  119. Living better with ankylosing spondylitis
  120. Lyme disease
  121. Mayo Clinic Minute - Health Precautions You Need to Know About Pedicures
  122. Mayo Clinic Minute: Why the risk of frostbite is greater than you think
  123. Menstrual cramps
  124. Mental health: Overcoming the stigma of mental illness
  125. Mental health providers: Tips on finding one
  126. Mental illness
  127. Menus for heart-healthy eating
  128. Mittelschmerz
  129. Mumps
  130. Myelofibrosis
  131. Myelofibrosis
  132. Myofascial release therapy: Can it relieve back pain?
  133. Nail fungus
  134. Neurofibromatosis
  135. What is ulcerative colitis? A Mayo Clinic expert explains
  136. Nighttime headaches: Relief
  137. NSAIDs: Do they increase my risk of heart attack and stroke?
  138. Nuts and your heart: Eating nuts for heart health
  139. Omega-3 in fish
  140. Omega-6 fatty acids
  141. Oral lichen planus
  142. Oral thrush
  143. Osteoarthritis
  144. Osteochondritis dissecans
  145. Osteomalacia
  146. Osteomyelitis
  147. Pain Management
  148. Painful intercourse (dyspareunia)
  149. Patellofemoral pain syndrome
  150. Pelvic inflammatory disease (PID)
  151. Periodontitis
  152. Phantom pain
  153. Pilonidal cyst
  154. Pinched nerve
  155. Plantar fasciitis
  156. Plantar warts
  157. Polymyalgia rheumatica
  158. Polypill: Does it treat heart disease?
  159. Postherpetic neuralgia
  160. Priapism
  161. Protein: Heart-healthy sources
  162. Put fish on the menu
  163. Ramsay Hunt syndrome
  164. Mayo Clinic Minute: Rattlesnakes, scorpions and other desert dangers
  165. Reactive arthritis
  166. Red wine, antioxidants and resveratrol
  167. Rickets
  168. Ruptured spleen
  169. Sacroiliitis
  170. Sciatica
  171. Scorpion sting
  172. Scrotal masses
  173. Shave better to reduce ingrown hairs
  174. Shingles
  175. Shingles and alcohol
  176. Shingles vaccine: Can I transmit the vaccine virus to others?
  177. Shingles vaccine: Should I get it?
  178. Silent heart attack
  179. Sinus headaches
  180. Sleeping positions that reduce back pain
  181. Causes of back pain
  182. Somatic symptom disorder
  183. Spider bites
  184. Spinal cord injury
  185. Spinal stenosis
  186. Sprains
  187. Heart disease prevention
  188. Stress and headaches: Stop the cycle
  189. Stress fractures
  190. Sun allergy
  191. Sun damage
  192. Sunburn
  193. Swimmer's ear
  194. Syringomyelia
  195. Tailbone pain
  196. Tendinitis
  197. Tendinitis pain: Should I apply ice or heat?
  198. Integrative approaches to treating pain
  199. Pain rehabilitation
  200. Self-care approaches to treating pain
  201. Thumb arthritis
  202. Thumb Reconstruction
  203. Thunderclap headaches
  204. Transverse myelitis
  205. Trigeminal neuralgia
  206. Ulcerative colitis
  207. Ulcerative colitis flare-ups: 5 tips to manage them
  208. Varicocele
  209. Video: Allergy or irritant: The truth about your rash
  210. Video: Heart and circulatory system
  211. Heartburn and hiatal hernia
  212. Vulvar cancer
  213. West Nile virus
  214. What is meant by the term "heart age"?
  215. Wisdom teeth removal: When is it necessary?
  216. Infographic: Women and Heart Disease
  217. Wrist pain