Gubernatorial elections were held in El Salvador (then a part of the Federal Republic of Central America) on 22 January 1829. Conservative José María Cornejo defeated incumbent liberal governor Mariano Prado. Cornejo assumed office on 30 January 1829.