List of prime ministers of Canada by time in office

The prime minister of Canada is the head of government of Canada. Since Canadian Confederation in 1867, there have been 24 prime ministers who have formed 30 Canadian ministries. The first prime minister, Sir John A. Macdonald, took office on July 1, 1867. The position does not have a set term of office and does not have term limits. Instead, prime ministers can stay in office as long as their government has the confidence of a majority in the House of Commons of Canada under the system of responsible government. Under this system, William Lyon Mackenzie King was Canada's longest-serving prime minister, holding office for a total of 21 years and 154 days over three non-consecutive terms.
The prime minister's term begins upon appointment by the governor general of Canada, usually after winning a general election. One prime minister can also succeed another with no election—usually, but not necessarily, when they are successive leaders of the same party. A prime minister stays in office until they resign, die or are dismissed by the governor general. Two prime ministers have died in office (Macdonald and Sir John Thompson). All others have resigned, either after losing an election, a parliamentary no confidence vote, or upon retirement. Theoretically, the monarch or governor general can dismiss a prime minister, but that has never happened.
The prime ministerial term is not tied directly to the term of the House of Commons, which the Constitution sets as a maximum of five years from the most recent general election. A prime minister takes office after winning an election and resigns after losing an election, but the term in office does not match up directly to the term of the Parliament. An incoming prime minister will normally take office a few weeks after the election, and an outgoing prime minister will usually stay in office for a few weeks after losing the election. The transition period and the date for the transfer of office are negotiated by the incoming and the outgoing prime ministers.
A prime minister who holds office in consecutive parliaments is not re-appointed as prime minister for each parliament, but rather serves one continuous term. When a prime minister holds office in more than one parliament, it is customarily referred to as the prime minister's first government, second government, and so on.
A majority government normally lasts around four years, since general elections for Parliament are normally held every four years. Minority governments generally last for a shorter period. The shortest minority government, Arthur Meighen's second government, lasted just under three months. A prime minister who is selected by the governing party to replace an outgoing prime minister may also serve a short term, if the new prime minister is defeated at the general election. Charles Tupper served the shortest term in Canadian history, only sixty-eight days, in this way. He was selected by the Conservative Party to replace Mackenzie Bowell just before the general election of 1896, which Tupper and the Conservatives lost. John Turner and Kim Campbell both served short terms for similar reasons.
Of the other prime ministers who served short terms, Arthur Meighen, Joe Clark, and Paul Martin had their time in office cut short by the collapse of their minority governments and the subsequent election of the opposition party.
In the late nineteenth century, three prime ministers succeeded to the office and did not call an election: John Abbott resigned for health reasons and Thompson died in office. Bowell resigned after a Cabinet revolt.
On seven occasions from the twentieth century, a prime minister has retired and the governing party has selected a new party leader, who automatically became prime minister. Arthur Meighen (1920), Louis St. Laurent (1948), Pierre Trudeau (1968), John Turner (1984), Kim Campbell (1993), Paul Martin (2003) and Mark Carney (2025) all succeeded to the office in this way. The new prime minister may continue to govern in the parliament called by the previous prime minister, but normally calls an election within a few months. (Meighen was the exception, governing for over a year before calling an election.) In those cases, the time before and after the election is counted as one government for the purposes of this table.
When a general election is called, the prime minister stays in office during the campaign. If the prime minister's party wins the election, the prime minister remains in office without being sworn in again; the prime minister's tenure of office is continuous. If defeated in the election, the outgoing prime minister stays in office during the transition period, until the new prime minister takes office. All of that time is included in the total "Time in office". The first day of a prime minister's term is counted in the total, but the last day is not.
For the first half century of Confederation, there were gaps between the term of an outgoing prime minister and the incoming prime minister. The shortest gap, two days, was between Macdonald and Alexander Mackenzie in 1873: Macdonald resigned office on November 5, 1873, and Mackenzie was appointed on November 7. The longest gap, ten days, was upon the death of Macdonald on June 6, 1891. Abbott did not take office until June 16, 1891. The last time there was a gap, of four days, occurred between Laurier and Robert Borden: Laurier resigned effective October 6, 1911, and Borden took office on October 10. There have been no gaps in office since that transition, with the new prime minister taking office the day after the former prime minister leaves office.
Canadian custom is to count by the individuals who were prime minister, not by terms. Since Confederation, 24 prime ministers have been appointed by the governor general to form 30 Canadian Ministries.
Historical conservative parties/Progressive Conservative Party of Canada (12) Liberal Party of Canada (11) Conservative Party of Canada (1)
Footnotes