Rubuta ci gaba don wannan sakin layi - Slovenia ta kasance a cikin tarihin hanyoyin Slavic, Jamusanci, da Romance harsuna da al'adu. Yankin Slovenia na zamani ya kasance wani ɓangare na jihohi daban-daban; Daular Roman, Daular Byzantine, Daular Carolingian, Daular Roman Mai Tsarki, Masarautar Hungary, Jamhuriyar Venice, lardunan Illyrian, Daular Austriya da Austria-Hungary. A watan Oktoba 1918, Slovenes sun kafa jihar Slovenes, Croats da Serbs. A watan Disamba na 1918, sun haɗu da Masarautar Serbia zuwa Masarautar Yugoslavia. A lokacin Yaƙin Duniya na II, Jamus, Italiya, da kuma Hungary suka mallaki Slovenia, kuma suka haɗa da ƙaramar yankin zuwa Croatia, wadda take ƙarƙashin mulkin Nazi a lokacin. A cikin 1945, ya zama memba mai kafa Yugoslavia. Bayan yaƙin, Yugoslavia da farko ta haɗu da Bloc na Gabas, amma bayan rarrabuwar Tito-Stalin na 1948, ba ta taɓa yin rajista da Yarjejeniyar Warsaw ba, kuma a cikin 1961, ta zama ɗaya daga cikin waɗanda suka kafa Ƙungiyar Non-Aligned Movement. A Yuni 1991, Slovenia ta zama jamhuriya ta farko da ta ware kanta daga Yugoslavia
kuma ya zama mai zaman kanta m jihar.