Presidential elections were held in El Salvador between 14 and 16 January 1945. The result was a victory for Salvador Castaneda Castro of the . The election was boycotted by five candidates who withdrew after accusing Osmín Aguirre y Salinas of unfair practices to ensure victory for his favoured candidate.