|Prime Minister||Date of birth||Prime Minister|
|John Major||29 March 1943||1990–1997|
|Gordon Brown||20 February 1951||2007–2010|
|Tony Blair||6 May 1953||1997–2007|
|Theresa May||1 October 1956||2016–2019|
|Boris Johnson||19 June 1964||2019–2022|
|David Cameron||9 October 1966||2010–2016|
|Liz Truss||26 July 1975||2022|
|Rishi Sunak||12 May 1980||2022–present|
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.
Two measures of longevity are given; this is to allow for the differing number of leap days occurring within the life of each prime minister. The first figure is the number of days between date of birth and date of death, allowing for leap days; in parentheses the same period given in years and days, with the number of whole years that the prime minister had lived, and the days being the remaining number of days from their last birthday. Where the prime minister in question is still living, their longevity is measured up to 4 February 2023.