Scottish taxpayer version of D0 - same allowance logic, but Scottish income-tax rates apply.
SD0 marks you as a Scottish taxpayer for the 2026/27 year. The personal-allowance logic is identical to the rUK version of D0 - the number still represents your tax-free amount, the letter still describes any allowance adjustment - but Holyrood (not Westminster) sets the rates above the allowance. The 2026/27 Scottish bands are: 19% starter rate on the first slice above your allowance, 20% basic rate, 21% intermediate rate, 42% higher rate, 45% advanced rate and 48% top rate above £125,140. HMRC determines residency from your main home, not your employer's location, so a Scotland-based employee at a London-headquartered firm will still be issued an S code. National Insurance is unaffected and continues to use UK-wide thresholds. The D0 tax code instructs your employer or pension provider to deduct income tax at the higher rate of 40% from every pound of pay, with no personal allowance and no basic-rate band applied at this source. It is almost always used for a secondary income - a second employment, a pension running alongside a salary, or a directorship - when HMRC already knows that your primary income has consumed both your £12,570 personal allowance and your full £37,700 basic-rate band. In that scenario D0 is the correct code: any further pound earned would have been taxed at 40% anyway, so the flat deduction matches reality. Where D0 is wrong, the symptom is obvious - you will see a startling 40% tax bill on a second job that pays only a few thousand pounds a year, and you will be due a refund. That can happen if HMRC overestimated your main income, if you stopped a higher-paying role mid-year, or if a benefit-in-kind was removed without an updated P11D being filed.
Annual tax-free allowance
£0
S
Scottish prefix - you live in Scotland and pay Scottish income-tax rates (19% / 20% / 21% / 42% / 45% / 48%).
Letter pair
Deduct at higher rate - flat 40%, no allowance, used for secondary income above the basic-rate band.
Non-executive directorship paying £20,000 alongside a £100k salary on £20,000 (paid monthly).
Gross annual
£20,000
Tax-free allowance
£0
Tax / month
£666.67
Frequency
monthly
£20,000 × 40% = £8,000/year. Correct because the basic-rate band is consumed by the primary salary.
Quick decision tree - when SD0 is the wrong fit, here is the most likely correct code.
Source
The semantics on this page are sourced from gov.uk PAYE guidance. Always verify against your latest P2 (Notice of Coding) and the official HMRC page below.
Need a deeper decode?
Type any UK tax code (including S/C prefixes for Scotland and Wales, and W1/M1/X markers) and get the personal allowance, marginal rate, and band breakdown.
Tax Code CheckerHand-picked next reads - related codes, deep-dive guides, and a local payslip checker.
Upload a payslip photo and we will check the deductions against HMRC 2026/27 rates in seconds.
Check My PayslipPayslipIQ provides educational information and estimated calculations only. It does not provide tax, legal, financial, payroll, accounting, pension, benefits or employment advice. Always verify your payslip, tax code, deductions and take-home pay with your employer's payroll department, HMRC, your pension provider, a qualified accountant, tax adviser or another appropriately qualified professional.