NIN
GeneralUK National Insurance Number
A unique personal reference number issued by HMRC used to track National Insurance contributions and tax records in the UK. Format: 2 letters, 6 digits, 1 letter.
Definition
A National Insurance Number (NIN or NINO) is a unique personal reference number issued by HMRC, used to track an individual's National Insurance contributions, tax records, and eligibility for UK state benefits. It's required for nearly every formal employment and tax interaction in the UK, from starting a new job to claiming certain government benefits.
The NIN format follows specific, documented rules beyond just "2 letters, 6 digits, 1 letter" โ several letter combinations are explicitly excluded by HMRC's numbering scheme, which makes it possible to catch many typos or invalid numbers through format checking alone, without needing to contact HMRC. The UK NIN Validator applies these exact rules.
Formula
A NIN is checked against four structural rules:
- Format: 2 letters, 6 digits, 1 letter.
- First letter: must not be D, F, I, Q, U, or V.
- Second letter: must not be D, F, I, Q, U, V, or O.
- Prefix: the first two letters together must not be BG, GB, NK, KN, TN, NT, or ZZ.
- Suffix: the final letter must be A, B, C, or D.
Worked Example
For the NIN AB 12 34 56 C, normalised to AB123456C:
- First letter "A" โ not in the banned list โ
- Second letter "B" โ not in the banned list โ
- Prefix "AB" โ not a reserved combination โ
- Suffix "C" โ one of the valid suffix letters โ
All checks pass, so the NIN is structurally valid.
A NIN starting with GB, by contrast, fails immediately โ GB is one of the seven permanently reserved prefixes.
Key Things to Know
- Letter exclusions are specific, not arbitrary: D, F, I, Q, U, V (first letter) and additionally O (second letter) are never used, by design.
- Seven prefixes are permanently reserved: BG, GB, NK, KN, TN, NT, and ZZ are never allocated to a real NIN.
- Suffix must be AโD: any other final letter makes the NIN invalid.
- A valid format isn't proof of an active NIN: confirming a NIN is actually issued and active requires verification through HMRC, not just a format check.
Frequently Asked Questions