"This government will begin the biggest sustained increase in defence spending since the end of the Cold War," Starmer told parliament.
"We must go further still. I have long argued that ... all European allies must step up and do more for our own defence," he said, signalling the UK would set a target for spending 3.0 per cent of gross domestic product in the next parliament, which will convene after a general election due in 2029.
He said the increase will mean spending 13.4 billion pounds ($A26.7 billion) more every year from 2027.
The UK's defence ministry said it spent 53.9 billion pounds in the 2023/24 financial year.
The shift in the UK's defence strategy comes before Starmer flies to the United States to meet President Donald Trump on Thursday, who has repeatedly called for NATO members like the UK to spend more on defence.
European leaders were stunned earlier this month when Trump's administration made clear that Europe would need to step up to provide its own security, sparking a bout of diplomatic activity.
Starmer said that difficult choices needed to be made in the interest of the country's security and he would fund the increased spending on the military by cutting the aid budget from 0.5 per cent of GDP to 0.3 per cent in 2027.
"We will also set a clear ambition for defence spending to rise to three per cent of GDP in the next parliament," he added.
Successive UK governments have reduced spending on defence since World War II and the Cold War, as they stepped up investment in health, welfare and education instead.
The UK last spent 3.0 per cent of GDP on defence in 1993/94.