Money and Finance

SSN Structure Rules: Which Numbers Can Never Be Valid?

What the three parts of a Social Security number mean, which area, group and serial values are never issued and how ITINs differ.

Saizul Amin
Saizul Amin23 Oct 2026 · 3 min read
SSN Structure Rules: Which Numbers Can Never Be Valid?

SSN Structure Rules

Many forms ask for a Social Security number, and many tests need a number that looks real but is not. The US SSN Structure Validator applies the public structure rules and nothing more.

Three parts

An SSN has nine digits, written as 123-45-6789. The first three are the area number, the next two the group number and the last four the serial number. Before June 2011 the area number showed the state where the person applied, and numbers were issued in order. In 2011 the Social Security Administration switched to randomized assignment, so new numbers carry no geographic meaning.

What is never issued

The area number 000 is never used, and neither is 666. Area numbers from 900 to 999 are not used for SSNs. The group number cannot be 00 and the serial number cannot be 0000. These rules are public, and software can use them to reject entries that cannot be real, such as 000-12-3456. The validator reports which rule failed.

Famous misused numbers

The number 078-05-1120 appeared on a sample card inserted in wallets in 1938, and thousands of people used it as their own. The number 219-09-9999 was printed in an advertisement. Both are listed by the tool as misused numbers that should not be accepted for identity purposes.

ITINs

An individual taxpayer identification number is issued by the IRS to people who need a taxpayer number but cannot get an SSN. It has nine digits, starts with 9, and has a group number in the ranges 50 to 65, 70 to 88, 90 to 92 and 94 to 99. A number such as 912-70-1234 therefore has the form of an ITIN. The tool says so when the pattern matches, and reports an area error for other numbers that start with 9.

No check digit

Unlike many identifiers, the SSN has no check digit, so a program cannot prove that a number was issued. Employers confirm names and numbers with the Social Security Administration's verification services, and only for employees, with their consent and for wage reporting. Anyone else who needs to confirm identity uses other means.

How to use the tool

Type or paste one number per line, with or without hyphens. The tool shows the number in the standard layout when it passes. A failed line explains the rule that failed. The sample includes valid and invalid lines. All checks run in your browser, and nothing is sent anywhere.

A worked example

123-45-6789 passes the structure rules. 000-12-3456 fails on the area, 666-12-3456 fails on the area, 123-00-6789 fails on the group, 123-45-0000 fails on the serial number, 078-05-1120 is flagged as misused and 912-70-1234 is shown as an ITIN form.

Privacy

Social Security numbers are a prime target for identity theft. Use made-up numbers for tests and demonstrations. Do not send real numbers by email or text message or post them online. If your number is exposed, consider a credit freeze.

Limits

This tool is for education and form validation. It is not an identity check and not legal advice.

Using the rules in software

If you write validation code, apply the rules in this order: length, digits only, area not 000, 666 or 900 to 999, group not 00, serial not 0000. Treat ITIN-like numbers separately if your form allows both identifiers. Never log the numbers you validate, and mask them in the interface after entry. Store them encrypted if you have to store them at all.

Completely freeNo cost, no sign-up
Files stay privateEverything runs in your browser
Easy in your languageAvailable in many languages