How long was Pierre Elliott Trudeau prime minister? His tenure of 15 years and 164 days makes him Canada's third-longest-serving prime minister, behind John A. Macdonald and William Lyon Mackenzie King.