Pension Fund Buy-In in Switzerland: Tax, Limits, Risks 2026

Before you transfer
A pension fund buy-in lets you pay extra into your pillar 2 fund and deduct every franc from taxable income in the year you pay it. Your certificate shows the ceiling. If you moved from abroad and were never in a Swiss fund, you may pay in at most 20% of your insured salary a year for five years, and after any buy-in you can't take a lump sum for three years.
For a developer with a high salary, the deduction can be worth a lot: in two recent court cases, the tax saving at stake came to 31% and 33% of the amount paid in. But the same cases show how it goes wrong. Both people bought in shortly before moving abroad, and the Federal Supreme Court upheld the refusal of the whole deduction. Below is how to read your own numbers, what the limits are, and when a December transfer is a good idea and when it backfires.
What a buy-in is, and where your number is
A buy-in (Einkauf, rachat) is a voluntary payment that fills the gap between what you have saved in your fund and what its plan would give you if you had been paying in all along. The gap usually comes from years abroad, a pay rise, a career start in Switzerland in your late twenties or a plan that is more generous than your old one. The law caps it: a fund may accept buy-ins "at most up to the amount of the benefits in its regulations" (BVG art. 79b, para. 1).
You don't have to work out that figure yourself. It is printed on your pension certificate (Vorsorgeausweis). PUBLICA, the federal government's own pension fund, sends one every year and another after each payment in or out, and explains in its notes on the certificate that "the currently possible buy-in is shown for the reference date on the certificate". Other funds use their own wording and layout, but the line is there.

Treat that line as a ceiling. The ordinance behind the law lowers it in two cases that matter to people who have moved around. Vested benefits you kept outside the fund, such as an old account from a job gap, are taken off the maximum (BVV 2 art. 60a, para. 3). So does pillar 3a money above a set amount (para. 2), which mostly hits people who were once self-employed. And if you took money out of the fund for a flat or a house, you must pay that advance back before you may make any voluntary buy-in (BVG art. 79b, para. 3).
The figure also changes. It is calculated for one date, and it moves with your salary, your age and the fund's interest. That is why it pays to ask for an offer before a large payment: PUBLICA's buy-in form has a box to ask for an offer with the maximum amount on it. That form also asks the question this post is mostly about: did you move to Switzerland from abroad in the last five years?
How much tax does a buy-in save?
A buy-in is deducted in full from taxable income, for federal, cantonal and communal tax alike (BVG art. 81, para. 2, and DBG art. 33, para. 1d). The fund certifies the payment for your tax return. So the saving is simply the buy-in multiplied by your marginal tax rate, the share of tax on your last francs of income.
That rate is where the big promises come from. The federal part is set in the law: for a single person in tax year 2026, the federal tax on each extra 100 francs of taxable income is CHF 8.80 between 108,900 and 141,500, CHF 11.00 up to 185,100, and CHF 13.20 from there up to 793,900 (DBG art. 36). Cantonal and communal tax comes on top and depends on where you live and on your household. A deduction also only saves at your top rate as long as it doesn't push you down into lower brackets: a very large buy-in in one year saves less per franc than the same amount spread over several years.
For a real figure rather than a sales one, look at the two court cases below. A cantonal court in Neuchâtel set the saving at CHF 74,860 on a buy-in of 241,500 and CHF 111,170 on 335,000, about 31% and 33%. Those were large buy-ins in one canton. Your own share depends on your income, your canton and commune, and on how much of the buy-in falls in your top bracket.
The timing rule is short. Tax offices deduct a buy-in in the year it is paid: Solothurn's tax handbook says it can "in principle be deducted in the year of payment", and only amounts actually paid count. Count on the date the fund receives the money, not the date you send it: PUBLICA, for one, runs the three-year lock described below from the day a payment arrives. So don't leave the transfer for the last days of December.
The newcomer limit: 20% of your insured salary a year
If you moved to Switzerland and had never been in a Swiss pension fund, the ordinance limits you for five years. "In the first five years after joining a Swiss pension fund, the annual buy-in payment may not exceed 20 percent of the insured salary in the regulations" (BVV 2 art. 60b). After the five years, the fund must let you buy in up to the full amount.

