The prime minister of Spain is the head of government of Spain. There is no specific date as to when the office of prime minister first appeared as the role was not created, but rather evolved over a period of time through a merger of duties. Modern historians have not managed to agree who the first prime minister of Spain was, but Francisco Martínez de la Rosa was the first prime minister recognized by a constitutional law (the Spanish Royal Statute of 1834).
In contemporary Spain, the first prime minister of the Kingdom of Spain since the approval of the Constitution of 1978 was Adolfo Suárez. Due to the gradual evolution of the post, the title has been applied to early prime ministers retroactively. The following list therefore includes those who have been referred to as various other titles since the creation of the Council of Ministers in 1823.