Healthy Eating With Primary Immunodeficiency

Healthy Eating With Primary Immunodeficiency

Healthy Eating With Primary Immunodeficiency
Adobe Stock

Primary immunodeficiency (PI) is a group of disorders in which the immune system doesn’t work as well as it should, causing infections to be more frequent, more severe, and harder to recover from. That can affect many parts of daily life, including which foods and supplements you should include in your diet and which to avoid.

The good news: For most people with PI, it’s not complicated. Healthy eating starts with the same foundation as it does for anyone else. However, some eating patterns need adjusting because of the risk of infections, digestive symptoms, poor appetite, and foodborne illness.

While important, good nutrition alone won’t boost your immune system, but it can help support immune cell function and help prevent cell damage. The key is knowing when diet advice needs to be tweaked for a body that may have a harder time fighting germs or recovering from illness to help you stay as healthy as possible.

Benefits of Healthy Eating for Primary Immunodeficiency

While no special diet is needed for most people with PI, the ideal eating pattern is nutrient dense and provides enough protein, carbohydrates, fats, fiber, vitamins, and minerals to meet the body’s needs, says Julia Zumpano, RD, of Cleveland Clinic in Ohio.

These are the key dietary components and their roles in the body, according to Zumpano:

  • Fiber, essential for fostering healthy gut microbiota, which is often compromised in people with PI
  • Protein, an essential macronutrient for tissue repair
  • Nutrients that support immune cell signaling, including protein, fats, and carbohydrates, as well as micronutrients such as zinc, selenium, and iron
An inadequate diet may make it harder for the body to stay resilient, heal, and keep up with daily demands.

Research suggests that people with PI are at a higher risk for malnutrition, which can further compromise immunity and make some symptoms more severe.

Zumpano confirms that malnutrition is an issue for some of her clients with PI. Other concerns include poor appetite, weight loss, malnutrition, vitamin and mineral deficiencies, dehydration, and digestive symptoms such as diarrhea, constipation, nausea, gas, indigestion, cramping, and abdominal pain.

For most people with PI, a balanced diet that focuses on lean proteins, whole grains, and plenty of fruits and vegetables will check all the recommended boxes. Unless a person with a PI has another condition, like diabetes, food allergies, or a gluten sensitivity, special diets aren’t necessary.

It’s also important to aim for a healthy weight when you have primary immunodeficiency. Having extra weight or obesity promotes inflammation and can lead to autoimmune problems that increase the risk of poor wound healing, as well as respiratory and gastrointestinal infections.

Foods to Avoid — and Why

Because people with PI may be more vulnerable to infections, food safety is a bigger part of healthy eating. The main concern is food that may carry bacteria such as listeria or salmonella, says Zumpano.

That does not mean every person with PI needs the same level of restriction. The safest approach is to ask your immunologist or dietitian how cautious you need to be, based on your diagnosis, treatment plan, infection history, and overall health.

First, make sure you follow the basics of safe food prep: Wash your hands, keep raw meat away from other foods, cook foods to safe temperatures, and refrigerate perishables promptly. Keep the refrigerator at 40 degrees F or lower, and thaw food in the refrigerator, not on the counter.

Undercooked Meats Raw or undercooked meat, poultry, and seafood are among the higher-risk foods for people with weakened immune systems. That includes rare steak, undercooked chicken and turkey, sushi, sashimi, ceviche, and raw oysters.

Using a food thermometer is the easiest way to know whether food is safe. Zumpano recommends cooking poultry and leftovers to 165 degrees F, ground meat to 160 degrees F, and beef, pork, lamb, and fish to 145 degrees F.

Deli meat, cold cuts, hot dogs, and fermented and dry sausages should be reheated to 165 degrees F or until steaming hot.

Raw or Undercooked Eggs Raw or undercooked eggs can carry bacteria, primarily salmonella, which makes runny yolks, raw cookie dough, raw batter, homemade eggnog, and some Caesar dressings (typically in restaurants or homemade if raw eggs are an ingredient) a concern.

“Eggs should be cooked until the yolks and whites are firm,” says Zumpano. For foods that will not be cooked to a safe temperature — such as mousse, homemade dressing, or other recipes using raw eggs — pasteurized eggs are the safer choice.

Premade deli salads, such as potato salad, tuna salad, chicken salad, egg salad, and coleslaw, can also be riskier choices. Homemade versions are safer because you can control the ingredients, cleanliness, storage, and timing.

