Swedish citizenship for EU/EEA citizens and their families
If you have lived in Sweden for five years and have a right of residence, a residence card or a residence permit, you may apply for Swedish citizenship.
With effect from 1 April 2015, a right of residence or a residence card is equivalent to a permanent residence permit when you apply for Swedish citizenship. You must have lived in Sweden for five years with right of residence. But after you have lived with a Swedish citizen for two years you can apply for citizenship after living in Sweden for a total of three years.