Celiac disease is closely related to various neurological disorders, with a higher incidence of epilepsy. And in one study, epilepsy was observed in 5.5% of all cases of celiac disease.
Basically, celiac disease is a matter of poor absorption and can cause wide ranging nutritional deficiency. All body systems — including the brain and nervous system — can ultimately be affected from this disease through either a direct immunological attack/response to gluten (found in wheat, barley, rye and oats) or through vitamin deficiencies associated with malabsorption.
Seizures seen in association with celiac disease are frequently difficult to control and, at least in some cases, this is due to poor AEDs absorption. Epilepsy occurs twenty times more often in persons with celiac disease than those in the general population. Calcium deposits form in the brain because of a deficiency of folic acid.