This NHS content is written for people in England. Medicine names, availability, prescribing and services may differ in other countries.
Hydroxocobalamin is a manufactured version of the vitamin B12. It's used to treat and prevent vitamin B12 deficiency anaemia, where you have low levels of this vitamin in your body.
Your body requires vitamin B12 to make red blood cells. You can get it from your food or supplements, but sometimes there may not be enough vitamins in what you eat. This can happen if you are vegan or you do not eat much meat or dairy products.
The most common cause of vitamin B12 deficiency in the UK is pernicious anaemia (an autoimmune condition that affects your stomach).
Vitamin B12 deficiency can also be a side effect of metformin, a diabetes medicine, particularly if you take a high dose of metformin or if you take it for a long time.
Hydroxocobalamin is only available on prescription.
It is given as an injection. This will usually be at your GP surgery but you might sometimes have it in hospital.
View the original NHS website page ↗. Refreshed 19 August 2026.
Licensed under the Open Government Licence v3.0 ↗. MyPHU is independent and is not endorsed by the NHS.