International · Validation

UK National Insurance Number validator.

Check a NINO's shape against HMRC's own published prefix and suffix rules — which letters can never start a prefix, which pairs are never issued, and which final letter is allowed.

Important, up front: unlike a SIN or a VIN, HMRC has never published a check digit for a NINO. It is an assigned identifier, not a self-checking one. This tool validates the documented format rules — it cannot confirm a number was ever actually issued.

Source: gov.uk — HMRC National Insurance Manual, NIM39110Verified 29 September 2026

How a NINO is structured

A National Insurance Number is a nine-character identifier: a two-letter prefix, six digits, and a final suffix letter (for example AB 12 34 56 C). HMRC's own National Insurance Manual (NIM39110) documents exactly which letters and pairs are never used, rather than leaving it to guesswork:

Prefix and suffix rules this tool checks
RuleDetail
Banned from either prefix letterD, F, I, Q, U, V
Banned from the second prefix letter onlyO
Prefix pairs never issuedBG, GB, KN, NK, NT, TN, ZZ
Valid final (suffix) lettersA, B, C, D

HMRC's own illustrative example in that manual, QQ 12 34 56 A, is explicitly a placeholder and not a real prefix — it starts with Q, which the same rules ban outright. This tool correctly reports that example as invalid, exactly as HMRC intends.

No checksum exists on a NINO

A Social Insurance Number and a VIN both carry a real, published check digit that lets you catch a typo mathematically. A NINO does not: it is simply an assigned identifier with no self-check digit built in. That means this tool can tell you a NINO is the right shape, but it cannot tell you whether a specific number was ever actually issued to a real person — only HMRC can do that.

What a National Insurance number is

A National Insurance number, usually shortened to NINO, is a personal identifier issued in the UK. GOV.UK says it is made up of two letters, six numbers and a final letter, and that your number remains the same for life. You will usually need it when you start a job, and organisations such as HMRC, your employer and the Department for Work and Pensions (if you claim state benefits) may ask for it. The same page tells people not to share it with anyone who does not need it, to reduce the risk of identity fraud.

This page checks whether a number looks like a NINO under HMRC’s published format rules. It is not an HMRC lookup and it cannot tell you whether a number was ever issued to a real person or who holds it. That is by design: only HMRC can answer that, and the number should not be typed into random websites.

The format rules, explained piece by piece

HMRC’s National Insurance Manual (NIM39110) sets out the structure, and the tool applies it in four checks.

A shape-valid example is AB 12 34 56 C. It passes all four tests and still tells you nothing about whether such a number exists. Spaces between the pairs of digits are optional in the input.

Why the suffix letter exists

The manual explains that the suffix letters come from the days of paper contribution cards, which were returned at different times of the year: A for March, B for June, C for September and D for December. The cards are no longer used, but the suffix remains part of the number, which is why it is still checked here.

There is no checksum to verify

Many identifiers carry a check digit that catches typos mathematically, such as a Canadian Social Insurance Number or a payment card. A NINO has none, and HMRC has never published one. That is why this validator is limited to the format rules above. A single mistyped digit will usually still produce a number that looks valid, so the only reliable way to confirm a NINO is to read it from a document that came from HMRC or DWP, such as a payslip, a P60 or a letter about tax, pensions or benefits.

Numbers that look like NINOs but are not

NIM39110 lists administrative and temporary numbers that deliberately use prefixes the validator rejects. OO was used for the temporary administration of Tax Credits when no NINO was held, FY was previously used for Attendance Allowance, NC for Stakeholder Pensions until 2005-06, and PZ for tax-only cases until August 2002. TN prefixes were temporary numbers, no longer used or accepted: the manual says employers should leave the NINO box blank and enter the date of birth and gender instead. PP is a valid prefix, but PP999999P should not be used as a NINO. A Temporary Reference Number (TRN) is also not a NINO. It lets HMRC deal with tax and National Insurance contributions, but it does not give access to benefits or services that need a NINO, which has to be applied for through the DWP.

Finding, getting and generating a number

To find your own, GOV.UK points to a payslip, a P60 or letters about tax, pensions or benefits, as well as the HMRC app, a personal tax account, or an Apple or Google Wallet card if you saved it there. HMRC cannot give out the number over the phone or on webchat. Most people receive a letter with their number shortly before their 16th birthday. If you do not have one and you live in the UK, have the right to work and are working, looking for work or have an offer, you can apply, and if you already have one you do not need a new one even if your personal details change.

Searches for a NINO generator are usually for test data. This site does not generate numbers, because a random number that passes the format rules could belong to a real person. For demos and documentation, HMRC’s own manual uses QQ 12 34 56 A as an illustrative placeholder, and the validator reports it as invalid because Q is not allowed, which is exactly what you want from a number that must never match a real one. For other UK tools see the National Insurance calculator and the NHS number validator.

Frequently asked questions

What does a UK National Insurance number look like?

It has two letters, six numbers and a final letter, for example QQ123456B in GOV.UK's own example. The last letter is always A, B, C or D. HMRC's manual also lists letters and pairs that are never used as prefixes.

Which letters can never be used in a NINO prefix?

D, F, I, Q, U and V cannot be either of the first two letters, and O cannot be the second letter. The pairs BG, GB, KN, NK, NT, TN and ZZ are also never used as prefixes.

Does a National Insurance number have a check digit?

No. HMRC has never published a checksum for a NINO, so a validator can only check the format rules. A number with a typo in the digits will usually still look valid.

Where can I find my National Insurance number?

GOV.UK suggests checking a payslip, a P60 or letters about tax, pensions or benefits, the HMRC app, your personal tax account or an Apple or Google Wallet card if you saved it there. HMRC cannot give you the number over the phone or on webchat.

Does my National Insurance number ever change?

No. GOV.UK says your National Insurance number remains the same for life, and that if you already have one you do not need to apply for a new one even if your personal details change.

Can this tool tell me if a NINO is real or belongs to someone?

No. It only checks the format. It does not contact HMRC, and a number that passes may never have been issued. Only HMRC can confirm a number, and you should keep your number private.

Why does the suffix have to be A, B, C or D?

HMRC's manual explains that the suffix comes from paper contribution cards that were returned in March, June, September and December. The cards are no longer used, but the suffix is still part of every NINO.

What is a temporary or TN number?

Numbers with a TN prefix were temporary numbers and are no longer used or accepted, according to HMRC's manual. Employers should leave the NINO box blank and enter the employee's date of birth and gender instead. A Temporary Reference Number is a separate HMRC reference and is not a NINO.

Sources

Primary and reference sources used for this page, each opened and checked in October 2026:

Format check only — not an HMRC lookup

This tool checks format entirely in your browser against HMRC's published rules. It does not query HMRC, and a shape-valid result is not proof the number was ever issued. Nothing you type is transmitted, stored, or logged.

Advertisement
Advertisement