The country has a population density of 101 people per square kilometer (262/sq mi), which ranks 106th in the world. This is one of the lowest population densities in Europe. Most people are concentrated in the Central Slovenian statistical region, which includes the capital and largest city, Ljubljana. Ljubljana has a population of 275,000, which is the only city with a population of more than 100,000. About 65 to 79% of the population lives in urban areas.
83% of the population are Slovenes, followed by Serbs (2%), Croats (2%), Bosniaks (1%) and other groups. The official language is Slovene, which is spoken by 92% of the Slovenian population. This makes Slovenia one of the most homogenous countries in the EU in terms of speakers of the predominant mother tongue. Hungarian and Italian are official languages as well and spoken by the respective minorities. About 0.2% of people speak Italian while 0.4% speak Hungarian as their native language. Romani is also spoken by the Roma community.
Many people in Slovenia speak a variant of Serbo-Croatian as their native language. Most are immigrants who moved to the country from other former Yugoslav republics between the 1960's and 80's and their descendants. About 12% of Slovenians were born abroad, and there are 100,000 non-EU citizens in the country, which represents 5% of the total population. Most come from Bosnia-Herzegovina, along with Serbia, Croatia, Kosovo and Macedonia.