How the Social Security Baby Name Data Works
Most US baby name lists come from one public data set. Here is what the Social Security Administration files contain, how names are ranked, what they leave out, and why different spellings are counted apart.
Published 29 Oct 2026 Updated 29 Oct 2026
Quick answer
The Social Security files list every name given to 5 or more babies of a sex in a year, for US-born people with a Social Security number: 3,315,343 babies and 31,227 name records for 2025. Names are ranked by number of babies, ties alphabetically, and each spelling counts separately. SSA-NAMES
What the files contain
The Social Security Administration (SSA) publishes the relative frequency of given names among US births where the person has a Social Security number, tabulated from its records as of March 1, 2026. SSA-NAMES
- One file per birth year. For each year after 1879 there is a file named yobYYYY.txt, so the national data run from 1880 to 2025.
- Three fields. Every record is name, sex (M or F) and number of occurrences. A name is 2 to 15 characters long.
- Sorted. Each file is sorted first by sex and then by the number of occurrences, highest first. When two names have the same number, they are in alphabetical order.
- Rank. The first record for each sex has rank 1, the second rank 2, and so on, so a name's rank is its position in its sex's list.
- Privacy rule. To safeguard privacy, the list is restricted to names with at least 5 occurrences.
The SSA also publishes state files from 1910, which let you see which names were most common in each state.
How to read a row
Each line is one record. For 2025 the first girls' record is "Olivia,F,13544": 13,544 girls listed that year were named Olivia, and it is rank 1 because it is the first F record in the file. SSA-NAMES
Ties follow the alphabet. Ellie and Lucy were each given to 6,176 girls in 2025, so Ellie is ranked 24 and Lucy 25. Neither is more popular, so treat ranks that are close as ties. SSA-NAMES
Because of this, a good way to use the data is to compare counts rather than ranks, to compare decades by babies per million births rather than raw counts, and to add the counts of spellings that you consider the same name.
How much data there is
The number of babies and of different names in the files, for six sample years. Names became far more varied: there are many more names for each baby than there were. SSA-NAMES
| Birth year | Girls listed | Girls' names | Boys listed | Boys' names |
|---|---|---|---|---|
| 1900 | 299,784 | 2,223 | 150,474 | 1,506 |
| 1925 | 1,217,384 | 5,771 | 1,115,919 | 4,867 |
| 1950 | 1,713,054 | 6,109 | 1,790,262 | 4,196 |
| 1975 | 1,457,861 | 10,618 | 1,561,357 | 6,337 |
| 2000 | 1,816,036 | 17,660 | 1,964,001 | 12,119 |
| 2025 | 1,607,267 | 17,297 | 1,708,076 | 13,930 |
"Listed" means the babies whose name was given to 5 or more babies of that sex that year. It is not the number of births.
What the files leave out
- The rarest names. Names given to fewer than 5 babies of a sex in a year are not listed.
- People without a Social Security number. The data describe US births where the person has one.
- Anything but sex and name. There are no middle names, no places in the national files, and no meanings or origins.
- Other categories of sex. Sex is recorded as M or F only, so the files cannot say anything about other categories.
Why spellings matter
Each spelling is its own record. In 2025, 12,561 girls were named Sophia and 8,252 were named Sofia. Together that is 20,813 girls, more than the 13,544 named Olivia, the number 1 girls' name in the files. So a name's rank can understate how many babies sound the same. SSA-NAMES
Lists that "combine all spellings" are making a choice about which spellings belong together. The raw files make no such choice, and neither do we: our tools show each name as the SSA records it.
How we use the data
- The US name popularity tool looks up any name in the files and charts its history from 1880.
- The baby name generator uses names that reached the top 1,000 for their sex in any year since 1940, plus names given to 100 or more babies in 2025.
- The lists in our guides, such as top names by decade, are counted by script from the files, never typed by hand.
Questions
Does the Social Security data include every baby born in the US?
How is a name's rank decided?
Why are names given to fewer than 5 babies missing?
Are different spellings of a name added together?
Can a name appear in both the girls' and the boys' list?
Where can I download the files?
Sources and method
- SSA-NAMES US Social Security Administration, "Popular Baby Names: national data (1880-2025) and state data (1910-2025)", www.ssa.gov/oact/babynames/limits.html Opened 26 Oct 2026
Numbers in tables are worked out by script from the files named above, never typed by hand. See how we check our work in the editorial policy and all formulas and sources.
More guides
See all guides and name lists.
Use the tool
Check your own numbers or names: US name popularity shows any name's US rank and trend since 1880.