Parliamentary elections were held in Hungary on 4 November 1945. They came at a turbulent moment in the country's history: World War II had had a devastating impact; the Soviet Union was occupying it, with the Hungarian Communist Party growing in numbers; a land reform that March had radically altered the property structure; and inflation was rampant. The Independent Smallholders Party won a sweeping victory, but its gains were gradually whittled away by Communist salami tactics, fulfilling the prediction of their leader Mátyás Rákosi that the defeat would "not play an important role in Communist plans".
Elections (which had not taken place since 1939) were required by the Yalta Agreement; moreover, the revolutionary social and political changes of 1945 were effected without popular consultation, and in view of the special ties developing that year between Moscow and Budapest (an agreement on close economic cooperation and the resumption of full diplomatic relations), the Western powers urged free elections and withheld acknowledging the Provisional Government until the Soviets agreed to hold them.
The election, by secret ballot and without census or fraud, is reckoned as the first relatively democratic election ever held in Hungary, and was certainly the closest thing to an honest election held in the country until 1990. It was also one of only two remotely free elections ever held in what would become the Soviet bloc (the other being the 1946 elections in Czechoslovakia. One author states it was "generally fair, but not entirely free", as only "democratic" parties were allowed to compete, meaning most of the pre-war right-wing parties were excluded, as well as those parties that did not participate in the Hungarian National Independence Front, a wartime anti-fascist alliance. Only the leaders of the dissolved rightist parties, SS volunteers and those interned or being prosecuted by the people's courts were barred from voting. The liberal electoral law was also supported by the Communists, who were not bothered by the failure of their proposal to field a single list of candidates on the part of the Communist-Social Democrat coalition parties, which would have ensured a majority for left-wing parties: intoxicated by their recruitment successes and misjudging the effect of the land reform on their appeal, they expected an "enthralling victory" (József Révai predicted winning as much as 70%). To their bitter disappointment, the result was nearly the opposite: the Independent Smallholders Party, winning the contest in all 16 districts, won 57% of the vote, the Social Democrats won slightly above and the Communists slightly below 17%, and the National Peasant Party just 7% (the rest going to the Citizen Democrats' Party and the new Hungarian Radical Party of Oszkár Jászi's followers).