Some of those that remained in post, including defence minister Ben Wallace, said they were only doing so because they had an obligation to keep the country safe.
There had been so many ministerial resignations that the government was facing paralysis.
The ebullient Johnson came to power nearly three years ago, promising to deliver Britain's departure from the European Union and rescue it from the bitter wrangling that followed the 2016 Brexit referendum.
Since then, some Conservatives had enthusiastically backed the former journalist and London mayor while others, despite reservations, supported him because he was able to appeal to parts of the electorate that usually rejected their party.
That was borne out in the December 2019 election. But his administration's combative and often chaotic approach to governing and a series of scandals have exhausted the goodwill of many of his lawmakers while opinion polls show he is no longer popular with the public at large.
The recent crisis erupted after lawmaker Chris Pincher, who held a government role involved in pastoral care, was forced to quit over accusations he groped men in a private member's club.
Johnson had to apologise after it emerged that he was briefed that Pincher had been the subject of previous sexual misconduct complaints before he appointed him. The prime minister said he had forgotten.
This followed months of scandals and missteps, including a damning report into boozy parties at his Downing Street residence and office that broke strict COVID-19 lockdown rules and saw him fined by police over a gathering for his 56th birthday.
There have also been policy U-turns, an ill-fated defence of a lawmaker who broke lobbying rules, and criticism that he has not done enough to tackle inflation, with many Britons struggling to cope with rising fuel and food prices.