Three details decide whether the rule applies to you.
- It is about your past funds, not your passport. PUBLICA's form says the question applies to Swiss nationals too. A Swiss developer coming home after ten years in Berlin is a newcomer if they never joined a Swiss fund before leaving. Someone who worked here, left and came back, as the couple in the rulings below did, is not.
- It counts from the day you join a Swiss fund, so the five years run from your first Swiss job with a pension plan, not from your arrival or from a permit date.
- The base is the insured salary in your plan, line 2 in the diagram above, not your gross pay. If your plan takes off the legal coordination deduction of CHF 26,460 for 2026 (BVG art. 8) and insures the rest of your pay, a salary of CHF 140,000 gives an insured salary of 113,540 and a yearly cap of 22,708. The deduction rises to 26,880 in 2027, and many plans use their own, so take the figure from your certificate.
There is one exception. The limit does not apply if you transfer pension rights from abroad directly from a foreign occupational scheme into your Swiss fund, the fund accepts it, and you claim no tax deduction for that transfer (art. 60b, para. 2). It is a way to bring old savings over, not a way to get a bigger deduction.
The cap is per year, so a newcomer who can't use it this year has lost nothing for good: the gap is still there in year six. What you can't do is catch up five years of cap in one December.
Taxed at source? The deduction needs a tax return
If you're on a B or L permit, this step decides whether the buy-in saves anything at all. Employees without a C permit who live in Switzerland are taxed at source, unless their spouse is Swiss or holds a C permit: the employer deducts the tax from the salary (DBG art. 83). A buy-in does not change that deduction. You only get the tax back through a subsequent ordinary assessment (nachträgliche ordentliche Veranlagung), which is a normal tax return filed after the year ends.
If your gross salary is CHF 120,000 or more in a year, this assessment is compulsory (QStV art. 9). Below that, you have to ask for it, in writing, by 31 March of the following year (DBG art. 89a). Miss the date and the law is blunt: the source tax stands, and "no additional deductions are granted afterwards". If you leave Switzerland, the deadline ends on the day you deregister.
Two more points. A request can't be withdrawn, and once you are in ordinary assessment you stay in it until source taxation ends (DBG art. 89a and QStV art. 10). For a buy-in in December 2026, the request is due by 31 March 2027, and from then on you file a normal tax return each year, with all the usual deductions.
Three years with no lump sum
After a buy-in, "the resulting benefits may not be withdrawn from the pension scheme as a lump sum within the next three years" (BVG art. 79b, para. 3). This lock matters more than any other rule if your plans might change. A lump sum is more than retirement capital. It also includes:
- an advance to buy your own home; the Federal Tax Administration's circular on home ownership says plainly that this counts as a capital withdrawal,
- a cash payment when you leave Switzerland for good or start working for yourself, under the Vested Benefits Act (FZG art. 5).
The tax administration's circular on vested benefits names the self-employment case outright, and adds that the lock follows your money when you change jobs: a buy-in at your old fund still counts after the savings move to the new fund or to a vested benefits account.
The case that sets the tax rule is 2C_658/2009 from 2010. A man in Thurgau paid CHF 80,000 into his fund over three years shortly before retiring, then took CHF 432,884 as a lump sum and left the rest, about the size of his buy-ins plus interest, as a small pension. He argued the lump sum came from his old savings, not from the buy-ins. The Federal Supreme Court disagreed: a fund's benefits are paid from your savings as a whole, so any lump sum within three years of a buy-in costs you the deduction. The tax saving at stake was almost CHF 15,000.
So a buy-in in December 2026 means no lump sum of any kind before December 2029. If you might buy a flat in 2028, the timing is wrong, however good the tax saving looks.
Leaving Switzerland: what the 2025 rulings say
The three-year lock has an obvious gap: if you never take a lump sum, it doesn't apply. Two rulings from 21 February 2025 show that the gap doesn't protect anyone who buys in while planning to leave. They build on a 2006 case in which a woman bought in a week before quitting her job in Geneva and moving abroad.
The facts are almost the same in both. A couple, both French nationals born in 1982, had worked in Switzerland from 2008 to 2012 and again from 2014, most recently for companies in the same group. In July 2021 he signed for a job abroad within the group. The next day he paid CHF 200,000 into his Swiss fund, then 35,000 five days later and 100,000 on 28 September. She paid 150,000 on 14 July and 91,500 on 28 September. They left on 30 September 2021. Their savings, about CHF 805,000 and 689,000, went to vested benefits accounts in a canton with low tax on lump sums. Neither took a lump sum from the fund.

