The anterior fontanelle usually closes between 7 and 21 months.
Early closure (before 6 months) causes concern that perhaps other areas of the skull might be fusing too early and that leads to abnormal head growth (plagiocephaly). It it can easily evaluated with a head x-ray. I have seen many cases and even with the fontanelle closed early the others are open. Surgery can fix if a problem is there.