This is a list of the prime ministers of Tanzania, from the establishment of the office of Chief Minister of Tanganyika in 1960 to the present day.

Tanzania was formed after the Zanzibar Revolution in 1964, when the People's Republic of Zanzibar united with mainland Tanganyika to form the United Republic of Tanganyika and Zanzibar, which was later renamed to the United Republic of Tanzania.

List of officeholders

;Political parties

;Symbols

Died in office

Chief Minister of Tanganyika

{| class="wikitable" style="text-align:center"

! rowspan="2" |

! rowspan="2" |Portrait

! rowspan="2" |Name<br />

! colspan="3" |Term of office

! colspan="2" rowspan="2" |Political party

! rowspan="2" |Queen

|-

! Took office

! Left office

! Time in office

|-

| 1

| 90px

| Julius Nyerere<br />

| 1960

| 1961

|

! style="background:;"|

| TANU

| Elizabeth II

|}

Prime ministers of Tanganyika

{| class="wikitable" style="text-align:center"

! rowspan="2" |

! rowspan="2" |Portrait

! rowspan="2" |Name<br />

! colspan="3" |Term of office

! colspan="2" rowspan="2" |Political party

! rowspan="2" |Queen

|-

! Took office

! Left office

! Time in office

|-

| 1

| 90px

| Julius Nyerere<br />

| 1961

| 1962

|

! style="background:;"|

| TANU

| rowspan=2|Elizabeth II

|-

| 2

| 90px

| Rashidi Kawawa<br />

| 1962

| 1962

|

! style="background:;"|

| TANU

|-

| colspan="9" |Post abolished (9 December 1962 – 29 October 1964)

|}

Prime ministers of Tanzania

{| class="wikitable" style="text-align:center"

! rowspan="2" |

! rowspan="2" |Portrait

! rowspan="2" |Name<br />

! colspan="3" |Term of office

! colspan="2" rowspan="2" |Political party

! rowspan="2" |President(s)

|-

! Took office

! Left office

! Time in office

|-

| colspan="9" |Post abolished (1 November 1964 – 17 February 1972)

|-

| rowspan=2|1

| rowspan=2|90px

| rowspan=2|Rashidi Kawawa<br />

| rowspan=2| 1972

| rowspan=2| 1977

| rowspan=2|

! style="background:;"|

| TANU<br />

| rowspan=6|Nyerere

|-

! style="background:;"|

| CCM

|-

| 2

| 90px

| Edward Sokoine<br />

| 1977

| 1980

|

! style="background:;"|

| CCM

|-

| 3

| 90px

| Cleopa Msuya<br />

| 1980

| 1983

|

! style="background:;"|

| CCM

|-

|

| 90px

| Edward Sokoine<br />

| 1983

| 1984

|

! style="background:;"|

| CCM

|-

| 4

| 90px

| Salim Ahmed Salim<br />

| 1984

| 1985

|

! style="background:;"|

| CCM

|-

| 5

| 90px

| Joseph Warioba<br />

| 1985

| 1990

|

! style="background:;"|

| CCM

| rowspan=2|Mwinyi

|-

| 6

| 90px

| John Malecela<br />

| 1990

| 1994

|

! style="background:;"|

| CCM

|-

|

| 90px

| Cleopa Msuya<br />

| 1994

| 1995

|

! style="background:;"|

| CCM

| Mwinyi<br />Mkapa

|-

| 7

| 90px

| Frederick Sumaye<br />

| 1995

| 2005

|

! style="background:;"|

| CCM

| Mkapa<br />Kikwete

|-

| 8

| 90px

| Edward Lowassa<br />

| 2005

| 2008

|

! style="background:;"|

| CCM

| rowspan=2|Kikwete

|-

| 9

| 90px

| Mizengo Pinda<br />

| 2008

| 2015

|

! style="background:;"|

| CCM

|-

| 10

| 90px

| Kassim Majaliwa<br />

| 2015

| 2025

|

! style="background:;"|

| CCM

| Magufuli<br />Suluhu

|-

| 11

| 90px

| Mwigulu Nchemba<br />

| 2025

| Incumbent

|

! style="background:;"|

| CCM

| Suluhu

|}

Deputy prime ministers

{| class="wikitable" style="text-align:center"

! rowspan="2" |

! rowspan="2" |Portrait

! rowspan="2" |Name<br />

! colspan="2" |Term of office

! colspan="2" rowspan="2" |Political party

! rowspan="2" |Prime Minister

! rowspan="2" |President(s)

|-

! Took office

! Left office

|-

| 1

| 90px

| Salim Ahmed Salim<br />

| 1986

| 1989

! style="background:;"|

| CCM

| Joseph Warioba

| rowspan=2|Mwinyi

|-

| 2

| 90px

| Augustino Mrema<br />

| 1992

| 1994