The president of El Salvador is the head of state and head of government of the Republic of El Salvador. The office was established in 1821 as the political chief of San Salvador. From 1824 to 1841, the office was styled as head of state of El Salvador, which was then a province of the Federal Republic of Central America. After the federal republic's collapse, El Salvador became an independent country and its head of state was renamed to President.
The following timeline visualizes the presidencies of El Salvador since 1821.