This is a list of prime ministers of the United Kingdom by age. This table can be sorted to display prime ministers of the United Kingdom by name, order of office, date of birth, age at appointment, length of retirement, or lifespan. Age at appointment is determined by the day a prime minister assumed office for the first time. Length of retirement is determined from the day a prime minister leaves office for the final time until their death.

Where the prime minister in question is still living, their longevity is measured up to .

List of prime ministers +Living as of September 2026 Prime Minister Date of birthPremiershipJohn Major1990–1997Gordon Brown2007–2010Tony Blair1997–2007Theresa May2016–2019Keir Starmer2024–2026Boris Johnson2019–2022David Cameron2010–2016Andy Burnham2026–present Liz Truss2022Rishi Sunak2022–2024 Key to table

No.NameBorn Date of first appointmentAge Final end of serviceAge Post–premiership/Time period between two non-consecutive tenures (in italics)DeathLifespan 1 Robert Walpole 2 Spencer Compton, 1st Earl of Wilmington years 69–70 years 0 days years 3 Henry Pelham 59 years, 162 days 0 days 4 Thomas Pelham-Holles, 1st Duke of Newcastle 5 William Cavendish, 4th Duke of Devonshire 6 John Stuart, 3rd Earl of Bute 7 George Grenville 8 Charles Watson-Wentworth, 2nd Marquess of Rockingham 52 years, 49 days 0 days 9 William Pitt the Elder 10 Augustus FitzRoy, 3rd Duke of Grafton 11 Frederick North, Lord North 12 William Petty, 2nd Earl of Shelburne 13 William Cavendish-Bentinck, 3rd Duke of Portland 14 William Pitt the Younger 46 years, 240 days 0 days 15 Henry Addington 16 William Grenville 17 Spencer Perceval 49 years, 192 days 0 days 18 Robert Jenkinson, 2nd Earl of Liverpool 19 George Canning 57 years, 119 days 0 days 20 F. J. Robinson, 1st Viscount Goderich 21 Arthur Wellesley, 1st Duke of Wellington 22 Charles Grey, 2nd Earl Grey 23 William Lamb, 2nd Viscount Melbourne 24 Robert Peel 25 Lord John Russell 26 Edward Smith-Stanley, 14th Earl of Derby 27 George Hamilton-Gordon, 4th Earl of Aberdeen 28 Henry John Temple, 3rd Viscount Palmerston 80 years, 363 days 0 days 29 Benjamin Disraeli(Term 1) 1 December 1868 63 years, 346 days 5 years, 83 days 30 William Ewart Gladstone(Term 1) 17 February 1874 64 years, 51 days 6 years, 67 days (29)Benjamin Disraeli(Term 2)20 February 187469 years, 71 days21 April 1880 (30)William Ewart Gladstone(Term 2)23 April 188070 years, 116 days9 June 188575 years, 163 days238 days 31 Robert Gascoyne-Cecil, 3rd Marquess of Salisbury(Term 1) 28 January 1886 55 years, 359 days 179 days (30)William Ewart Gladstone(Term 3)1 February 188676 years, 35 days21 July 188676 years, 205 days6 years, 21 days (31)Robert Gascoyne-Cecil, 3rd Marquess of Salisbury(Term 2)25 July 188656 years, 172 days11 August 189262 years, 189 days2 years, 313 days (30)William Ewart Gladstone(Term 4)11 August 189282 years, 226 days2 March 1894 32 Archibald Primrose, 5th Earl of Rosebery (31)Robert Gascoyne-Cecil, 3rd Marquess of Salisbury(Term 3)25 June 189565 years, 142 days 33 Arthur Balfour 34 Henry Campbell-Bannerman 35 H. H. Asquith 36 David Lloyd George 37 Bonar Law 38 Stanley Baldwin(Term 1) 56 years, 173 days 288 days 39 Ramsay MacDonald(Term 1) 4 November 1924 58 years, 23 days 4 years, 213 days (38)Stanley Baldwin(Term 2)4 November 192457 years, 93 days5 June 192961 years, 306 days6 years, 2 days (39)Ramsay MacDonald(Term 2)5 June 192962 years, 236 days (38)Stanley Baldwin(Term 3)67 years, 308 days 40 Neville Chamberlain 41 Winston Churchill(Term 1) 70 years, 238 days 6 years, 93 days 42 Clement Attlee (41)Winston Churchill(Term 2)76 years, 330 days 43 Anthony Eden 44 Harold Macmillan 45 Alec Douglas-Home 46 Harold Wilson(Term 1) 54 years, 100 days 3 years, 259 days 47 Edward Heath (46)Harold Wilson(Term 2)57 years, 358 days 48 James Callaghan 49 Margaret Thatcher 50 John Major ( days) 51 Tony Blair ( days) 52 Gordon Brown ( days) 53 David Cameron ( days) 54 Theresa May ( days) 55 Boris Johnson ( days) 56 Liz Truss ( days) 57 Rishi Sunak ( days) 58 Keir Starmer ( days) 59 Andy Burnham Incumbent ( days)No.NameBornDate (first appointment)AgeEnd of serviceAgePost–premiership/Time period between two non-consecutive tenures (in italics)Date of deathLifespan

Graphical representation This is a graphical lifespan timeline of the prime ministers of the United Kingdom and they are listed in order of office.

The following chart shows prime ministers by their age (living prime ministers in green), with the years of their premiership in blue.

See also Timeline of prime ministers of Great Britain and the United Kingdom List of presidents of the United States by age

Notes

References