Irreligion in Hungary
Irreligion in Hungary pertains to atheism, agnosticism, and secularism in Hungary. The tradition of irreligion in Hungary originates from the time of Austria-Hungary and it was a significant part of Communist rule in the second half of the 20th century. As of 2011, irreligion is the country's second largest religious stance after Catholicism. History 
Secularization in Hungary began in the late eighteenth century as part of Austria-Hungary. Freedom of religion was guaranteed in 1895, and 10% of primary school students attended nonreligious schools by World War I. Freethought gained a notable following among Hungarian intellectuals during this time, with various schools formed around on the ideas of Charles Darwin, Ernst Haeckel, Karl Marx, and Herbert Spencer, as well as influence from anti-clericalism and Continental Freemasonry. Following World War I, the Hungarian Communist Party briefly took power in 1919 and established a dictatorship, but the regime fell before it could accomplish its goal of state atheism. As a result of the Communist rule, secularism was widely discredited in Hungary, resulting in decades of Christian nationalism. Following World War II, Hungary found itself in the Soviet Union's sphere of influence. Communists took power in Hungary once again, and with Soviet backing, they were able to implement state atheist policies. Religious education was restricted, church land was nationalized, and church participation in public affairs was limited. The Hungarian Revolution of 1956 marked a turning point in Hungarian state atheism. Following the unrest, the Hungarian government sought to reinforce its position by improving religious conditions, and Hungary became the first country in the Eastern Bloc to restore ties with the Catholic Church. At the same time, religious practice was becoming less popular. Only 46% of the population identified as religious, and only 10% of Catholic Hungarians went to church on Sunday or prepared their children for first communion. Beginning in the 1960s, religious practice in Hungary saw a period of reduction. While religion had previously been a significant aspect of anti-Communism in Hungary, liberal anti-Communists opposed both Communist rule and clerical rule. After the end of Communist rule in Hungary, state atheism ended and freedom of religion was established as a constitutional right. The courts affirmed that irreligion would be also be protected as part of Hungarian accommodationism and that the state was obligated to protect the right to refuse religion. In the 21st century, critics have accused the Orbán government of attacking irreligion as part of a pattern of Christian nationalism and democratic backsliding. Demographics 
The 2011 census found that 23% of Hungarians are religiously unaffiliated, while 2% of Hungarians are atheist. In 2019, Eurobarometer found that 20% of Hungarians are not affiliated with any religion. Irreligion and atheism by county in the 2011 census can be found in the table below. See also 

 Demographics of Hungary
 Religion in Hungary

References 

Religion in Hungary
Irreligion by country