Vitamin D is unusual because your skin can make it from sunlight, so whether you need a supplement depends on more than diet. Where you live, the season, your skin, your age and your time outdoors all play a part. This guide covers what official bodies advise and what large trials found. It does not suggest an amount for you to take; that is a conversation for your doctor or pharmacist.

What does vitamin D do in the body?

Its main job is helping your body absorb calcium, which MedlinePlus calls "one of the main building blocks of bone". Your muscles, nerves and immune system need vitamin D too. The NHS notes that a long-term shortage can cause rickets in children and osteomalacia, a condition that brings bone pain, in adults.

Where does vitamin D come from?

From your skin, your diet and supplements. Very few foods contain it naturally, so most people get their dietary vitamin D from fortified foods. This table draws on the MedlinePlus encyclopedia entry on vitamin D and the NHS.

SourceWhat to know
Sunlight on your skinLess is made in places that are not sunny, on cloudy days, in shade and in darker skin.
Oily fish such as salmon, mackerel, sardines and tunaAmong the best natural food sources
Egg yolks, liver, red meat and cheeseSmaller amounts. The NHS advises avoiding liver in pregnancy.
MushroomsSome, and more in mushrooms exposed to ultraviolet light
Fortified foodsMost US milk, many breakfast cereals, and some soy drinks, orange juices and yogurts. UK cow's milk is generally not fortified.
SupplementsSold as D2 or D3. Both raise blood levels, though D3 may raise them higher and for longer.

Sunlight has a trade-off: because of skin cancer risk, MedlinePlus says sun exposure "for more than a few minutes without sunscreen is not recommended." The NHS says most people in the UK can make enough from sunlight between about April and September, "But between October and early March we do not make enough vitamin D from sunlight." Daylight matters for more than vitamin D: morning light helps set your body clock.

Who is more likely to run low on vitamin D?

  • People who rarely get sun on their skin, such as those who are housebound, live in a care home or usually cover most of their skin outdoors (NHS).
  • People with darker skin, for example of African, African-Caribbean or south Asian background (NHS).
  • Older adults (MedlinePlus).
  • Breastfed babies. The CDC says "Breast milk usually does not provide all the vitamin D a baby needs." Infant formula is fortified.
  • People with conditions that limit fat absorption, such as Crohn's disease, celiac disease and ulcerative colitis, and people who have obesity or have had gastric bypass surgery (MedlinePlus).

What do official bodies recommend?

These are population guidelines, not personal advice. In the US, the recommended daily intakes listed by MedlinePlus are:

Age or stageRecommended daily intake
Babies 0–12 months400 IU (10 mcg)
Ages 1–70, including pregnancy and breastfeeding600 IU (15 mcg)
Adults over 70800 IU (20 mcg)

In the UK, the NHS says everyone, including pregnant and breastfeeding women, "should consider taking a daily supplement containing 10 micrograms of vitamin D during the autumn and winter." The UK government recommends the same all year for adults and children over 4 who are rarely outdoors, live in a care home or usually cover their skin, and the NHS says people with dark skin should consider it all year too.

The Endocrine Society, in a 2024 guideline, concluded that healthy adults under 75 are "unlikely to benefit from taking more than the daily intake of vitamin D" recommended in the US. It named four groups that may benefit from more: children and teenagers up to 18, adults 75 and over, pregnant people and people with prediabetes. If that is you, ask your doctor what it means in practice.

Do vitamin D supplements prevent disease if you are not deficient?

For generally healthy adults, the VITAL trial suggests not. It gave 25,871 US men aged 50 and over and women aged 55 and over either 2,000 IU of vitamin D3 a day or a placebo, for a median of 5.3 years.

  • Cancer: 793 people on vitamin D and 824 on placebo developed invasive cancer, not a significant difference.
  • Heart attack, stroke and cardiovascular death: 396 versus 409 people. The 2019 report in the New England Journal of Medicine concluded that vitamin D "did not result in a lower incidence of invasive cancer or cardiovascular events than placebo."
  • Fractures: a 2022 analysis of the same trial found fractures in 769 of 12,927 people on vitamin D and 782 of 12,944 on placebo, with no significant drop in total, hip or other non-spine fractures.

One limit matters: participants were not chosen for low vitamin D, low bone density or osteoporosis, so these results say little about people who are truly deficient. That is a question for a doctor.

Can you take too much vitamin D?

Yes. MedlinePlus notes that "Vitamin D toxicity almost always occurs from using too many supplements," and sets the US upper limit at 4,000 IU (100 mcg) a day for ages 9 and over, with lower limits for babies and younger children. The NHS agrees: "Do not take more than 100 micrograms (4,000 IU) of vitamin D a day as it could be harmful." It adds that some medical conditions mean people may not be able to take as much safely. You cannot overdose from sunlight.

Too much vitamin D raises blood calcium, which MedlinePlus says can cause nausea, vomiting, constipation, poor appetite, weakness, weight loss, confusion, kidney damage and kidney stones. Vitamin D is also added to many foods and can turn up in more than one supplement, so totals can creep up. To see what a label does and does not guarantee, read how supplements are actually regulated.

Does vitamin D interact with any medicines?

It can. The NHS page on colecalciferol (vitamin D3) asks people to tell their doctor if they take any of these, and not to take other supplements containing calcium or vitamin D without talking to their doctor first:

MedicinePossible effect
Digoxin, a heart medicineRaised blood calcium and an irregular heartbeat
Some diuretics, such as bendroflumethiazide or indapamideRaised blood calcium
Epilepsy medicines such as phenytoin or carbamazepineMay change how much vitamin D the body needs
Steroids such as prednisoloneMay weaken the effect of vitamin D
Cholestyramine, and laxatives such as paraffin oilMay reduce absorption
Antifungals such as ketoconazoleMay change how vitamin D is broken down

This is not a complete list. Which herbs interact with medication explains why a pharmacist check matters for any supplement.

Should you get your vitamin D level tested?

Not routinely, if you are healthy. MedlinePlus states that "Routine vitamin D testing is not recommended for everyone." The US Preventive Services Task Force found in 2021 that the evidence was insufficient to weigh the benefits and harms of screening adults without symptoms, and the Endocrine Society suggests against routine testing in the healthy groups it studied, including people with darker skin or obesity.

MedlinePlus says a doctor may order the blood test if you have symptoms such as bone pain, muscle weakness or broken bones, or a higher risk, such as rarely getting sun, weight loss surgery, Crohn's or celiac disease, kidney or liver disease, or certain medicines.

Who should talk to a doctor before taking vitamin D?

Check with a doctor or pharmacist first if any of these apply. Several are listed in the MedlinePlus guide to cholecalciferol:

  • You have kidney disease, high blood calcium or a history of hyperparathyroidism.
  • You are pregnant, planning a pregnancy or breastfeeding.
  • You take regular medicines, especially any in the table above.
  • You are thinking about vitamin D for a baby or child.
  • Your doctor has recommended a different amount. The NHS says to follow their advice.

Contact a doctor if you take vitamin D and develop nausea, vomiting, confusion or unusual weakness. If tiredness is your main worry, when tiredness is worth seeing a doctor about covers the common causes.

The full guide to herbal remedies and supplements explains how to weigh the evidence behind any product before you buy it.