If you avoid nuts and seeds, you can still build magnesium-rich meals from beans, lentils, whole grains, leafy greens, avocado and dark chocolate. Nuts and seeds are the densest sources, so the job is replacing them with other foods, not just leaving them out. This guide shows which foods fit, how to read the portion figures, and what to check on labels.

Which foods give you magnesium without nuts or seeds?
Beans, lentils, whole grains, leafy greens, avocado and dark chocolate are the main answers. Cleveland Clinic’s magnesium sleep article lists leafy greens such as spinach and Swiss chard, legumes such as black beans, edamame and lentils, whole grains such as quinoa, oats and brown rice, dark chocolate and salmon. It also says magnesium is widely available in both plant and animal foods.
The Tutti Bear article titled “Magnesium-rich foods: a list that actually helps” names lentils, chickpeas, kidney beans, buckwheat, wholegrain bread, cocoa, avocados, bananas and some mineral waters as smaller contributors.
Swolverine’s June 27, 2021 article “12 Magnesium Rich Foods” gives the per-serving figures in the table below. Read them with three points in mind:
- Serving sizes differ. Soymilk and avocado are 1 cup, potato is 3.5 oz, yogurt is 8 oz, and spinach, black beans and edamame are ½ cup each.
- The Swolverine article does not say whether its spinach figure is for raw or cooked spinach, or which food database entry its numbers come from.
- Magnesium in food depends on portion, preparation and database entry, so use these figures to compare foods, not to count milligrams to the last one.
| Food | Serving | Magnesium listed | Allergen note |
|---|---|---|---|
| Spinach | ½ cup | 78 mg | Not named on the Office on Women’s Health list of common adult allergens; the Tutti Bear article says oxalates limit how much you absorb |
| Soymilk | 1 cup | 61 mg | Soybeans are on the Office on Women’s Health list of common adult allergens |
| Black beans | ½ cup | 60 mg | Not named on the Office on Women’s Health list of common adult allergens; check against your own allergy history |
| Edamame | ½ cup | 50 mg | Soybeans are on the Office on Women’s Health list of common adult allergens |
| Avocado | 1 cup | 44 mg | Not named on the Office on Women’s Health list of common adult allergens; check against your own allergy history |
| Potato | 3.5 oz | 43 mg | Not named on the Office on Women’s Health list of common adult allergens; check against your own allergy history |
| Yogurt | 8 oz | 42 mg | Milk is on the Office on Women’s Health list of common adult allergens |
Which beans, grains and greens may fit?
Most of them do. Black beans, lentils, oats, brown rice and spinach are all on these food lists, and none is named on the Office on Women’s Health list of common adult allergens. Check each one against your own allergy history.
Beans and lentils. Black beans, edamame, lentils, chickpeas and kidney beans all appear on these lists. Edamame comes from soybeans, so skip it if soy is one of your allergens.
Whole grains. Oats, brown rice, buckwheat and quinoa appear on these lists. The Tutti Bear article says processing strips magnesium, so the closer a grain is to its whole form, the more survives. Swolverine’s article says brown rice contains 11% of the daily recommended intake of magnesium and white rice 2%. Wholegrain bread also appears, but wheat is on the Office on Women’s Health list of common adult allergens, so skip it if wheat is one of yours.
Leafy greens. Spinach, Swiss chard and kale all count. Tutti Bear explains that oxalates, compounds in some greens that bind minerals, limit how much magnesium you absorb from dark leafy greens. Spinach is useful, but it works better as one green among several.
Dark chocolate and cocoa. Cleveland Clinic and the Tutti Bear article both list dark chocolate. Chocolate products differ, so read the label for nut ingredients and any shared-equipment statement before you buy.
Which nuts and seeds are high in magnesium?
Pumpkin seeds, almonds, cashews and peanuts are the nut and seed entries in Swolverine’s list, with pumpkin seeds highest. Tutti Bear also names sunflower seeds and sesame as dense everyday sources, but Swolverine’s table gives no figure for them. Here are the figures for the ones you’re avoiding, so you can see what you’re swapping out.
| Nut or seed to skip | Serving | Magnesium listed |
|---|---|---|
| Pumpkin seeds | 1 oz | 168 mg |
| Almonds | 1 oz | 80 mg |
| Cashews | 1 oz | 74 mg |
| Peanuts | ¼ cup | 63 mg |
How do cross contact and other allergies matter?
Cross contact is when a food with no nut ingredients picks up traces of nuts from shared equipment, a shared production line or a shared kitchen. It is one reason a label matters as much as the ingredient list.
The Office on Women’s Health food allergy page lists the foods that most often cause allergic reactions in adults: shellfish, peanuts, tree nuts, fish, milk, eggs, wheat and soybeans. If one of these is on your list, drop it from your swaps too. The same page explains what reactions look like:
- Symptoms usually develop within a few minutes to an hour after you eat the food.
- For people who have anaphylactic reactions, the Office on Women’s Health says even touching someone who is eating the food can be dangerous.
- Anaphylaxis is a medical emergency. If you have throat tightness, wheezing, trouble breathing, dizziness or fainting after eating something, call 911 right away.
- If you have anaphylactic reactions to certain foods, your doctor may prescribe injectable epinephrine. The page says you need to carry it with you at all times.
For packaged foods, check the label for nut ingredients and ask the maker whether the product shares equipment with nuts. As of November 5, 2026, the nutrition.gov food allergy resources page is an index that links to Food and Drug Administration material on major food allergens and the FDA’s role in food allergy labeling. Read the FDA material it points to before you rely on a label. This is information, not legal advice.
Can a dietitian help with several restrictions?
This guide covers foods, not a professional meal plan. Ask your doctor whether a dietitian can help you plan meals around nuts, seeds and any other allergens you have.
What can the research tell you about magnesium in these foods?
Magnesium is the second most abundant mineral in the body, and it takes part in over 300 biochemical reactions, according to a 2025 review of magnesium in sleep disorders.
Plant foods do not deliver all their magnesium. Tutti Bear explains that phytates, compounds in grains, seeds and greens that bind minerals, and oxalates bind part of the magnesium before you absorb it. A food table tells you what a food contains, not what your body takes in.
Tutti Bear also says magnesium status cannot be judged from one measure. The most reliable assessment combines serum magnesium (a blood measure), urinary magnesium (a urine measure) and dietary intake.
Other magnesium questions from the same search
Why does magnesium matter?
The 2025 review calls magnesium an essential cofactor, a helper that many enzymes need, and says it plays a role in energy generation and muscle relaxation. That is why food sources matter, even if you are not sure your magnesium is low.
What are the signs of magnesium deficiency, and what hurts when magnesium is low?
A list of signs cannot tell you whether your magnesium is low, because common symptoms have many possible causes. Cleveland Clinic says a true magnesium deficiency is not very common in healthy adults, but your risk may be higher if you are over 65, have type 2 diabetes, have a gastrointestinal condition such as Crohn’s disease or celiac disease, or have chronic alcohol dependence. If muscle or nerve symptoms are what’s bothering you, our guide magnesium for muscle and nerve health covers that side of magnesium.
What drains magnesium from your body?
Cleveland Clinic says your kidneys help remove excess magnesium, and that if they aren’t working properly, magnesium can build up to dangerous levels. The risk factors for low magnesium listed above are a separate point: they describe who is more likely to be low, not what removes magnesium. Tutti Bear’s point about phytates and oxalates is about absorption from food.
Does magnesium act as an antihistamine?
For allergy symptoms, ask your doctor or allergist what to use.
Who should not take magnesium supplements?
Cleveland Clinic says to talk to your provider before taking magnesium if you have chronic kidney disease or other kidney problems, or if you use prescription medicines. It names certain antibiotics, osteoporosis medicines and diuretics as examples that can interact with magnesium. Tutti Bear advises talking to a healthcare professional first if you are pregnant, breastfeeding, ill or taking medication.
Very high amounts can lead to magnesium toxicity, which Cleveland Clinic describes as muscle weakness, low blood pressure, a slow heart rate and trouble breathing. Our magnesium overdose guide covers upper limits and drug interactions in more detail.
Why don’t doctors recommend magnesium?
Cleveland Clinic says the evidence for magnesium as a sleep aid is thin, and that proven sleep habits may be a better place to start. Some people do find it helps them, so whether it fits your situation is a question for your doctor or pharmacist.
Should a 70-year-old woman take magnesium?
Cleveland Clinic lists being over age 65 as a risk factor for low magnesium. It also names kidney problems and prescription medicines as reasons to check with a provider first. Whether a supplement makes sense for a 70-year-old woman is a question for her doctor or pharmacist, who can check her medicines and kidney health. If she is comparing labels, our guide to reading a magnesium supplement label explains what to check.
Planning a nut-free magnesium food change
Start with the swaps you already make. These are meal ideas, not magnesium matches. No per-serving magnesium figure is given here for dark chocolate, oats or lentils, so each swap is about filling the same spot in your day.
| Habit you’d change | Nut-free meal idea from this page |
|---|---|
| A handful of nuts mid-morning | A square of dark chocolate, as a dessert rather than a nut replacement |
| Seeds sprinkled over yogurt or salad | Avocado or spinach in the salad |
| Nut-topped breakfast cereal | Oats at breakfast instead of refined cereal |
| A nut snack | A soup with lentils or beans at lunch |
For a feasible week, follow these steps:
- Pick one anchor for each meal from foods that contain no nuts as ingredients, if the label confirms: oats at breakfast, a bean or lentil soup at lunch, and spinach or avocado at dinner.
- Keep dark chocolate for dessert.
- Rotate between beans, lentils and whole grains so you are not relying on one food.
Even a food with no nut ingredients can carry traces from shared equipment, so read each packaged label and ask the maker about shared equipment.
Before you start
- Confirm your full list of allergens with your doctor or allergist.
- Ask whether a dietitian can help plan meals around your restrictions.
- Read ingredient lists and shared-equipment statements on every packaged food.
Your next step is small: choose two swaps from the table this week, and write down what you ate each day so you can see your pattern.
By BackToHealthTroy.com Editorial Team