Scotland needs almost 500,000 migrants over the next 20 years to achieve the same age balance as the UK, according to the Treasury.
It means an independent Scotland would have to treble its rate of net annual migration to reach the same ratio of pensioners to working-age adults as Britain.
The ageing population is one of five key areas considered in the Treasury's latest analysis assessing the implications of an independent Scotland.
The Treasury said that currently "all of this challenge is simply smoothed away within the union and borne across the population as a whole."
More top news
The chief executive of one of the 'big six' energy companies tells ITV News a report customers are paying too much is a concern.
10 years on, George Psaradakis has given his first interview, recalling the events of July 7 2005.
A spat between the supporters of Yvette Cooper and Liz has seen a debate rage over whether a woman needs to be a mother to be a good leader.