At least 13% of the population were immigrants from other parts of former Yugoslavia, primarily ethnic Bosniaks (Bosnian Muslims), Croats and Serbs and their descendants.
[8][9] Slovenia is among the European countries with the most pronounced ageing of population, ascribable to a low birth rate and increasing life expectancy.
Hungarians and Istrian Italians have the status of indigenous minorities under the Constitution of Slovenia, which guarantees them seats in the National Assembly.
[35] The highest number came from Bosnia and Herzegovina, followed by immigrants from Serbia, North Macedonia, Croatia (which has since joined the EU itself) and Kosovo.
[36] The number of people migrating to Slovenia has been steadily rising from 1995;[37] and the rate of immigration itself has been increasing year-on-year, reaching its peak in 2016.
After a decade of severe persecution of religions, the communist regime adopted a policy of relative tolerance towards the churches, but limited their social functioning.
Nowadays, a significant Lutheran minority lives in the easternmost region of Prekmurje, where they represent around a fifth of the population and are headed by a bishop with the seat in Murska Sobota.
Despite the losses suffered during the Holocaust, Judaism still numbers a few hundred adherents, mostly living in Ljubljana, site of the sole remaining active synagogue in the country.
In the 2002, around 10% of Slovenes declared themselves as atheists, another 10% professed no specific denomination, and around 16% decided not to answer the question about their religious affiliation.
The distribution of the residents of Slovenia by religion is the following: Roman Catholic 57.8%, atheist 10.1%, Muslim 2.4%, Orthodox Christian 2.3%, Protestant 0.9%, other and unknown 26.5% (2002).
[55] The distribution of speakers by language is the following: Slovene 87.7%, Serbo-Croatian 8%, Hungarian 0.4%, Albanian 0.4%, Macedonian 0.2%, Romani 0.2%, Italian 0.2%, German 0.1%, other 0.1% (Russian, Czech, Ukrainian, English, Slovak, Polish, Romanian, Turkish, French, Bulgarian, Arabic, Spanish, Dutch, "Vlach", Rusyn, Greek, Swedish, Danish or Armenian), unknown 2.7% (2002) The following demographic statistics are from the CIA World Factbook, unless otherwise indicated.