The effect of long-term/recurrent use of antibiotics in childhood on cognitive impairment was homogeneous across different categories of various subgroup variables such as sex, age, APOE4, ethnic groups, income before tax, smoking status, alcohol status, BMI, hypertension and diabetes but the effect of long-term/recurrent use of antibiotics in childhood was modified by the educational qualification (p-value for interaction <0.05). This evidence concerns the gene APOE and hypertensive disorder.