A Social Security number has nine digits

A Social Security number (SSN) is always nine digits long. The number is written in three groups: three digits, then two digits, then four digits. For example, a Social Security number might look like 123-45-6789, though the hyphens are not required when you type it into a form.

The nine digits are not random. Each group has a specific meaning based on when and where the number was issued. Understanding this structure can help you spot errors on documents or recognize when someone has written your number incorrectly.

Key Takeaways

  • A Social Security number always contains exactly nine digits, written as three groups separated by hyphens (XXX-XX-XXXX).
  • The first three digits are the area number, the middle two are the group number, and the last four are the serial number.
  • You should never share your full Social Security number unless you are dealing with a bank, employer, government agency, or medical provider with a legitimate reason to request it.
  • If you lose your Social Security card or suspect your number has been stolen, contact the Social Security Administration or your local Social Security office right away.

What each group of digits means

The first three digits are called the area number. Originally, this number was based on the state where you applied for your Social Security number. However, the Social Security Administration stopped using geography to assign area numbers in 2011, so the area number no longer tells you where someone lived when they got their number.

The middle two digits are the group number. This number was assigned in a specific order within each area number group. The last four digits are the serial number, which is assigned in order from 0001 to 9999. Together, these nine digits create a unique identifier for each person in the Social Security system.

Why the nine-digit format matters

The nine-digit format has been standard since Social Security numbers were first issued in 1936. This length was chosen to create enough unique combinations to cover the entire U.S. population without repeating numbers. With nine digits, there are nearly one billion possible combinations.

When you fill out forms, you may see spaces for nine separate boxes, or you may see a single line where you type all nine digits together. Both formats are correct. Some online systems accept the hyphens; others ask you to enter only the numbers with no punctuation. If you are unsure, try entering just the nine digits without hyphens.

Protecting your nine-digit number

Because your Social Security number is unique to you and linked to your financial history, tax records, and benefits, you should treat it as sensitive information. Only share it with employers, banks, the Social Security Administration, the Internal Revenue Service, Medicare, or medical providers who have a clear reason to request it.

Be cautious about sharing your number over the phone unless you initiated the call to a number you know is legitimate. Scammers sometimes call claiming to be from the Social Security Administration and threaten to suspend your number or benefits if you do not provide it. The real Social Security Administration will not call you out of the blue to ask for your number.

What to do if you lose your card or suspect fraud

If your Social Security card is lost or stolen, or if you suspect someone has used your number without permission, contact your local Social Security office or call the Social Security Administration's main number. You can request a replacement card at no cost. The Social Security Administration can also help you check whether anyone has been using your number to work or claim benefits.

If you believe your number has been used for identity theft, you should also place a fraud alert with the three major credit bureaus (Equifax, Experian, and TransUnion) and monitor your credit reports for accounts you did not open. Many banks and credit card companies offer free credit monitoring services to their customers.

Frequently Asked Questions

Can a Social Security number have all the same digits, like 111-11-1111?

No. The Social Security Administration does not issue numbers where all nine digits are the same, where all digits are zero (000-00-0000), or where the first three digits are 000 or 666. These combinations are considered invalid and will be rejected by most systems.

What if I see a Social Security number with fewer or more than nine digits?

A valid Social Security number always has exactly nine digits. If you see a number with more or fewer digits, it is either a typo or not a real Social Security number. Double-check the number before submitting it to a bank, employer, or government agency.

Do I need to include hyphens when I write my Social Security number?

The hyphens are optional. You can write your number as 123-45-6789 or as 123456789, and both are correct. Most online forms will accept either format, but some may ask you to enter only the digits without punctuation. Follow the instructions on the form you are filling out.

Is it safe to write my full Social Security number on a check?

No. You should never write your full Social Security number on a check or any document that might be seen by others. If a bank or business asks for your number, ask why they need it and whether they can use a different form of identification instead. Many businesses do not actually need your full number.