Either during or at the end of a course of study, a student can apply for a residence permit on the basis of a different motive (work, family reunification with a derived permit if married).
After completing their studies, those benefiting from the free movement of persons have access to the Swiss labour market. The AFMP grants them the right to engage in employed or self-employed economic activity.