Skip navigation

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Secure .gov websites use HTTPS
A lock ( ) or https:// means you’ve safely connected to the .gov website. Share sensitive information only on official, secure websites.

URL of this page: https://medlineplus.gov/lab-tests/vitamin-b-test/

Vitamin B Test

What is a vitamin B test?

B vitamins are nutrients that your body needs to work well and stay healthy. There are eight different types. A vitamin B test checks the level of one or more B vitamins in a sample of your blood or urine (pee).

All the B vitamins together are called the "B vitamin complex." The B vitamins are:

  • B1, thiamine
  • B2, riboflavin
  • B3, niacin (also called nicotinic acid and nicotinamide)
  • B5, pantothenic acid
  • B6, pyridoxal phosphate
  • B7, biotin
  • B9, folate (folic acid)
  • B12, cobalamin

Each type of vitamin B plays different important roles in your body, such as helping to:

  • Maintain normal metabolism (the process your body uses to make energy from food you eat)
  • Make healthy blood cells
  • Keep your nervous system working properly

You get B vitamins from many foods, including leafy green vegetables, meats and fish, eggs, whole grains, milk, and other dairy products. A lack of vitamin B is rare in the United States, because many foods have added B vitamins. These foods include cereals, breads, and pasta.

But certain diets and health conditions can affect how well your body absorbs vitamin B. And if you lack B vitamins, it can cause serious health problems. For example, a lack of B12 can cause anemia and nerve disorders.

A lack of B vitamins is called a vitamin B deficiency. It's usually treated with supplements. But it's important to talk with your health care provider before taking vitamin B supplements. That's because large amounts of some B vitamins can cause health problems, too. And some B vitamins may affect the way certain medicines work in your body.

Other names: vitamin B testing, vitamin B complex, thiamine (B1), riboflavin (B2), niacin (B3), pantothenic acid (B5), pyridoxal phosphate (B6), biotin (B7), vitamin B12, folic acid, folate, and cobalamin test

What is it used for?

Vitamin B testing is used if you have symptoms that suggest you may not be getting enough of one or more B vitamins. For example, a vitamin B12 and folate test is often used for symptoms of certain types of anemia.

If you have a condition that increases your risk for a vitamin B deficiency, your provider may check your vitamin B levels even if you don't have symptoms.

Why do I need a vitamin B test?

You may need a vitamin B test if you have symptoms that could mean you're lacking certain B vitamins. The symptoms depend on which type of a vitamin B deficiency you have.

For example, common symptoms from a lack of vitamin B6 may include:

  • Itchy rashes
  • Cracks at the corners of the mouth
  • Scaly skin on the lips
  • Swollen tongue

Common symptoms from a lack of vitamin B12 may include:

  • Fatigue
  • Arrhythmia (problems with the rate or rhythm of your heartbeat)
  • Weight loss when you're not trying to lose weight
  • Tingly or numb hands and feet (a sign of nerve problems)

You may also need vitamin B testing if you have a condition or habits that increase your risk of having a vitamin B deficiency, such as:

What happens during a vitamin B test?

Vitamin B levels may be checked in blood or urine.

For a blood test, a health care professional will take a blood sample from a vein in your arm, using a small needle. After the needle is inserted, a small amount of blood will be collected into a test tube or vial. You may feel a little sting when the needle goes in or out. This usually takes less than five minutes.

For a urine test, you may have a random urine test or a 24-hour urine sample test.

For a random urine test, you will provide a single sample of urine at any time of the day. You'll usually collect your sample at your provider's office or a lab.

For a 24-hour urine sample test, you'll need to collect all your urine during a 24-hour period. You will be given a special container to collect your urine and instructions on how to collect and store your sample. Your provider will tell you what time to start. The test generally includes the following steps:

  • To begin, urinate in the toilet as usual. Do not collect this urine. Write down the time you urinated.
  • For the next 24 hours, collect all your urine in the container.
  • During the collection period, store the urine container in a refrigerator or cooler with ice.
  • 24 hours after starting the test, try to urinate if you can. This is the last urine collection for the test.
  • Return the container with your urine to your provider's office or the laboratory as instructed.

Will I need to do anything to prepare for the test?

Before a vitamin B blood test, you may need to fast (not eat or drink) for several hours before the test. A urine test doesn't require any special preparations.

Are there any risks to the test?

There is very little risk to having a blood test. You may experience slight pain or bruising at the spot where the needle was put in, but most symptoms go away quickly.

There is no known risk to having a urine test.

What do the results mean?

Your results will show the amount of each B vitamin that was tested. If your vitamin B levels are normal, but you have symptoms, you may need other tests to diagnose your condition.

If you're lacking in one or more B vitamins, you may need other tests to find out why. Your provider may recommend taking vitamin B supplements. In certain cases, vitamins may be given by intravenous (IV) treatment.

If you have questions about your results, talk with your provider.

Learn more about laboratory tests, reference ranges, and understanding results.

Is there anything else I need to know about vitamin B testing?

The meaning of vitamin B test results isn't always clear. That's because several things can affect the results, including inflammation in your body and certain medicines. And medical experts aren't sure what a normal level is for certain B vitamins. Different labs have different ranges for normal levels, too. Your provider can explain what your test results say about your health.

