Mr Obama conveyed the message in a phone call to Mr Karzai, who has refused to sign a security agreement. The US insists this agreement must be in place before it commits to leaving some troops behind for counter-insurgent operations and training. The US has had troops in Afghanistan since 2001 when it toppled the Taliban.Its forces went into the country following the 9/11 attacks on the US. With Afghan and Western allies, they quickly overthrew the Taliban authorities, but have faced insurgent attacks since then. Correspondents say the disagreement over the bilateral security agreement (BSA) is the latest step in the long and deteriorating relationship between Washington and Mr Karzai, who was once seen as a key US ally. The BSA, which offers legal protection for US troops and defines a post-2014 Nato training and anti-insurgent mission, was agreed by the two countries last year after months of negotiation. It was endorsed at a national gathering (Loya Jirga) of Afghan elders in Kabul in November.
But Mr Karzai has refused to sign the deal until a peace process is under way with the Taliban, adding that if he were to sign it, he would become responsible if Afghans were killed by US bombs.
"President Obama told President Karzai that because he has demonstrated that it is unlikely that he will sign the BSA (Bilateral Security Agreement), the United States is moving forward with additional contingency planning," the White House said in a statement.
"Specifically, President Obama has asked the Pentagon to ensure that it has adequate plans in place to accomplish an orderly withdrawal by the end of the year should the United States not keep any troops in Afghanistan after 2014.
"Furthermore, the longer we go without a BSA, the more likely it will be that any post-2014 US mission will be smaller in scale and ambition."