Raw Cheese and Other Dairy Products Unpasteurized milk and dairy products made from raw milk should be avoided. Soft cheeses made from unpasteurized milk — such as queso fresco, Brie, Camembert, and blue-veined cheeses — can be risky.

Safer choices include pasteurized milk and cheeses such as Cheddar and Swiss, cottage cheese, cream cheese, string cheese, and feta when made from pasteurized milk. Pasteurized soft cheeses and deli-sliced cheeses can be made safer by heating them to 165 degrees F or until steaming hot.

Fruits and Vegetables Food safety precautions apply to produce as well, says Zumpano. “Wash fruits and vegetables thoroughly under running water, and avoid precut and packaged salads,” she says.

Safe Drinking Water

Water can carry germs, especially when it comes from an unknown or untreated source.

Zumpano recommends the following practices for people with PI:

  • Avoid well water unless it’s tested and found safe.
  • Boil water at least one minute if you are unsure of its source.
  • Choose distilled or reverse osmosis water as often as possible.

Spring water and mineral water are not guaranteed safe, she says.

Clean water can become contaminated if kept in an open, dirty, or reused container for too long. Use clean, covered, food-grade containers, and avoid drinking water that has been sitting around for an extended period.

Supplements

There are no specific vitamin or mineral supplements routinely recommended for everyone with PI, says Zumpano.

“But that doesn’t mean supplements are never useful: If bloodwork shows a deficiency, a doctor or dietitian may recommend a targeted supplement,” she says.

According to Zumpano, nutrients that may be considered include zinc, selenium, iron, and vitamins A, D, and C — but never take these without checking with your doctor first.

This is particularly important if you are considering using supplement products marketed as “immune boosting.” The Immune Deficiency Foundation notes that studies on immune boosters such as probiotics, multivitamins, and echinacea remain inconclusive, and nothing has been shown consistently to boost the immune system.

For people with PI, that language can be especially misleading. A supplement that claims to support immunity may not be helpful, and it could interfere with medications or treatments, says Zumpano.

If you’re curious about a supplement, the safest move is to bring the bottle or a photo of the full label to your next appointment so your care team can check the ingredients, dose, and possible interactions.

The Takeaway

  • Most people with primary immunodeficiency do not need a special diet, but they do need a consistent healthy and balanced diet.
  • Because PI can make infections harder to fight, food safety matters — especially avoiding raw or undercooked foods, unpasteurized dairy products, and water from unsafe sources.
  • Supplements that claim to be “immune-boosting” are not a shortcut and may cause problems, so check with your doctor or dietitian before taking them.
  • Your care team can help you decide how cautious you need to be about food choices based on your diagnosis, treatment plan, infection history, and nutrition needs.
EDITORIAL SOURCES
Everyday Health follows strict sourcing guidelines to ensure the accuracy of its content, outlined in our editorial policy. We use only trustworthy sources, including peer-reviewed studies, board-certified medical experts, patients with lived experience, and information from top institutions.
Resources
  1. Healthy Diet, Exercise Key in General Care for PI. Immune Deficiency Foundation. April 7, 2022.
  2. Freer M et al. Dietary Intakes and Nutritional Issues in Inborn Errors of Immunity: A Systematic Review. Frontiers in Immunology. September 27, 2024.
  3. Refrigerator Thermometers - Cold Facts about Food Safety. U.S. Food and Drug Administration. March 5, 2024.
  4. Safer Food Choices for People With Weakened Immune Systems. Centers for Disease Control and Prevention. May 2, 2024.
  5. What You Need to Know About Egg Safety. U.S. Food and Drug Administration. March 5, 2024.
  6. Dairy and Eggs (Food Safety for Moms-to-Be). U.S. Food and Drug Administration. September 27, 2018.
  7. Stay healthy! A Guide for Patients and Their Families. International Patient Organisation for Primary Immunodeficiencies. January 2012.
Lynn Griger photo

Lynn Grieger, RDN, CDCES

Medical Reviewer

Lynn Grieger is a registered dietitian-nutritionist, certified diabetes care and education specialist, certified personal trainer, and certified health and wellness coach. She comp...

Becky Upham, MA

Becky Upham

Author

Becky Upham has worked throughout the health and wellness world for over 25 years. She's been a race director, a team recruiter for the Leukemia and Lymphoma Society, a salesperson...