All income from this source taxed at 40%, no personal allowance.
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
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 D0 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.