Neuchâtel refused both deductions, and the Federal Supreme Court upheld it in 9C_349/2024 and 9C_350/2024. The court agreed that the three-year rule did not apply, since nobody took a lump sum. It used the general rule against tax avoidance instead. Buying into a fund you are about to leave makes no sense as pension planning, it said, unless you clearly mean to come back and keep building your Swiss pension. The question was whether, given everything known by the end of 2021, a return was "certain or highly likely".
It wasn't, for reasons worth knowing if you're in a similar spot:
- A return guarantee was not enough. The migration office had promised they could keep their settlement permits until September 2025. But all it took to get the pension money in cash was to declare a final departure.
- The job abroad was open-ended. His transfer was a "one-way move" with a permanent contract, and the court read their plans from those documents rather than from what they said later.
- The pattern looked unusual. From 2016 to 2020 each of them had bought in CHF 20,000 to 60,000 a year; in 2021 that jumped to 241,500 and 335,000. The cantonal court added that both still had many working years left to fill any gap.
- Later facts counted for nothing. She told the court the family would move back in 2025 and that she had found a job here; the court would not look at evidence from after the cantonal judgment.
The point for you: if you might leave Switzerland within a few years, a buy-in is a bet that the tax office will believe you'll be back. If you move to an EU country, Iceland or Norway, there is a second catch, whatever your passport. You can't take the mandatory part of your savings in cash while you are compulsorily insured for pensions there, and the same applies if you move to Liechtenstein (FZG art. 25f). That money stays in a Swiss vested benefits account, at the earliest until five years before retirement age.
When a buy-in is worth it, and when it isn't
A buy-in makes most sense when three things are true: you plan to stay in Switzerland for years, you don't need the money for a home or a business soon, and your marginal rate is high. For a senior developer in their forties with a settled family, a yearly buy-in sized to stay in the top bracket is where the deduction pays most.
It makes less sense in these cases:
- You might leave. The 2025 rulings show the risk, and a lump sum taken on departure within three years would cost the deduction anyway.
- You're saving for a flat. A buy-in now blocks a home-ownership advance for three years, and an existing advance must be repaid before you can buy in at all.
- Your fund pays little. Once paid in, the money earns whatever interest your fund sets each year, and it stays locked until retirement, a home purchase, self-employment or a final departure. Ask for the fund's recent interest on savings before you compare it with other ways to invest.
- You might switch to freelancing. Taking your savings in cash to start a business counts as a lump sum. Our guide to working as a freelance developer covers how pillars 2 and 3a work once you are self-employed.
A smaller point: if your employer pays you a relocation allowance or a sign-on bonus that pushes this year's income up, a buy-in in the same year saves at that higher rate. Our post on relocation packages explains how those payments are taxed.
Before you transfer in December
Ask your fund for a buy-in offer first, not after. Check the maximum on it, tell the fund whether you moved from abroad in the last five years and whether you hold vested benefits elsewhere, and repay any home-ownership advance before you pay anything in. If you are a newcomer, the offer should already apply the 20% cap; if it doesn't, ask why.
Then pay early enough for the money to reach the fund before 31 December, keep the fund's confirmation for your tax return, and if you're taxed at source and earn under CHF 120,000, send the request for an ordinary assessment before 31 March. Write down in your files why you made the buy-in and how long you plan to stay. If the tax office asks in 2028, a note from 2026 is worth more than an explanation written then.
If pay is the thing you want to change before pension planning, our look at pay rises for 2027 is a better place to start.
Open developer jobs in Zurich
Common questions
- Can I buy in if I'm off sick or not able to work fully?
- Usually not safely. The federal pension fund PUBLICA warns on its buy-in form that a buy-in made after you became unable to work is reversed if that incapacity turns into a disability. Other funds have similar rules in their regulations, so ask before you pay.
- What happens to the three-year lock if I change jobs?
- It travels with the money. The Federal Tax Administration's circular on vested benefits says the three-year period from a buy-in still applies after your savings move to the new employer's fund or to a vested benefits account. A lump sum from the new fund inside the three years puts the old deduction at risk.
- Can I pay into a vested benefits account instead, while I'm between jobs?
- No. A buy-in is only possible into a pension fund, because only a fund has a pension plan that shows a gap. The tax administration says a payment into a vested benefits account or policy cannot be deducted.
- Can I spread a buy-in over several years?
- Yes, and at high incomes it often saves more. Each payment is deducted in the year it is paid, as long as it stays within the possible buy-in on your certificate at that time. Keep in mind that every payment starts its own three-year lock on lump sums, so the last one decides when you can next take capital out.
More posts
All posts
Salary Increase in Switzerland for 2027: What IT Staff Get
Swiss firms plan raises of 1.2% for 2027 and unions want up to 2.5%. The IT and telecom figures, how raise budgets are split, and how to make your case.

On-Call Duty in Switzerland: Working Time and Pay (2026)
On-call duty in Switzerland: when standby counts as working time, the 7-days-in-4-weeks cap, rest after a night of pages, and what standby pays.

Intellectual Property in Swiss Employment Contracts, 2026
Who owns the code, inventions and side projects you make as an employee in Switzerland, what IP clauses say, open source, and when a non-compete binds.