Riboflavin (Vitamin B2): Neon Pee, the Migraine Research, and the Foods That Cover Your Day

Riboflavin (Vitamin B2): Neon Pee, the Migraine Research, and the Foods That Cover Your Day

Riboflavin is the B vitamin that turns your urine bright yellow after a multivitamin. That is harmless, and it is a good clue to how the vitamin works. Riboflavin is also the B vitamin people ask about for migraines, where the research is promising but messy. Most people get enough from food, and a simple bowl covers the day.

What does riboflavin do

Riboflavin, also called vitamin B2, is a water-soluble B vitamin. Your body turns it into two coenzymes, flavin mononucleotide (FMN) and flavin adenine dinucleotide (FAD). Cells use these to run the chemical reactions that turn food into energy, many of them inside the mitochondria. More than 100 enzymes are known to bind FAD or FMN (The Vitamins, 5th ed., Ch 12).

Flavins also help other vitamins work. They are needed to make the active forms of vitamin B6 and folate, and to make niacin from the amino acid tryptophan (The Vitamins, 5th ed., Ch 12 to 14).

How much riboflavin do you need per day

GroupAmount per day
Men 19 and older (RDA)1.3 mg
Women 19 and older (RDA)1.1 mg
Daily Value on food labels1.3 mg

Your body absorbs riboflavin from food very well. The bioavailability from food is reported to be close to 95 percent (Linus Pauling Institute).

Why does riboflavin turn urine bright yellow

Riboflavin is a yellow compound. When you take in more than your body is holding onto, the extra leaves in your urine, and enough of it turns urine a bright, almost neon yellow. The term is flavinuria, and it is a harmless side effect (Linus Pauling Institute).

There is also a ceiling on how much you can absorb at once. In a 1996 study of 9 healthy adults given oral doses of 20, 40, and 60 mg, the most that could be absorbed from a single dose was about 27 mg (Zempleni 1996, PMID 8604671). The same study found that urine handles about half of how riboflavin leaves the blood.

So the neon color is not a sign that a supplement is "working." It is a sign you already had enough.

Is too much riboflavin harmful

No harm from high riboflavin intake is known in humans, and the Food and Nutrition Board did not set a tolerable upper intake level when it revised the RDA in 1998 (Linus Pauling Institute).

In the main migraine trial below, which used 400 mg a day, side effects were minor: 2 people on riboflavin had diarrhea or needed to urinate more often, and 1 person on placebo had stomach cramps (Schoenen 1998, PMID 9484373).

Does riboflavin help with migraines

This is the question most people bring to riboflavin.

Why it was tested. Riboflavin supports the energy machinery inside cells. Some evidence links migraine to how that machinery works in the brain, which is why researchers tried high doses.

The first trial. In 1998, 55 people with migraine were randomized to 400 mg of riboflavin a day or a placebo for 3 months. Riboflavin beat placebo on attack frequency and on headache days. 59 percent of people on riboflavin had at least 50 percent fewer headache days, compared with 15 percent on placebo. That is about 6 in 10 versus about 1 in 7. The effect was strongest in the third month (Schoenen 1998, PMID 9484373).

For scale, 400 mg is about 300 times the 1.3 mg Daily Value.

The guideline. In 2012, the American Academy of Neurology and the American Headache Society reviewed complementary treatments for preventing episodic migraine in adults and rated riboflavin "probably effective" (Level B) (Holland 2012, PMID 22529203).

The pooled research. A 2022 systematic review pooled 9 studies with 673 people and found that riboflavin, usually 400 mg a day for 3 months, reduced migraine days, frequency, duration, and pain scores (Chen 2022, PMID 33779525). A 2026 review pooled 12 trials with 749 people and found fewer and shorter attacks, with larger effects at doses up to 400 mg a day (Amini 2026, PMID 41769676).

The honest part. In both reviews, the trials disagreed with each other a lot. The 2026 authors noted that some included studies had no control group and some were small. Results in children and teens are mixed. The Linus Pauling Institute sums it up as "somewhat conflicting," with more research needed.

