Labour leader Andrew Little says he will withdraw New Zealand troops from Iraq if his party is elected to power next year.
Mr Little said he expected the security situation in the Middle East to change significantly by the general election, by which time the Islamic State may have been pushed back further or defeated.
But if the conflict remained unchanged in Iraq and Syria, he confirmed he would withdraw New Zealand's deployment of 143 trainers from Taji Military Base near Baghdad.
"If it's the same as it is now I cannot see a case for continuing," he told the Herald.
Mr Little, who has expressed concerns about the Iraqi Army's capability, said he would support New Zealand staying in Iraq in a peacekeeping capacity in the event that Isis was defeated.