The timeline depends on nationality and integration.
Five years or ten years?
Some nationalities benefit from settlement treaties or reciprocal arrangements that allow a C permit after five years of regular and uninterrupted residence if the conditions are met. This group includes nationals of Austria, Belgium, Denmark, Finland, France, Germany, Greece, Ireland, Italy, Luxembourg, the Netherlands, Portugal, Spain and Sweden, as well as EFTA nationals Iceland, Liechtenstein and Norway.
For the surrounding context, see Swiss residence routes.
For many other EU citizens and for most third-country nationals, the ordinary route is ten years.
There is also an early C-permit route after five years for successfully integrated foreign nationals. It is discretionary and requires a stronger integration case, including language evidence.
If this decision changes the viability or sequence of your move, a Swiss relocation strategy consultation can apply it to your own facts.
Language matters before citizenship
Swiss immigration law uses a graduated language model. The exact level depends on the permit and route. Early settlement after five years requires stronger language evidence than simply renewing a B permit. Cantonal authorities can also assess integration more broadly: respect for public order, economic participation, debt and welfare history, and willingness to integrate.
Do not leave language until year four. If a faster C route matters to you, build the file from the beginning.
Why the C permit matters
It gives you a more stable immigration position, makes employer changes and many administrative matters easier, and is normally required before ordinary naturalisation.
For the surrounding context, see EU/EFTA residence.
Ordinary Swiss naturalisation generally requires 10 years of residence in Switzerland, including three years within the five years immediately before the application, and a C permit. Additional cantonal and communal residence requirements apply.
A C permit can still be lost
Permanent does not mean indestructible. Long periods abroad can cause the permit to lapse unless preservation is arranged where the law allows it. Serious criminal conduct, welfare dependency in relevant cases, or false statements can also have immigration consequences.
For the surrounding context, see the B permit.
If your long-term plan includes several countries, consider the effect of absences before you leave Switzerland for an extended period.