What that means for you. Riboflavin for migraine prevention is promising and unsettled. It is a reasonable question to bring to the clinician who treats your headaches. It is not a reason to start a high-dose supplement on your own, and never a reason to change a medication you already take.

Does light destroy riboflavin

Yes. Riboflavin is heat-stable, so cooking does not wreck it, but it is easily destroyed by light. Up to 50 percent of the riboflavin in milk in a clear glass bottle can be destroyed after 2 hours in bright sunlight (Linus Pauling Institute).

A 2015 study stored 2 percent milk cold under constant light in plastic jugs. In a light-protected package, riboflavin dropped 10.5 percent by day 29. The jug with the most light-blocking pigment lost 28.5 percent, and the other 3 packages lost more than 40 percent (Johnson 2015, PMID 25660743).

So packaging that blocks more light protects more of it, and a closed fridge is dark most of the time.

Foods high in riboflavin

Values from USDA FoodData Central. The Daily Value is 1.3 mg. Food values vary, so read these as about.

FoodServingRiboflavin (mg)
Beef liver, pan-fried3 oz2.91
Yogurt, plain, low-fat1 cup0.52
Milk, 2%1 cup0.45
Almonds, dry roasted1 oz0.34
White mushrooms, raw1 cup sliced0.28
Egg, hard-boiled1 large0.26
Spinach, boiled1/2 cup0.21
Quinoa, cooked1 cup0.20
Salmon, Atlantic, cooked3 oz0.11
Chicken breast, roasted3 oz0.10

Dairy is an easy source. If you skip dairy, eggs, almonds, mushrooms, and meat cover the day. Fortified cereals and enriched breads add some too.

Who is at risk of low riboflavin

Real deficiency is uncommon in people who eat enough food. When it shows up, it tends to come with other nutrient shortfalls too.

Inadequate diet is the most likely cause, and that typically means low milk intake. Milk and milk products supply about 50 percent of the riboflavin in the American diet (The Vitamins, 5th ed., Ch 12). Risk is higher in people who eat very little overall, including some older adults, people who cut out dairy without replacing it, and people with heavy alcohol use, since alcohol gets in the way of both digesting and absorbing riboflavin.

Signs include a sore throat, redness and swelling of the lining of the mouth and throat, cracks at the corners of the mouth and on the lips, a magenta tongue, a scaly skin rash, eye changes, and a type of anemia (Linus Pauling Institute). Each of these has many possible causes, so they are a reason to see a clinician, not a reason to buy a supplement.

Do athletes need more riboflavin

Maybe a little. A 2006 review of B vitamins and exercise says exercise may increase the requirements for riboflavin and vitamin B6 (Woolf and Manore 2006, PMID 17240780). The data are limited, and no specific higher target has been set.

The bigger risk for people who train is not eating enough to fuel training, or cutting out whole food groups. Eat enough, keep dairy or the swaps above, and riboflavin is covered.

A riboflavin-rich recipe

Warm mushroom and spinach quinoa bowls with eggs and toasted almonds

About 1.5 mg of riboflavin per bowl, a little more than the Daily Value, with no dairy needed. Serves 4, about 30 minutes.

Ingredients

  • 1 1/3 cups dry quinoa, rinsed
  • 8 eggs
  • 2 tbsp olive oil
  • Two 8 oz packs white mushrooms, sliced
  • 2 cloves garlic, minced
  • 1 lb fresh spinach
  • 3/4 tsp salt, black pepper, pinch of red pepper flakes
  • 1 cup whole almonds, roughly chopped
  • 1 lemon

Optional yogurt drizzle: 1/2 cup plain low-fat yogurt, juice of half the lemon, 1 small clove garlic (grated), a pinch of salt, and water to thin.