References

  1. Cleveland Clinic: Health Library: Diagnostics & Testing [Internet]. Cleveland (OH): Cleveland Clinic; c2023.Vitamin B12 Deficiency; [reviewed 2022 Apr 25; cited 2023 Jan 2]; [about 13 screens]. Available from: https://my.clevelandclinic.org/health/diseases/22831-vitamin-b12-deficiency
  2. Harvard T.H. Chan School of Public Health [Internet]. Boston: The President and Fellows of Harvard College; c2023. B Vitamins; [cited 2022 Dec 22]; [about 5 screens]. Available from: https://www.hsph.harvard.edu/nutritionsource/vitamins/vitamin-b/
  3. Lykstad J, Sharma S. Biochemistry, Water Soluble Vitamins. [Updated 2022 Mar 9; cited 2023 Jan 2]. In: StatPearls [Internet]. Treasure Island (FL): StatPearls Publishing; 2022 Jan-. Available from: https://www.ncbi.nlm.nih.gov/books/NBK538510/?report=classic
  4. Mayo Clinic [Internet]. Mayo Foundation for Medical Education and Research; c1998-2023. Anemia: Symptoms and causes; [cited 2023 Jan 3]; [about 8 screens]. Available from: https://www.mayoclinic.org/diseases-conditions/anemia/symptoms-causes/syc-20351360
  5. National Cancer Institute [Internet]. Bethesda (MD): U.S. Department of Health and Human Services; NCI Dictionary of Cancer Terms: malabsorption syndrome; [cited 2022 Dec 22]; [about 1 screen]. Available from: https://www.cancer.gov/publications/dictionaries/cancer-terms/def/malabsorption-syndrome
  6. National Cancer Institute [Internet]. Bethesda (MD): U.S. Department of Health and Human Services; NCI Dictionary of Cancer Terms: vitamin B complex; [cited 2023 Jan 3]; [about 2 screens]. Available from: https://www.cancer.gov/publications/dictionaries/cancer-terms/def/vitamin-b-complex
  7. National Heart, Lung, and Blood Institute [Internet]. Bethesda (MD): U.S. Department of Health and Human Services; Vitamin B12 - Deficiency Anemia; [cited 2023 Jan 3]; [about 9 screens]. Available from: https://www.nhlbi.nih.gov/health/anemia/vitamin-b12-deficiency-anemia
  8. National Institutes of Health: Office of Dietary Supplements [Internet]. Bethesda (MD): U.S. Department of Health and Human Services; Niacin: Fact Sheet for Consumers [updated 2021 Mar 22; cited 2023 Jan 3]; [about 8 screens]. Available from: https://ods.od.nih.gov/factsheets/Niacin-Consumer/
  9. National Institutes of Health: Office of Dietary Supplements [Internet]. Bethesda (MD): U.S. Department of Health and Human Services; Vitamin B6: Fact Sheet for Consumers [updated 2021 Jan 15; cited 2023 Jan 3]; [about 8 screens]. Available from: https://ods.od.nih.gov/factsheets/VitaminB6-Consumer/
  10. National Institutes of Health: Office of Dietary Supplements [Internet]. Bethesda (MD): U.S. Department of Health and Human Services; Vitamin B12: Fact Sheet for Consumers [updated 2023 Jan 3; cited 2023 Jan 3]; [about 33 screens]. Available from: https://ods.od.nih.gov/factsheets/VitaminB12-HealthProfessional/
  11. Testing.com [Internet]. Seattle (WA): OneCare Media; c2023. Urinalysis; [modified 2022 Sep 28; cited 2023 Jan 3]; [about 11 screens]. Available from: https://www.testing.com/tests/urinalysis/
  12. Testing.com [Internet]. Seattle (WA): OneCare Media; c2023. Vitamin B Test; [modified 2022 Nov 24; cited 2022 Jan 2]; [about 14 screens]. Available from: https://www.testing.com/tests/b-vitamins/
  13. Testing.com [Internet]. Seattle (WA): OneCare Media; c2023. Vitamin B12 Test; [modified 2022 Mar 4; cited 2023 Jan 3]; [about 14 screens]. Available from: https://www.testing.com/tests/vitamin-b12/
  14. UF Health: University of Florida Health [Internet]. University of Florida; c2023. Vitamin B12 level: Overview [reviewed 2020 Feb 6; cited 2023 Jan 3]; [about 3 screens]. Available from: https://ufhealth.org/vitamin-b12-level
  15. University of Rochester Medical Center [Internet]. Rochester (NY): University of Rochester Medical Center; c2023. Health Encyclopedia: Vitamin B Complex; [cited 2023 Jan 3]; [about 3 screens]. Available from: https://www.urmc.rochester.edu/encyclopedia/content.aspx?contenttypeid=19&contentid=BComplex
  16. University of Rochester Medical Center [Internet]. Rochester (NY): University of Rochester Medical Center; c2023. Health Encyclopedia: Folate; [cited 2023 Jan 3]; [about 2 screens]. Available from: https://www.urmc.rochester.edu/encyclopedia/content.aspx?contenttypeid=167&contentid=folate
  17. UW Health [Internet]. Madison (WI): University of Wisconsin Hospitals and Clinics Authority; c2023. Health Information: Vitamin B12 Test; [updated 2022 Sep 8; cited 2022 Dec 22]; [about 4 screens]. Available from: https://patient.uwhealth.org/healthwise/article/en-us/hw43820

The information on this site should not be used as a substitute for professional medical care or advice. Contact a health care provider if you have questions about your health.