The age distribution, , in Hauptwil-Gottshaus is; 209 children or 11.7% of the population are between 0 and 9 years old and 246 teenagers or 13.8% are between 10 and 19. Of the adult population, 243 people or 13.6% of the population are between 20 and 29 years old. 243 people or 13.6% are between 30 and 39, 296 people or 16.5% are between 40 and 49, and 251 people or 14.0% are between 50 and 59. The senior population distribution is 162 people or 9.1% of the population are between 60 and 69 years old, 83 people or 4.6% are between 70 and 79, there are 46 people or 2.6% who are between 80 and 89, and there are 10 people or 0.6% who are 90 and older.