Magnesium-rich foods include seeds, nuts, beans, whole grains and leafy greens. A useful shopping list shows the serving size as well as the nutrient amount. Start with foods you enjoy, then plan where they fit into meals instead of chasing the single highest number. Healthdirect’s food guide identifies these food groups as practical sources.
Which foods contain magnesium?
The amount depends on the food and the portion. The reference servings below come from one NIH table so that the comparison uses a consistent source. “Cooked” and “boiled” are part of the food descriptions; do not silently substitute the same volume of a raw ingredient.
| Food | Reference portion | Magnesium |
|---|---|---|
| Pumpkin seeds, roasted | 1 oz | 156 mg |
| Almonds, dry roasted | 1 oz | 80 mg |
| Spinach, boiled | 1/2 cup | 78 mg |
| Black beans, cooked | 1/2 cup | 60 mg |
| Brown rice, cooked | 1/2 cup | 42 mg |
| Banana | 1 medium | 32 mg |
Source: NIH Office of Dietary Supplements, Table 2. These are reference values, not measurements of your exact meal.

Use the Place, Portion, Pair check
Turn the list into a repeatable meal choice with three questions. This is a Yesnap planning tool, not a clinical scoring system.
- Place: Where would you actually eat it? Choose a familiar breakfast, lunch, dinner or snack rather than buying something with no plan.
- Portion: What amount will you use? Write it down before looking up the nutrient value. A pinch, a handful and an ounce are not interchangeable descriptions.
- Pair: What else belongs in that meal? Keep the food you already enjoy and identify one practical addition or substitution.
For example, keep a small container of nuts beside the food you normally pack for work, or plan a bean-and-rice bowl for a night when those ingredients are already on hand. Choose options that fit your allergies, preferences and any prescribed eating plan.
For total-intake guidance by life stage, see how much magnesium women need per day. This article focuses on choosing foods, rather than setting a supplement dose.
What does a combination look like?
Several ordinary ingredients can contribute within the same meal. Using the table above, half a cup each of cooked brown rice, cooked black beans and boiled spinach has an illustrative magnesium subtotal of 180 mg: 42 + 60 + 78. This arithmetic is a planning example, not a complete meal prescription or laboratory analysis.

Start with the combination as a shopping prompt: do you like each ingredient, will you prepare it, and what would make the meal work for your household? There is no need to force every ingredient into one bowl or repeat the same menu every day.
How should you read a packaged-food label?
Check serving size before comparing numbers. FDA explains that label amounts usually describe one serving, while a package may contain more than one. If magnesium is listed, compare the amount for the portion you plan to eat. The Daily Value is a labeling reference, not an individualized target. Read the FDA label guide.
Do not use a front-of-pack adjective as your whole shopping method. Look at the overall food, preparation time, price and whether you will enjoy eating it. A nutrient table is useful only if the food becomes part of a realistic routine.
Does eating these foods mean you need a supplement?
A food list alone cannot determine whether you need supplementation. Healthdirect notes that medical conditions can affect magnesium status and advises speaking with a doctor or pharmacist before taking a supplement. See its supplement guidance.
If you are comparing an evening product, review the current MagicRelax product page alongside the label on the product you receive. This food guide does not establish a dose, certification, safety profile or finished-product benefit for MagicRelax.
A practical next step
Choose one food, one portion and one meal. Add that choice to your next shopping list. After trying it, keep what works and adjust what does not. Consistency starts with a meal you want to eat.

Yesnap MagicRelax Magnesium Evening Complex
Considering an evening product? Explore MagicRelax and compare the current product information with its label before choosing your routine.
Food choices and supplement decisions are separate. This guide does not verify the finished product’s claims.
Frequently asked questions
Are pumpkin seeds higher in magnesium than almonds?
In the NIH reference table, one ounce of roasted pumpkin seeds supplies 156 mg and one ounce of dry-roasted almonds supplies 80 mg. Compare the specified portions, not an unspecified handful.
Is a banana a source of magnesium?
Yes. The NIH table lists 32 mg for a medium banana. It can contribute without being the highest-magnesium food on the list.
Can I get magnesium from food without taking a supplement?
Healthdirect says most people can obtain what they need from food. Individual health circumstances can change that assessment; a food checklist cannot diagnose deficiency or determine treatment.
Do I need to eat these foods at bedtime?
This guide is a meal-planning tool and makes no bedtime or sleep-benefit claim. Place foods where they fit your normal meals, preferences and any individual advice you have received.
Sources
- NIH ODS: Magnesium, Health Professional Fact Sheet — government evidence review and food-composition reference table; not an analysis of a Yesnap product.
- Healthdirect: Foods high in magnesium — public health guidance; not personalized dietary advice.
- FDA: How to Understand and Use the Nutrition Facts Label — US labeling guidance.
Sources checked September 17, 2026. By Yesnap.
