What your withholding tax code means (A0N, B1Y, C2N, H1N)
The withholding tax code on your payslip has three parts. Here is how to read A0N, B1Y, C2N and H1N, and what each part does to the rate.
Every figure on this page is an estimate computed by the site from the cited data files. Your payslip and the cantonal tax office have the final word.
The short answer
Your code has three parts. A letter, a digit and a final letter. The first letter is your situation: single, married, single parent, or a cross-border case. The digit is the number of children that count for the tariff. The last letter says whether church tax is included: Y for yes, N for no.
So A0N means single, no children, no church tax. B1Y means married with only one spouse earning, one child, church tax included. C2N means married with both spouses earning, two children, no church tax. H1N means a single parent with one child, no church tax.
The structure is set by QStV Art. 1. The letters and the file layout are those of the ESTV tariff files, which every canton publishes in the same format.
Want to check one code right now? Type it into the tariff code decoder.
The first letter: your situation
The letter picks the tariff table. Each table assumes a different household, so the same salary is taxed at a different rate. The table below lists every letter that appears in the 2026 files, with the number of cantons that publish it.
| Letter | Meaning | Cantons with this letter in 2026 |
|---|---|---|
A | single (no spouse or partner) | 26 |
B | married, only one spouse earns | 26 |
C | married, both spouses earn | 26 |
E | simplified settlement procedure | 26 |
G | replacement income not paid through the employer | 26 |
H | single, living with children or dependants and mainly supporting them | 26 |
L | German cross-border commuter, single (as A) | 26 |
M | German cross-border commuter, married, only one spouse earns (as B) | 26 |
N | German cross-border commuter, married, both spouses earn (as C) | 26 |
P | German cross-border commuter, single parent (as H) | 26 |
Q | German cross-border commuter, replacement income (as G) | 26 |
R | new Italian cross-border worker, single (80% of A) | 3 |
S | new Italian cross-border worker, married, only one spouse earns (80% of B) | 3 |
T | new Italian cross-border worker, married, both spouses earn (80% of C) | 3 |
U | new Italian cross-border worker, single parent (80% of H) | 3 |
V | new Italian cross-border worker, replacement income (80% of G) | 3 |
Most employees who live in Switzerland have A, B, C or H. The letters from L to Q are for people who live in Germany. The letters from R to V are for new cross-border workers who live in Italy. They only exist in the cantons covered by the Swiss–Italian agreement.
The digit: children
The digit counts the children for whom you are entitled to a child or training allowance. It lowers the rate, because the tariff assumes part of your income goes to the children. In Zurich the highest digit in the 2026 file is 9.
Your employer sets the digit from what you report. If a child is born, or stops training, tell your employer. Otherwise the code, and so the tax withheld, stays out of date.
The last letter: church tax
Y means the rate includes church tax. N means it does not. The difference is small, but it is not zero. Whether you owe church tax depends on your canton and your membership of a recognised church.
What the code does to your rate
The code is only a key. The rate also depends on your gross salary and your canton. Here are the four codes from the title, read at a gross of CHF 8'000 a month, in three cantons.
| Code | How to read it | Rate in Zurich | Rate in Basel-Stadt | Rate in Geneva |
|---|---|---|---|---|
A0N | single (no spouse or partner); no children; no church tax | 8.66% | 13.06% | 12.94% |
B1Y | married, only one spouse earns; one child; church tax included | 4.05% | 5.52% | not published |
C2N | married, both spouses earn; 2 children; no church tax | 4.72% | 10.67% | 7.26% |
H1N | single, living with children or dependants and mainly supporting them; one child; no church tax | 4.44% | 7.38% | 3.53% |
The pattern is the same everywhere. B is lower than A, because one income supports two people. Each child lowers the rate again. Church tax adds a little. The level differs a lot between cantons, so compare codes only within one canton.
Your actual rate is applied to your monthly gross, including bonuses paid that month. Some cantons apply an annual model instead. The methodology explains the two models. The withholding tax overview shows the model of each canton, and each canton page lists its own codes.
When your code looks wrong
Three things are worth checking:
- Your civil status and children on the payslip match your situation today.
- C, not B, when your spouse also works. B with two incomes is a common reason for a large bill later.
- Church tax matches your membership.
If something does not match, ask your employer to correct the code. The employer applies the code; the cantonal tax office has the last word. If you disagree with the tax withheld, you can ask the tax office for a formal decision by the end of March of the following year, under DBG Art. 137.
Caveats
- The rates above are estimates read from the published tariff files. Your payslip can differ because of rounding, bonuses or a mid-year change of code.
- Withholding tax is not always your final tax. Above a certain income, or if you ask for it, an ordinary assessment follows. See the methodology.
- Codes such as HE, ME, NO and SF are not tariff codes. The ESTV record format lists them as predefined categories: HE for board members, ME for employee participations, NO for corrections when someone was wrongly taxed or not taxed at source, and SF for French cross-border commuters under the special agreement of some cantons.
Next steps: decode your code, check a payslip, or estimate your net salary.
Official sources
- Ordinance on withholding tax (QStV), SR 642.118.2, Art. 1
- ESTV, withholding tax tariffs for payroll systems (TXT, all cantons)
- ESTV circular no. 45 on withholding tax
- ESTV, structure and record formats of the withholding tax tariffs from 2027
- Canton of Zurich, withholding tax tariff A without church tax
- Canton of Geneva, withholding tax scales A, B, C and H