Method

  1. Simmer the quinoa in 2 2/3 cups water with a pinch of salt, covered, for 15 minutes. Rest 5 minutes off the heat and fluff.
  2. Lower the eggs into boiling water for 10 to 11 minutes, then into ice water. Peel when cool.
  3. Toast the almonds in a dry pan over medium heat for 3 to 4 minutes.
  4. Brown the mushrooms in the oil over medium-high, undisturbed for 3 minutes, then 3 to 4 minutes more until the liquid cooks off.
  5. Add the garlic for 30 seconds, then the spinach in handfuls until wilted. Season and squeeze in half the lemon.
  6. Build the bowls: quinoa, mushrooms and spinach, 2 halved eggs, drizzle, and almonds.

Swaps. No eggs, use 3 oz chicken breast (about 1.1 mg per bowl). Almond allergy, leave them out (about 1.2 mg). Leftovers keep 3 to 4 days refrigerated within 2 hours of cooking; store the almonds separately.

The bottom line

Riboflavin is yellow, and the extra leaves in your urine. That neon color is harmless. For migraine prevention, the research is promising and messy, with one 2012 guideline calling it probably effective, so it is a question for your headache clinician. Light breaks it down and cooking heat does not. Dairy, eggs, almonds, mushrooms, and meat cover your day.

Work with Shawn. Shawn Portwood, MS, RDN, LDN, is a registered dietitian who helps people stop fighting food, whether you are leaving food rules behind, chasing a health goal, or fueling hard training. See how he works at anchorandapex.com/anchor.

References

  1. Schoenen J, Jacquy J, Lenaerts M. Effectiveness of high-dose riboflavin in migraine prophylaxis. A randomized controlled trial. Neurology. 1998;50(2):466-470. PMID 9484373.
  2. Holland S, Silberstein SD, Freitag F, et al. Evidence-based guideline update: NSAIDs and other complementary treatments for episodic migraine prevention in adults. Neurology. 2012;78(17):1346-1353. PMID 22529203.
  3. Chen YS, Lee HF, Tsai CH, et al. Effect of vitamin B2 supplementation on migraine prophylaxis: a systematic review and meta-analysis. Nutr Neurosci. 2022;25(9):1801-1812. PMID 33779525.
  4. Amini S, Heidari Z, Clark CCT, Bagherniya M. The effect of riboflavin on the mean attack frequency, severity, and duration of migraine headaches: a systematic review and dose-response meta-analysis of clinical trials. J Res Med Sci. 2026;31:1. PMID 41769676.
  5. Zempleni J, Galloway JR, McCormick DB. Pharmacokinetics of orally and intravenously administered riboflavin in healthy humans. Am J Clin Nutr. 1996;63(1):54-66. PMID 8604671.
  6. Woolf K, Manore MM. B-vitamins and exercise: does exercise alter requirements? Int J Sport Nutr Exerc Metab. 2006;16(5):453-484. PMID 17240780.
  7. Johnson DS, Duncan SE, Bianchi LM, et al. Packaging modifications for protecting flavor of extended-shelf-life milk from light. J Dairy Sci. 2015;98(4):2205-2214. PMID 25660743.
  8. Linus Pauling Institute, Micronutrient Information Center. Riboflavin. Updated August 2021, reviewed July 2022.
  9. U.S. Department of Agriculture. FoodData Central, SR Legacy (fdcIds 168627, 170886, 171267, 170158, 169251, 173424, 168463, 168917, 175168, 171477).
  10. 21 CFR 101.9(c)(8)(iv), Reference Daily Intakes.
  11. Combs GF, McClung JP. The Vitamins: Fundamental Aspects in Nutrition and Health. 5th ed. Academic Press; 2017. Chapters 12 (Riboflavin), 13 (Niacin), 14 (Vitamin B6).

This article is for educational purposes and does not constitute medical advice. If this is relevant to you, please work with your physician and a registered dietitian on an individualized approach.

Be gentle with yourself out there. You are doing better than you think. ♡

Maggie Cooper

Written by Maggie Cooper · Blog & Website Copywriter · Anchor & Apex

"Smart science, soft landing. Honest words that leave you a little wiser and a lot kinder to yourself."

Previous
Previous

B-Vitamin Anemias: How B12, Folate, and Iron Show Up on Your Blood Count

Next
Next

Niacin (Vitamin B3): The Flush, the Cholesterol Trials, and the Foods That Cover Your Day