In order to study for more than 90 days in Sweden, you must have a residence permit. Read more about how to apply for a permit for studies or research in Sweden at the Migration Agency’s website: Studying in higher educa­tion - Migrationsverket