Scottish tax codes
An S at the front of your code means your income tax is charged at rates set by the Scottish Parliament, on a scale with more bands than the rest of the UK uses. That is why Scotland has four SD codes where the rest of the UK has two D codes, and why they do not line up with each other.
This site is an independent UK tax-code explainer. We explain the statutory mechanics, but we do not access your data.
What the S prefix does
If you live in Scotland, your tax code operates under a different statutory framework. Your code will carry a specific prefix that instructs the employer to apply Scottish rules. This is a fundamental change to how your taxable payments are processed by the payroll software.
Under reg 7(2A), an “S code” effects deductions “at the rates set by a Scottish rate resolution of the Scottish Parliament under section 80C of the Scotland Act 1998”. This means the tax bands applied to your income are determined by Holyrood, not Westminster.
More bands, and a different calculation path
Scotland has more income tax bands than the rest of the UK. The structure of the tax calculation is completely different. It is not merely a case of applying the same bands with slightly altered percentages. The thresholds themselves diverge, creating a unique calculation path in the payroll software.
The Scottish calculation applies to non-savings and non-dividend income. The employer processes your wage through the specific Scottish tables prepared for the payroll software. These tables enforce the unique thresholds set by Holyrood, meaning the calculation diverges immediately from the standard UK approach at the very initial band. The software cannot mix the rules.
In situations requiring a flat deduction, the regulations provide specific rules. reg 32 specifies that on the higher rate code the employer deducts at the higher rate and regulations 22 and 26 (cumulative and non-cumulative basis) do not apply. For Scotland, reg 32B establishes the same principle for Scottish upper rate codes.
Why SD0 is not the Scottish D0
It is a fundamental error to assume correspondence between the systems. HMRC’s Scottish flat-rate codes do NOT line up with the rest-of-UK ones. Because of the extra bands, the administrative designations do not map directly. For instance, the Scottish intermediate rate code does not correspond to the rest-of-UK higher rate code. Assuming these codes mean the same thing across the border causes significant confusion. Never assume an S code is equivalent to a rest-of-UK code with a different prefix.
Moving across the border
Your taxpayer status is determined by your main home. If you moved across the border during the year, HMRC must determine the code based on where you live. The prefix applied to your code dictates the entire calculation structure for the year.
When the new instruction arrives, the payroll software recalculates your position. If you moved to Scotland and received an S prefix, the software applies the Scottish rate resolution to your entire year of earnings to date. It compares the tax you should have paid under the Scottish bands with the tax you actually paid before the move. Any difference is adjusted on that payslip. The system is designed to self-correct, but it relies entirely on HMRC holding your current main home address.
Why the payslip can be right and wrong at once
It is important to remember that the payroll software operates automatically based on these instructions. The software does not know your personal circumstances; it only knows the data HMRC has transmitted. If the data transmitted is outdated, the deduction will be mathematically accurate according to the instruction, but factually wrong for your life. This is why maintaining accurate records with the authorities is the only way to ensure the system operates as intended.
If your code appears incorrect after a move, you must check the address held on HMRC’s authenticated Personal Tax Account. The employer simply follows the prefix instruction provided by HMRC. This independent site cannot access your records or give personal tax advice. The only place a person’s actual code can be viewed is HMRC’s authenticated Personal Tax Account.
Every Scottish tax code, and what each one charges
These are the S codes this site decodes. Each has its own page with the regulation behind it and a worked example computed from the payload, because they are different rules rather than variations on one.
- S1257L — You’re entitled to the standard tax-free Personal Allowance.
- S0T — Your Personal Allowance (Scotland) has been used up, or you’ve started a new job and your employer does not have the details they need to give you a tax code.
- SBR — 20% on everything from that job or pension, the Basic rate for Scotland.
- SD0 — 21% on everything from that job or pension, the Intermediate rate for Scotland.
- SD1 — 42% on everything from that job or pension, the Higher rate for Scotland.
- SD2 — 45% on everything from that job or pension, the Advanced rate for Scotland.
- SD3 — 48% on everything from that job or pension, the Top rate for Scotland.
The four SD codes are the ones worth reading side by side. They are one statutory category — reg 7(3) creates “the appropriate Scottish upper rate code” in the singular and does not distinguish between them — split into four by HMRC’s naming, each pointing at a different rate on the Scottish scale. Welsh codes are a third arrangement again, built by an arithmetic rather than by a rate.
Common questions
What does an S at the start of my tax code mean?
Reg 7(2A) defines an S code as one that effects deductions “at the rates set by a Scottish rate resolution of the Scottish Parliament under section 80C of the Scotland Act 1998”. The prefix decides which scale of rates the whole calculation runs on.
Is SD0 the Scottish version of D0?
No, and assuming it is is the mistake this page exists to stop. Scotland has more bands than the rest of the UK, so the designations do not map across: the Scottish intermediate rate code does not correspond to the rest-of-UK higher rate code.
What is an SBR tax code?
SBR is the basic rate code read with reg 7(2A): everything from that job or pension is taxed at the basic rate in Scotland, with no tax-free amount and no band steps.
Which tax code do I get if I move to or from Scotland?
Your taxpayer status follows your main home, so HMRC reissues the code with or without the S prefix. The payroll then applies the new scale to your whole year to date and adjusts the difference on that payslip.
How many Scottish tax bands and Scottish tax codes are there?
The Scottish scale in this site's rate data has 6 rate bands, against three for the rest of the UK, and this site decodes 7 Scottish codes. The extra bands are why Scotland has four SD codes where the rest of the UK has two D codes.
Independent tool not affiliated with HMRC. For your official code, log in to your Personal Tax Account. Check your tax code on GOV.UK.
Tax codes are not the same across the UK. A code starting with S uses the Scottish rates, which have more bands than the rest of the UK; a code starting with C uses the Welsh rates, which are built by a different rule even in a year when they come to the same figures. Check the first letter of your code before you read any rate on this site.
Letters and law are not the same thing. The PAYE Regulations create these codes by describing what they DO — “the basic rate code”, “the nil tax code” — and, with one exception, never write down the letters HMRC prints on your payslip. The letters are HMRC’s naming for those functions. This site labels which is which on every page, and the sources page shows the search behind that statement.
The figures and rules on this site are taken from the Income Tax (Pay As You Earn) Regulations 2003, the Income Tax Act 2007 and HMRC’s published guidance, and are shown as they were found. They have not been signed off by a reviewer. Where the law and HMRC’s naming differ, the page says which is which rather than blending them. For anything that affects a decision, the cited document governs and this site does not.