After initially intending to stay in office, Mr Johnson has agreed to step down.
However, although the prime minister will resign, he will remain in office until the autumn as a caretaker prime minister.
A new Tory leader is set to be in place by the party conference in October, a No 10 source said.
On Wednesday, ahead of Mr Johnson’s announcement, the SNPs Westminster leader Ian Blackford called Johnson a “lame duck,” during the Prime Minister’s Questions session.
He said: “Week after week I’ve called on this prime minister to resign. I’ve been met with a wall of noise from the Tory benches. I thought they were trying to shout me down… when all this time it turns out that 41% of them have been cheering me on.
“Let’s be clear, at least the numbers don’t lie. 41% of his own MPs have no confidence in him. 66% of MPs across the House don’t support him, and 97% of Scottish MPs want the minister for the union shown the door.
Boris Johnson – In pictures
Prime Minister Boris Johnson takes part in archery during a visit to the Premier Education Summer Camp at Sacred Heart of Mary Girl’s School, Upminster in Essex.
PA
Britain’s Prime Minister and Conservative Party leader Boris Johnson holds his dog Dilyn as he leaves after voting in the general election at Methodist Central Hall, Westminster, London, Thursday, Dec. 12, 2019.
AP
Britain’s Prime Minister Boris Johnson, center, poses with Sadhus, or Hindu holy men, in front of the Swaminarayan Akshardham temple, in Gandhinagar, part of his two-day trip to India, Thursday, April 21, 2022.
AP
Boris Johnson jogging
Jeremy Selwyn
Prime Minister Boris Johnson being given instructions how to build a brick wall during a visit to Exeter College. Boris Johnson will publicly announce his resignation later today, likely before lunchtime, the BBC is reporting.
PA
Prime Minister Boris Johnson holding crabs caught on the Carvela at Stromness Harbour in Stromness during a visit to the Highlands and Northern Isles of Scotland.
PA
Prime Minister Boris Johnson joining children playing with construction toys during a visit to The Discovery School in West Malling, Kent.
PA
rime Minister Boris Johnson and his partner Carrie Symonds, in Downing Street, London, to join in the applause to salute local heroes during Thursday’s nationwide Clap for Carers to recognise and support NHS workers
PA
Prime Minister Boris Johnson blowing glass prior to chairing a cabinet meeting at National Glass Centre at the University of Sunderland
PA
Prime Minister Boris Johnson welcoming members of the Chinese community at 10 Downing Street, London
PA
Colliding with 10-year-old Toki Sekiguchi during a game of Street Rugby with a group of Tokyo children, outside the Tokyo Square Gardens building in October 2015
Issei Kato/Reuters
Higher office: Infamously left dangling from a zipwire in London’s Victoria Par during a publicity stunt at a public viewing area for the Olympic Games in 2012
Getty Images
Boris Johnson and wife Carrie on their wedding day (Rebecca Fulton/PA)
PA Media
Queen Elizabeth II welcoming the newly-elected leader of the Conservative Party Boris Johnson during an audience in Buckingham Palace
PA
Greek minister for culture Melina Mercouri speaks with the then President of the Oxford Union before she addressed the Union on the subject of the Elgin Marbles in 1986
Reuters
Hammertime: About to place a pavement stone at King’s Cross Square in August 2013
EPA
As Henley MP and editor of the Spectator, Boris cuts an eye-catching figure after a morning jog in 2004
Glenn Copus
An apologetic Boris after fouling Maurizio Gaudino of Germany during the Legends match between England and Germany at The Madejski Stadium in May 2006 in Reading
Getty Images
On the campaign trail to be mayor, Boris is dressed in a shawl by local community members during his visit to the Husseini Mosque in Northholt in April 2008
Getty Images
Wears a pink cowboy hat at London’s Gay Pride parade in July 2008
Getty Images
With two knights at Leadenhall Market, London for St George’s Day in 2009
Getty Images
Waving the Olympic flag during the closing ceremony of the 2008 Beijing Olympic Games at the “Bird’s Nest” National Stadium in August 2008
AFP/Getty Images
Posing with a wax figure of himself as it is unveiled at the Madame Tussauds waxwork museum in May 2009 (Boris is on the left!)
AFP/Getty Images
With a group of Indian Dancers at the opening of the new East London overground rail link at Dalston Junction in April 2010
Getty Images
Unveiling artists’ impressions of the design for London’s new Routemaster bus in May 2010
Getty Images
Celebrating the 2010 Chinese New Year
Jeremy Selwyn
Promoting the launch of London’s cycle hire scheme
AFP/Getty Images
Taking on school children at table tennis in Bermondsey Square in June 2010
Getty Images
Showing his artistic side with a cartoon in City Hall while meeting a group of newspaper cartoonists in 2010
Jeremy Selwyn
Blowing a Vuvuzela in Cape Town, South Africa during the 2010 World Cup
Jeremy Selwyn
Strumming along with musician Newton Faulkner to highlight the capital’s Rhythm of London underground busking competition in March 2011
Getty Images
I’ll be bike: Cycling with former Governor of California and Terminator star Arnold Schwarzenegger in March 2011
Getty Images
Michel Platini hands over the UEFA Champions League trophy ahead of the 2011 final at Wembley
Getty Images
With members of Notting Hill Carnival band Genesis in August 2011
Getty Images
Greeting Holly Butlin while meeting voters in Richmond after launching his bid to be re-elected as Mayor in April 2012
Getty Images
On the Underground after casting his vote in the local elections at a polling station in May 2012
AFP/Getty Images
Posing for photographers in the dining area of the London 2012 Olympic Athletes Village in the Olympic Park in July 2012
AFP/Getty Images
Addressing a press conference entitled ‘Delivering a lasting legacy from the London 2012 Games’ in August 2012
AFP/Getty Images
With Prime Minister David Cameron as the Olympic cauldron is lit for the Paralympic Games in Trafalgar Square in August 2012
Getty Images
Playing sitting volleyball with actress Barbara Windsor during the 2012 Paralympic Games at ExCel
Getty Images
Captured watching the beach volleyball at the London 2012 Olympics
Jeremy Selwyn
Launching the new Overground service from Clapham Junction to Canada Water in 2012
Jeremy Selwyn
Having a school dinner at the Reach Academy, Feltham with five-year-old Emmanuel in 2013
Jeremy Selwyn
Ready for action at the the NatWest CricketForce event at Harrow Town CC Ground in April 2013
Getty Images
Taking his shot during a photocall in central London to promote the 2013 Euroleague Final Four
AFP/Getty Images
Kissing saltwater crocodile George, at Darwin International Airport, Australia in 2013
EPA
In action during the Rally Against Cancer charity match on day seven of the AEGON Championships at Queens Club in June 2013
Getty Images
Using a ‘vibrating poker’ on freshly poured concrete at the construction site of the ‘Greenwich Square’ housing development in November 2013
Getty Images
With Prime Minister David Cameron during a visit to a Crossrail construction site beneath Tottenham Court Road in January 2014
AFP/Getty Images
Launching the World Wheelchair Rugby Challenge in May 2014
Getty Images
Again with David Cameron, this time meeting apprentices and students during a visit to Harrow Skills Centre as they took to the campaign trail together in May 2014
Getty Images
Shearing a sheep, with the help of New Zealand’s most successful competition sheep shearer David Fagan, on a visit to Stonehouse, Gloucestershire, in May 2014
Getty Images
Donning traditional headdress during a visit to the Shree Swaminarayan Mandir, a major new Hindu temple being built in Kingsbury, in May 2014
Getty Images
Rory McIlroy looks on as Boris Johnson launches the Santander 1|2|3 World at Potters Field, Tower Bridge in September 2014
Getty Images
Addressing delegates at the 2014 Conservative Party conference in Birmingham, with the aid of a brick
AFP/Getty Images
Raising funds to launch London Poppy Day at Liverpool Street Station with Brian Blessed in a call to Londoners to help raise over £1m in October 2014
Getty Images
Political heavyweight: Boxing with a trainer during his visit to Fight for Peace Academy in Woolwich in October 2014
AFP/Getty Images
Playing wheelchair tennis with Jordanne Whiley of GB to promote the NEC Wheelchair Tennis Masters tournament in November 2014
Getty Images
Visiting Millwall Football Club Community Trust in January 2015
Getty Images
Showing his hand-paitning skills with David Cameron during the 2015 election campaign at the Advantage children’s daycare nursey in Surbiton in April 2015
AFP/Getty Images
Celebrateing on stage his win as he attends the Uxbridge count at Brunel University in the 2015 general election
Getty Images
Outside 10 Downing Street in May 2015
Getty Images
Boris stretches ahead of a tug of war during the launch of London Poppy Day in October 2015…
Getty Images
… but it does no good as he slips over
Getty Images
Visiting the Mahane Yehuda market in November 2015 in Jerusalem, Israel
Getty Images
A cyclist makes a hand gesture to the Mayor as he cycles over Vauxhall Bridge to launch London’s first cycle superhighway in November 2015
Getty Images
Addressing supporters during a rally for the ‘Vote Leave’ campaign in April 2016 in Manchester
Getty Images
Speaking to the people of Stafford in Market Square during the Vote Leave with the now notorious Brexit Battle Bus in May 2016
Getty Images
Taking a break during the Vote Leave campaign with a pint ahead of meeting with members of the public and supporters in Piercebridge, near Darlington in June 2016
AFP/Getty Images
Out jogging in 2017
Jeremy Selwyn
Shaking the hand of US president Donald Trump before a meeting on United Nations Reform at UN headquarters in New York in September 2017
AFP/Getty Images
Fielding calls during a radio phone-in on LBC in June 2019 during the Tory leadership campaign
LBC/PA
At the hustings event in Manchester in June 2019
Reuters
With supporters in Crooklands near Kendal
AFP/Getty Images
Meeting customers during a visit to Polhill Garden Centre in Halstead in July 2019
Getty Images
Going head-to-head with Jeremy Hunt at the debate on July 15, 2019
PA
“We now have a lame duck prime minister presiding over a divided party in a disunited kingdom. How does the prime minister expect to continue when even unionist leaders in Scotland won’t back him?”
But what does a lame duck mean, and what powers will the prime minister have during his remaining time in office?
What is a lame duck?
A lame duck is “an ineffectual or unsuccessful person or thing.”
In politics, a lame duck refers to an outgoing political leader, whose successor has already been elected or will be shortly.
Due to their limited time left in office, a lame duck leader is seen as having less influence with the other politicians.
What powers will Boris Johnson have with his remaining time in office?
As he will officially remain prime minister until the autumn, Mr Johnson will theoretically have the same powers as he has always had.
But in reality, as an outgoing leader, he will not have the same authority or influence.
He will continue attending public appointments and representing the UK as the prime minister until a new leader of the Conservative party is elected.