Hamilton City had a population of 160,911 at the 2018 New Zealand census, an increase of 19,299 people (13.6%) since the 2013 census, and an increase of 31,323 people (24.2%) since the 2006 census. There were 54,858 households. There were 78,354 males and 82,554 females, giving a sex ratio of 0.95 males per female. The median age was 32.2 years, the youngest of all territorial authorities in New Zealand, with 34,413 people (21.4%) aged under 15 years, 40,293 (25.0%) aged 15 to 29, 67,197 (41.8%) aged 30 to 64, and 19,005 (11.8%) aged 65 or older.