Cobalamin deficiency in the newborn usually results from cobalamin deficiency in the mother. Megaloblastic anaemia, pancytopenia and failure to thrive can be present, accompanied by neurological deficits if the diagnosis is delayed. Most cases of spina bifida and other neural tube defects result from maternal folate and/or cobalamin insufficiency in the periconceptual period. Polymorphisms in a number of genes involved in folate and cobalamin metabolism exacerbate the risk. Inborn errors of cobalamin metabolism affect its absorption, (intrinsic factor deficiency, Imerslund-Gräsbeck syndrome) and transport (transcobalamin deficiency) as well as its intracellular metabolism affecting adenosylcobalamin synthesis (cblA and cblB), methionine synthase function (cblE and cblG) or both (cblC, cblD and cblF). Inborn errors of folate metabolism include congenital folate malabsorption, severe methylenetetrahydrofolate reductase deficiency and formiminotransferase deficiency. The identification of disease-causing mutations in specific genes has improved our ability to diagnose many of these conditions, both before and after birth.