Ministers and friends of Boris Johnson and Carrie Symonds congratulated the couple after they revealed that they were expecting a baby.
Among the first to post their felicitations on Twitter was former Chancellor Sajid Javid, who quit his role earlier this month following a dispute with Mr Johnson, who offered “Congratulations” on the “wonderful news”.
Former leader of the Scottish Conservatives Ruth Davidson also offered her congratulations while pregnant Tory MP Siobhan Baillie welcomed Ms Symonds to “the magical bump gang”.
There was, however, some political cynicism over the announcement.
Labour MP Florence Eshalomi queried its timing, appearing to reference Sir Philip Rutnam’s resignation from the Home Office some hours earlier.
She tweeted: “Very convenient for this news to be announced today.”
Earlier, Ms Symonds used her Instagram page to announce the pregnancy.
She also revealed that the couple recently became engaged.
She said: “Many of you already know, but for my friends that still don’t, we got engaged at the end of last year…and we’ve got a baby hatching early summer. Feel incredibly blessed.”
Mr Johnson, 55, and Miss Symonds, 31, made history as the first unmarried couple to officially live together in Downing Street when they moved in last year.
Ms Symonds, a conservationist and former Conservative Party communications chief, first found herself making headlines when she was romantically linked to Mr Johnson earlier in 2019.
But her association with Mr Johnson dates back to when she worked on his successful re-election bid at City Hall in 2012.
An early summer birth would suggest the new arrival was conceived during the autumn, around the time that the October 31 Brexit deadline was extended.
The new arrival will be the third baby born to a serving prime minister in recent history.
Tony Blair’s wife Cherie gave birth to son Leo in May 2000, three years after her husband’s first election victory.
David Cameron and his wife Samantha welcomed daughter Florence Rose Endellion Cameron into the world in 2010, three months after Mr Cameron had formed a coalition government with the Liberal Democrats after that year’s general election produced a hung parliament.
Lord John Russell’s wife Lady Russell gave birth to two sons, George and Francis, during her husband’s first stint in office between 1846 and 1852.
Mr Johnson’s union with Miss Symonds will be his third marriage.
Earlier this month, a court heard the Prime Minister and his estranged second wife Marina Wheeler were preparing to end their marriage after reaching an agreement over money.
Mr Johnson is believed to be the first prime minister to get divorced and marry in office in modern times.
The last PM to do so was Augustus Henry FitzRoy, the 3rd Duke of Grafton, who became prime minister in 1768 and got divorced and remarried the following year.
He was a childhood friend of Ms Wheeler – the daughter of BBC journalist Charles Wheeler – when both were pupils at the European School in Brussels.
Mr Johnson met his first wife, Allegra Mostyn-Owen, while they were students at Oxford.
They married in 1987 but the marriage was annulled in 1993.
In 2013 it emerged during another court hearing that Mr Johnson had fathered a daughter during an adulterous liaison while Mayor of London in 2009.
In 2004, he was sacked from the Tory frontbench over a reported affair with journalist Petronella Wyatt.