Dental fluorosis occurs during tooth development, primarily between the ages of six months to five years. This is when the permanent teeth are forming underneath the gums.