General elections were held in Costa Rica on 11 February 1940. Rafael ÃÂngel Calderón Guardia of the governing National Republican Party won the presidential election. Voter turnout was 81% in the presidential election and 66% in the parliamentary election.
The party also won all 23 constested seats in the Constitutional Congress. Among those elected as deputies were future presidents Teodoro Picado Michalski (for San José) and Francisco Orlich Bolmarcich (for Alajuela).
Since 1938, internal divisions had begun to emerge within the ruling National Republican Party. One faction coalesced around former president Ricardo Jiménez Oreamuno, while another formed around the younger and increasingly influential physician and politician Rafael ÃÂngel Calderón Guardia, then 40 years old. CalderónâÂÂs growing prominence within the party proved decisive. Under his leadership, the party shifted away from its previous liberal orientation toward positions influenced by Catholic social teaching and Christian social reform, reflecting ideas he had encountered during his medical studies in Belgium. This ideological transformation would later contribute to significant political realignments and divisions within Costa Rican politics.
By contrast, the 81-year-old Jiménez gradually withdrew from active political leadership, and jimenismo lost influence to calderonismo, which also enjoyed the backing of the administration of President León Cortés Castro. Cortés initially supported CalderónâÂÂs ascendancy and reportedly encouraged JiménezâÂÂs retirement from frontline politics.
Efforts were made to prevent a Calderonist victory through the formation of a coalition known as the National Democratic Alliance, comprising the Communist Party, a faction aligned with Jiménez, and the social democratic Guanacastecan Brotherhood. However, when Jiménez declined to stand as a candidate, the alliance collapsed, and its constituent parties contested the election separately.
Calderón was subsequently selected as the National Republican PartyâÂÂs presidential nominee at its national convention and went on to win the election.