List of prime ministers of the United Kingdom by education


A list of prime ministers of the United Kingdom and the educational institutions they attended.
, of the fifty-five prime ministers to date, twenty-eight were educated at the University of Oxford, and fourteen at the University of Cambridge. Three attended the University of Edinburgh, three the University of Glasgow, and two Mason Science College, a predecessor institution of the University of Birmingham. John Major was the last of the eight prime ministers who did not attend university after leaving secondary education.
Twenty prime ministers were schooled at Eton College, of whom nine were educated at Eton and Christ Church, Oxford, including all three who held office between 1880 and 1902. Seven were educated at Harrow School and six at Westminster School. Nine prime ministers to date have been educated at non-fee-paying schools; these include all five who held office between 1964 and 1997.
Fifteen prime ministers trained as barristers at the Inns of Court, including twelve at Lincoln's Inn. Two completed officer training at military academies.
Although William Pulteney, 1st Earl of Bath and James Waldegrave, 2nd Earl Waldegrave briefly attempted to form governments, neither is usually counted as Prime Minister. They are not listed below.

List of British prime ministers by education

Prime ministerTerm of officeSchoolUniversityDegreeProfessional training
Walpole, RobertRobert Walpole3 4 1721–11 2 1742Eton CollegeCambridge 1696–98, did not graduate
Compton, SpencerSpencer Compton
Earl of Wilmington
16 2 1742–2 7 1743St Paul's SchoolOxford 1690–?, did not graduate Inns of Court: Middle Temple
Pelham, HenryHenry Pelham27 8 1743–6 3 1754Westminster SchoolCambridge 1709–10
Pelham, HenryHenry Pelham27 8 1743–6 3 1754Westminster SchoolOxford 1710–?, did not graduate
Pelham-Holles, ThomasThomas Pelham-Holles
Duke of Newcastle
16 3 1754–11.11.1756
29 6 1757–26 5 1762
Westminster SchoolCambridge 1710–?, did not graduate
Cavendish, WilliamWilliam Cavendish
Duke of Devonshire
16.11.1756–29 6 1757
Stuart, JohnJohn Stuart
Earl of Bute
26 5 1762–8 4 1763Eton CollegeGroningen UniversityCivil law
1730–32
Stuart, JohnJohn Stuart
Earl of Bute
26 5 1762–8 4 1763Eton CollegeLeiden UniversityCivil law
1732–34, graduated 1734
Grenville, GeorgeGeorge Grenville16 4 1763–10 7 1765Eton CollegeOxford 1730–?, did not graduateInns of Court: Inner Temple
Watson-Wentworth, CharlesCharles Watson-Wentworth
Marquess of Rockingham
13 7 1765–30 7 1766
27 3 1782 1 7 1782
Westminster School
Pitt, William 1William Pitt the Elder
Earl of Chatham
30 7 1766–14.10.1768Eton CollegeOxford 1727–28, did not graduate
Pitt, William 1William Pitt the Elder
Earl of Chatham
30 7 1766–14.10.1768Eton CollegeUtrecht University1728
FitzRoy, AugustusAugustus FitzRoy
Duke of Grafton
14.10.1768–28 1 1770Westminster SchoolCambridge 1751–53, M.A. 1753
North, FrederickFrederick North28 1 1770–27 3 1782Eton CollegeOxford 1749–50, M.A. 1750
North, FrederickFrederick North28 1 1770–27 3 1782Eton CollegeLeipzig University1751–52
Petty, WilliamWilliam Petty
Earl of Shelburne
4 7 1782–26 3 1783Oxford 1755–57, did not graduate
Cavendish-Bentinck, WilliamWilliam Cavendish-Bentinck
Duke of Portland
2 4 1783 18.12.1783
31 3 1807–4 10 1809
Westminster SchoolOxford 1755–57, M.A. 1757
Pitt, William 2William Pitt the Younger19.12.1783–14 3 1801
10 5 1804–23 1 1806
Cambridge 1773–76, M.A. 1776
MP for Cambridge Univ. 1784–1806
Inns of Court: Lincoln's Inn
Addington, HenryHenry Addington17 3 1801–10 5 1804Winchester CollegeOxford 1774–78, B.A. 1778 Inns of Court: Lincoln's Inn
Grenville, WilliamWilliam Grenville
Lord Grenville
11 2 1806–25 3 1807Eton CollegeOxford 1776–80, B.A. 1780Inns of Court: Lincoln's Inn
Perceval, SpencerSpencer Perceval4 10 1809–11 5 1812Harrow SchoolCambridge 1780–82, M.A. 1782Inns of Court: Lincoln's Inn
Jenkinson, RobertRobert Jenkinson
Earl of Liverpool
8 6 1812–9 4 1827Charterhouse SchoolOxford 1787–90, M.A. 1790
Canning, GeorgeGeorge Canning12 4 1827 8 8 1827Eton CollegeOxford 1787–91, B.A. 1791
Robinson, Frederick JohnFrederick J. Robinson
Viscount Goderich
31 8 1827–8 1 1828Harrow SchoolCambridge 1799–1802, M.A. 1802
Wellesley, ArthurArthur Wellesley
Duke of Wellington
22 1 1828–16.11.1830
17.11.1834 9 12 1834
Eton CollegeFrench Royal Academy of Equitation, Angers
Grey, CharlesCharles Grey
Earl Grey
22.11.1830–16 7 1834Eton CollegeCambridge 1781–83, did not graduate
Lamb, WilliamWilliam Lamb
Viscount Melbourne
16 7 1834 14.11.1834
18 4 1835–30 8 1841
Eton CollegeCambridge 1796–99, M.A. 1799Inns of Court: Lincoln's Inn
Lamb, WilliamWilliam Lamb
Viscount Melbourne
16 7 1834 14.11.1834
18 4 1835–30 8 1841
Eton CollegeGlasgow UniversityResident pupil of Prof. John Millar
1799–1801
Inns of Court: Lincoln's Inn
Peel, RobertRobert Peel10.12.1834–8 4 1835
30 8 1841–29 6 1846
Harrow SchoolOxford Classics and Mathematics
1805–08, B.A. 1808
MP for Oxford Univ. 1817–29
Inns of Court: Lincoln's Inn
Russell, JohnJohn Russell
Earl Russell
30 6 1846–23 2 1852
29.10.1865–28 6 1866
Westminster SchoolEdinburgh UniversityResident pupil of Prof. John Playfair
1809–12
Smith-Stanley, EdwardEdward Smith-Stanley
Earl of Derby
23 2 1852 19.12.1852
20 2 1858–12 6 1859
28 6 1866–27 2 1868
Eton CollegeOxford Classics
1817–20, did not graduate
Hamilton-Gordon, GeorgeGeorge Hamilton-Gordon
Earl of Aberdeen
19.12.1852–30 1 1855Harrow SchoolCambridge 1800–04, M.A. 1804
Temple, Henry JohnHenry John Temple
Viscount Palmerston
6 2 1855–19 2 1858
12 6 1859–18.10.1865
Harrow SchoolEdinburgh UniversityResident pupil of Prof. Dugald Stewart
1800–03
Temple, Henry JohnHenry John Temple
Viscount Palmerston
6 2 1855–19 2 1858
12 6 1859–18.10.1865
Harrow SchoolCambridge 1803–06, M.A. 1806
MP for Cambridge Univ. 1811–31
Disraeli, BenjaminBenjamin Disraeli
Earl of Beaconsfield
27 2 1868 1 12 1868
20 2 1874–21 4 1880
Dr Cogan's School, WalthamstowInns of Court: Lincoln's Inn
Gladstone, WilliamWilliam Ewart Gladstone3 12 1868–
23 4 1880–9 6 1885
1 2 1886 20 7 1886
15 8 1892–2 3 1894
Eton CollegeOxford Classics and Mathematics
1828–32: B.A. 1832
MP for Oxford Univ. 1847–65
Inns of Court: Lincoln's Inn
Gascoyne-Cecil, RobertRobert Gascoyne-Cecil
Marquess of Salisbury
23 6 1885–28 1 1886
25 7 1886–11 8 1892
25 6 1895–11 7 1902
Eton CollegeOxford Mathematics
1847–50, B.A. 1850,
Fellow of All Souls Coll. 1853
Inns of Court: Lincoln's Inn
Primrose, ArchibaldArchibald Primrose
Earl of Rosebery
5 3 1894–22 6 1895Eton CollegeOxford 1866–68, did not graduate
Balfour, ArthurArthur Balfour12 7 1902–4 12 1905Eton CollegeCambridge Moral Sciences
1866–70, B.A. 1870
Campbell-Bannerman, HenryHenry Campbell-Bannerman5 12 1905–5 4 1908High School of GlasgowGlasgow UniversityGreek and Logic
1851–53
Campbell-Bannerman, HenryHenry Campbell-Bannerman5 12 1905–5 4 1908High School of GlasgowCambridge Classics
1854–58, B.A. 1858
Asquith, Herbert HenryH. H. Asquith5 4 1908–5 12 1916City of London SchoolOxford Classics
1870–74, B.A. 1874, Fellow 1874–82
Inns of Court: Lincoln's Inn
Lloyd George, DavidDavid Lloyd George6 12 1916–19.10.1922Llanystumdwy National SchoolSolicitor
Law, BonarBonar Law23.10.1922–22 5 1923High School of GlasgowGlasgow UniversityExtramural student
1879–80
Baldwin, StanleyStanley Baldwin22 5 1923–22 1 1924
4 11 1924–4 6 1929
7 6 1935–28 5 1937
Harrow SchoolCambridge History
1885–88, B.A. 1888
Baldwin, StanleyStanley Baldwin22 5 1923–22 1 1924
4 11 1924–4 6 1929
7 6 1935–28 5 1937
Harrow SchoolMason CollegeMetallurgy
Macdonald, RamsayRamsay MacDonald22 1 1924 4 11 1924
5 6 1929–7 6 1935
Drainie Parish SchoolBirkbeck Literary and Scientific InstitutionExtramural student
1886–87
Chamberlain, NevilleNeville Chamberlain28 5 1937–10 5 1940Rugby SchoolMason CollegeMetallurgy
1887–89
Churchill, WinstonWinston Churchill10 5 1940–26 7 1945
26.10.1951–5 4 1955
Harrow SchoolRMC Sandhurst
Attlee, ClementClement Attlee26 7 1945–26.10.1951Haileybury CollegeOxford Modern History
1901–04, B.A. 1904
Lecturer at LSE 1912–14, 1919–23
Inns of Court: Inner Temple
Eden, AnthonyAnthony Eden6 4 1955–9 1 1957Eton CollegeOxford Persian and Arabic
1919–22, B.A. 1922
Macmillan, HaroldHarold Macmillan10 1 1957–18.10.1963Eton CollegeOxford Classics
1912–14, did not graduate
Douglas-Home, AlecAlec Douglas-Home
Earl of Home
19.10.1963–16.10.1964Eton CollegeOxford Modern History
1922–25, B.A. 1925
Wilson, HaroldHarold Wilson16.10.1964–19 6 1970
4 3 1974–5 4 1976
Royds Hall Grammar School;
Wirral Grammar School for Boys
Oxford PPE
1934–37, B.A. 1937
Fellow of University Coll. 1938–45
Heath, EdwardEdward Heath19 6 1970–4 3 1974Chatham House Grammar SchoolOxford PPE
1935–39, B.A. 1939
Callaghan, JamesJames Callaghan5 4 1976–4 5 1979Northern Secondary School, PortsmouthCivil Service: Inland Revenue
Thatcher, MargaretMargaret Thatcher4 5 1979–28.11.1990Kesteven and Grantham Girls' SchoolOxford Chemistry
1943–47, B.Sc. 1947
Inns of Court: Lincoln's Inn
Major, JohnJohn Major28.11.1990–2 5 1997Rutlish SchoolCorrespondence course in banking
Blair, TonyTony Blair2 5 1997–27 6 2007Fettes CollegeOxford Law
1972–75, B.A. 1975
Inns of Court: Lincoln's Inn
Brown, GordonGordon Brown27 6 2007–11 5 2010Kirkcaldy High SchoolEdinburgh UniversityHistory
1967–82, M.A. 1972, Ph.D. 1982,
University Rector 1972–75
Cameron, DavidDavid Cameron11 5 2010–13 7 2016Eton CollegeOxford PPE
1985–88, B.A. 1988
May, TheresaTheresa May13 7 2016–24 7 2019Holton Park Girls' Grammar SchoolOxford Geography
1974–77, B.A. 1977
Johnson, BorisBoris Johnson24 7 2019–Eton CollegeOxford Classics
1983–87, B.A. 1987
Prime MinisterTerm of officeSchoolUniversityDegreeProfessional training