Obama had originally planned to pull out all but a small, embassy-based US military presence by the end of next year, a timeline coinciding with the final weeks of his presidency.
But military leaders argued for months that the Afghans needed additional assistance and support from the US to beat back a resurgent Taliban and hold onto gains made over the last 14 years of American bloodshed and billions of dollars in aid.
The officials previewed the decisions on the condition of anonymity because they were not authorised to discuss the matter publicly ahead of the president.
US officials have been hinting at the policy shift for weeks, noting that conditions on the ground in Afghanistan have changed since Obama's initial decision on a sharper troop withdrawal timeline was made more than two years ago.
More From This Section
"The narrative that we're leaving Afghanistan is self-defeating," Defence Secretary Ash Carter said yesterday during a speech at the Association of the US Army. "We're not, we can't and to do so would not be to take advantage of the success we've had to date."
While officials said the Afghan policy had been under review for several months, Obama's decision to leave more forces in Afghanistan than initially envisioned was reinforced when Taliban fighters took control of the key northern city of Kunduz late last month, prompting a protracted battle with Afghan forces on the ground, supported by US airstrikes.
Beyond the recent security troubles in Afghanistan, US commanders have also expressed concern about Islamic State fighters moving into the country and gaining recruits from within the Taliban.