89

Is there a canonical "test SSN" that is used by convention, so is understood by all who see it that it is not a real SSN?

Amit Naidu
  • 2,494
  • 2
  • 24
  • 32
Rob
  • 5,512
  • 10
  • 41
  • 45
  • Here is the most recent data from the [ssa.gov site](https://secure.ssa.gov/poms.nsf/lnx/0110201035) which will help identify numbers that are invalid. – Lisa Jun 04 '20 at 18:45

7 Answers7

65

There are multiple number groups and some particular numbers that will never be allocated:

Consider using one of these (the obviously invalid 000-00-0000 would be a good one IMO).

(Answer has been updated to provide source information beyond Wikipedia and remove information that is no longer accurate after the SSA made its randomization change in mid 2011.)

Håvard S
  • 23,244
  • 8
  • 61
  • 72
  • 8
    All other things being equal, choosing the first digit group to contain your "all zeros" is a good test of your code to make sure zeros aren't being dropped from the beginning of your SSNs (storing the SSN as a number is a common mistake). – lance Feb 22 '10 at 20:00
  • 2
    I have not be able to find any information supporting this. The SSN office only states that area numbers 900-999 isn't used (http://www.ssa.gov/employer/randomization.html), but I believe they are used for ITIN (http://www.irs.gov/Individuals/General-ITIN-Information). – Jim Keener Jul 09 '14 at 15:21
  • @jimktrains Answer is updated with accurate and recent information and sources now. – Håvard S Aug 13 '14 at 16:28
48

To expand on the Wikipedia-based answers:

The Social Security Administration (SSA) explicitly states in this document that the having "000" in the first group of numbers "will NEVER be a valid SSN":

I'd consider that pretty definitive.

However, that the 2nd or 3rd groups of numbers won't be "00" or "0000" can be inferred from a FAQ that the SSA publishes which indicates that allocation of those groups starts at "01" or "0001":

But this is only a FAQ and it's never outright stated that "00" or "0000" will never be used.

In another FAQ they provide (http://www.socialsecurity.gov/employer/randomizationfaqs.html#a0=6) that "00" or "0000" will never be used.

I can't find a reference to the 'advertisement' reserved SSNs on the SSA site, but it appears that no numbers starting with a 3 digit number higher than 772 (according to the document referenced above) have been assigned yet, but there's nothing I could find that states those numbers are reserved. Wikipedia's reference is a book that I don't have access to. The Wikipedia information on the advertisement reserved numbers is mentioned across the web, but many are clearly copied from Wikipedia. I think it would be nice to have a citation from the SSA, though I suspect that now that Wikipedia has made the idea popular that these number would now have to be reserved for advertisements even if they weren't initially.

The SSA has a page with a couple of stories about SSN's they've had to retire because they were used in advertisements/samples (maybe the SSA should post a link to whatever their current policy on this might be):

Community
  • 1
  • 1
Michael Burr
  • 333,147
  • 50
  • 533
  • 760
  • 8
    Excellent answer. Based on this, I'm going to adopt 000-11-1111 as the default example SSN. – Rob Feb 22 '10 at 21:28
  • 1
    "no numbers starting with a 3 digit number higher than 772" - this is outdated information. My SSN starts with 8. – Ruslan Mansurov Jan 23 '19 at 18:37
16

Numbers from 987-65-4320 to 987-65-4329 are reserved for use in advertisements.

Malfist
  • 31,179
  • 61
  • 182
  • 269
  • 2
    I have not be able to find any information supporting this. The SSN office only states that area numbers 900-999 isn't used (http://www.ssa.gov/employer/randomization.html), but I believe they are used for ITIN (http://www.irs.gov/Individuals/General-ITIN-Information). – Jim Keener Jul 09 '14 at 15:18
  • 2
    Wikipedia stated this back in 2010, citing a [book called "How to be invisible" by J. J. Luna](http://en.wikipedia.org/wiki/Special:BookSources/0-312-31906-1). This information is no longer accurate, see my answer for a current update. – Håvard S Aug 13 '14 at 16:31
14

Please look at this document

http://www.socialsecurity.gov/employer/randomization.html

The SSA is instituting a new policy the where all previously unused sequences are will be available for use.

Goes into affect June 25, 2011.

Taken from the new FAQ:

What changes will result from randomization?

The SSA will eliminate the geographical significance of the first three digits of the SSN, currently referred to as the area number, by no longer allocating the area numbers for assignment to individuals in specific states. The significance of the highest group number (the fourth and fifth digits of the SSN) for validation purposes will be eliminated. Randomization will also introduce previously unassigned area numbers for assignment excluding area numbers 000, 666 and 900-999. Top

Will SSN randomization assign group number (the fourth and fifth digits of the SSN) 00 or serial number (the last four digits of the SSN) 0000?

SSN randomization will not assign group number 00 or serial number 0000. SSNs containing group number 00 or serial number 0000 will continue to be invalid.

FelixD
  • 193
  • 1
  • 6
7

I used this 457-55-5462 as testing SSN and it worked for me. I used it at paypal sandbox account. Hope it helps somebody

  • 3
    Do you have any information about this, otherwise you just posted some random person's number. – Jim Keener Jul 09 '14 at 15:17
  • @jimktrains I can see why you might be aghast by this but think about it, without any OTHER info (name, date of birth, etc) anyone could have randomly chosen that number. There is nothing "magical" about an SSN by itself. – Andrew Steitz Mar 20 '15 at 16:35
  • 6
    Not some random person, but Todd Davis, founder and former CEO of LifeLock. He famously included that number, his own SSN, in an ad campaign. – Robᵩ Jan 11 '17 at 20:05
  • Further reading: https://en.wikipedia.org/wiki/457-55-5462. Also see: [078-05-1120](https://www.newyorker.com/magazine/1941/09/27/078-05-1120) and [219-09-9999](https://www.snopes.com/fact-check/the-woolworth-card/) – Amit Naidu Sep 19 '19 at 19:34
6

all zeros would probably be the most obvious that it wasn't a real SSN.

brian
  • 1,080
  • 9
  • 7
  • 1
    @Robusto: That works unless he has some validation for numeric values. – FrustratedWithFormsDesigner Feb 22 '10 at 19:58
  • 2
    I will now use all those invalid--but numeric!--ranges on random websites. You'd be surprised how many accept (555) 555-5555 (after you remove the punctuation, of course, because they're "validating"). –  Feb 22 '10 at 20:19
2

If your testing requires pulling quasi-real credit reports from the bureaus, the inactive SSNs of other answers won't work and you'll need designated test numbers.

I found this site Which appears to contain test social security numbers with associated test names and credit card numbers.

Transunion has a test environment you can link and send data to, including associated dummy credit reports. Sending a SSN to them with certain numbers in certain positions will automatically route the inquiry to their test environment Other credit bureaus will have similar systems in place.

bobdaduck
  • 21
  • 2