Below is the list of all the former Heads of State and Presidents of Nigeria since 1960 when the country became independent and 1963 when the country became a Federal Republic.
Monarch
Elizabeth II: 1960-1963 (Queen of Nigeria)
First Republic
Nnamdi Azikiwe: 1963-1966 (President)
Military Rule
Johnson Aguiyi-Ironsi: 1966 (Head of State, January 16 - July 29)
Yakubu Gowon: 1966-1975 (Head of State, August 1 - July 29)
Murtala Mohammed: 1975-1976 (Head of State, July 29 - February 13)
Olusegun Obasanjo: 1976-1979 (Head of State, February 13 - October 1)
Muhammadu Buhari: 1983-1985 (Head of State, December 31 - August 27)
Ibrahim Babangida: 1985-1993 (President, August 27 - August 26)
Ernest Shonekan: 1993 (Interim President)
Sani Abacha: 1993-1998 (Head of State)
Abdulsalami Abubakar: 1998-1999 (Head of State)
Fourth Republic
Olusegun Obasanjo: 1999-2007 (President, May 29 - May 29)
Umaru Musa Yar'Adua: 2007-2010 (President, May 29 - May 5)
Goodluck Jonathan: 2010-2015 (President, May 5 - May 29)
Muhammadu Buhari: 2015-2023 (President, May 29 - May 29)
Bola Ahmed Tinubu: 2023 - to date.