Based on an average migration of 30,000 a year and much higher fertility rates, New Zealand Statistics predicts that the population could grow to nearly 8 million by 2068.
If there was no migration, the population would peak at 5.3 million around 2050 and then slowly decline.
The projections also show growing numbers of older people in coming decades.
The number of people aged 85 years and older will more than triple.
Currently at 83,000, the number could rise to 320,000 in the next 30 years.
Those aged 65 years and older will roughly double, from about 700,000 now to between 1.3 and 1.5 million in 2046.
Overall population growth is expected to slow in the longer term as the population ages and the gap between births and deaths narrows. The rate of population growth may halve to less than 1 per cent in the 2030s.
NZ Statistics said the predictions were not exact forecasts and their purpose was to help with planning.