Folate is needed to make DNA, and the neural tube closes very early. That is why folic acid starts before conception.
Folic acid becomes tetrahydrofolate, which transfers one-carbon units for DNA and RNA synthesis. Deficiency, from phenytoin, methotrexate, pregnancy or alcohol, causes megaloblastic anaemia and neural tube defects. All women planning pregnancy take 400 mcg daily until 12 weeks. High-risk women take 5 mg daily: those with a personal, partner or family history of NTD, those on antiepileptics, and those with coeliac disease, diabetes, thalassaemia trait or a BMI of 30 or more.