The Verdict: Need More Info
You will be able to apply once you have ten years in Slovenia, the last five without a break, unless a shorter route fits you. Until then this is mostly a matter of time, so use it to pass the Slovene exam.
Only years you actually lived in Slovenia count. One absence of more than 60 days in a year, or several adding up to more than that, breaks the continuous years.
Some people need fewer years: recognised refugees and stateless people five, graduates of a Slovenian university or college seven, spouses of Slovenian citizens one year after three years of marriage, descendants of Slovene emigrants one year, and former citizens six months. Our marriage, diaspora and reacquisition quizzes cover those.
Permanent residence comes after five years of continuous temporary residence and a pass in the Slovene A2 exam. Study counts half, and seasonal, posted and intra-company transfer work does not count at all. A government bill sent to parliament in October 2026 would raise the language level to B1; it is not law yet.