David Cameron became "distracted" after the 2011 intervention in Libya, US President Barack Obama has said.
In an interview with The Atlantic magazine, he also criticised "free riders" in the international community who are unwilling to offer military resources despite calling for action.
The article also said he had warned the PM the UK would have to pay its "fair share" and spend 2% of GDP on defence.
Number 10 said there were "many difficult challenges" in Libya.
A spokesman said: "The White House have been clear that the PM has been as close a partner as the president has had, and they deeply value the UK's contributions on our shared national security and foreign policy initiatives."
Downing Street did not comment on President Obama's remark to the PM about defence spending, reportedly made before Chancellor George Osborne said the government would fulfil a Nato pledge to spend 2% of national income on defence last year.
The toppling of the Gaddafi regime in Libya - following UN-backed air strikes designed to protect civilians - led to a power vacuum and instability, with no authority in full control.
The intervention was led by the UK and France - and in his interview, Mr Obama reflects on "what went wrong", saying: "There's room for criticism, because I had more faith in the Europeans, given Libya's proximity, being invested in the follow-up."

'Casualties averted'

Mr Cameron, he said, became "distracted by a range of other things". He also criticised former French President Nicolas Sarkozy, saying he had tried to claim the spotlight.
The former French president, he said, "wanted to trumpet the flights he was taking in the air campaign, despite the fact that we had wiped out all the air defences and essentially set up the entire infrastructure" for the intervention.
President Obama said the intervention "averted large-scale civilian casualties (and) prevented what almost surely would have been a prolonged and bloody civil conflict". But he added: "And despite all that, Libya is a mess."
He also criticised what he called "free riders" in the interview, saying European and Gulf countries were calling for action against Gaddafi, adding: "But what has been a habit over the last several decades in these circumstances is people pushing us to act but then showing an unwillingness to put any skin in the game."

'Like rats'

Despite efforts to support Libya's National Transitional Council, and the first elections in the country for decades, it rapidly descended into violence, with two rival governments and the formation of hundreds of militias, some allied to so-called Islamic State.
In January, Mr Cameron told MPs the "Libyan people were given the opportunity" to build a stable democracy - and it was a matter of "huge regret" they had not taken it.
He stressed that - unlike in Iraq - the post-conflict planning was locally driven.
"Gaddafi was bearing down on people in Benghazi and threatening to shoot his own people like rats," he said. "An international coalition came together to protect those people and to help the Libyan people, who then got rid of Gaddafi.
"And they had an opportunity to build what they said they wanted."
Responding to President Obama's interview, Downing Street said "coming to the aid of innocent civilians who were being tortured and killed by their leader was the right thing to do".
The government has tried to support stability in Libya and is "working hard to support the UN-led process to establish a stable and inclusive government that will allow them to build a peaceful future", a spokesman said.
"But ultimately a positive outcome for Libya is not just up to the international community - this process needs to be led by the Libyan people," he added.