El Gordo Number Generator: Random Décimos for Spain's Christmas Lottery
Pick a random 5-digit décimo for El Gordo de Navidad. Learn how Spain's Christmas lottery works, what a décimo actually is, and why every number has the same odds.
Last updated September 4, 2026 · 11 min read
Every December, Spain grinds to a halt for four hours on the morning of the 22nd to watch children from Madrid's Colegio de San Ildefonso sing lottery numbers on live television. This is the Sorteo Extraordinario de Navidad — El Gordo, "the Fat One" — the largest lottery in the world by total prize pool, and the country's most-watched broadcast of the year. Families gather. Bars set up projectors. Offices pool money for shared tickets. Grandmothers who never gamble hold their décimo tight, waiting to hear the five digits printed on it fall out of a child's mouth.
If you're here, you probably want two things: a random 5-digit number to play (or to gift), and a plain explanation of what you're actually buying. This article covers both. The short version on the "which number is lucky" question: none of them, and all of them. Every one of the 100,000 possible numbers has exactly the same odds of coming out of the golden drum. But the tradition of choosing meaningfully — a birthday, a mirror pattern, a date that matters — is half the fun of playing El Gordo in the first place, and there's nothing wrong with a random pick as long as you know what you're getting.
What El Gordo actually is
El Gordo is the informal name for the top prize in Spain's official Christmas lottery, run by Loterías y Apuestas del Estado, the state operator. It's been drawn every December 22nd since 1812, which makes it older than the country of Belgium. The draw itself is a public ceremony held at the Teatro Real in Madrid and broadcast live on RTVE.
The mechanics: 100,000 tickets are printed, each with a 5-digit number from 00000 to 99999. Each number is printed on a "billete" — a full ticket — which is subdivided into 10 identical "décimos," or tenths. A décimo costs €20. A full billete therefore costs €200. Both décimos and full billetes carry the same 5-digit number, so if 46792 wins El Gordo, everyone holding any décimo of 46792 shares in the prize proportionally.
The top prize, El Gordo, pays €4,000,000 per full billete — which works out to €400,000 per décimo. That is the headline number that appears on the news every year. But El Gordo is only the biggest of dozens of prize tiers. On any given draw, around 15,000 numbers win something, from the €400,000-per-décimo top prize down to the €200 "reintegro" that gives you back a €20 décimo's stake if its last digit matches the last digit of El Gordo. Total prize payout runs to roughly €2.5 billion in a typical year, distributed to about a third of all tickets sold.
That "one in three chance of winning something" line gets repeated a lot, but read it carefully: winning "something" often means getting your €20 back, not going home with a life-changing sum. The odds of an individual décimo winning El Gordo itself are exactly 1 in 100,000.
How the draw works
The draw is theater. Two giant spherical cages made of gold-plated brass sit on stage. The larger one contains 100,000 wooden balls, each with a 5-digit number. The smaller contains balls representing the prize amounts — roughly 1,807 of them, one per prize on offer. Both cages rotate. On each round, a ball drops from each simultaneously, and the two paired-up children from the San Ildefonso school (a residential school with historical ties to the lottery) sing the number and the prize in a specific chanted cadence. One child sings the number, the other sings the amount.
The whole thing takes about three and a half to four hours. The chant is unmistakable — anyone who has spent a Christmas in Spain can recognize the melody within two notes. The children rotate in shifts. When El Gordo itself falls, both children sing the number and the prize together at full volume, and the entire theater erupts.
There are roughly 180 major prize tiers each year, plus the reintegros and various consolation categories. The main ones are:
- El Gordo (first prize): €4,000,000 per billete (€400,000 per décimo)
- Segundo Premio: €1,250,000 per billete (€125,000 per décimo)
- Tercer Premio: €500,000 per billete (€50,000 per décimo)
- Two Cuartos: €200,000 per billete
- Eight Quintos: €60,000 per billete
- Then hundreds of smaller prizes, "pedrea" (small €1,000 wins), "aproximaciones" (the numbers just before and after the top prizes), same-final-digit prizes, and reintegros
If your décimo carries a number that is one digit off from El Gordo — say El Gordo is 46792 and you hold 46791 or 46793 — you win an "aproximación" worth €20,000 per décimo. Same for the second and third prizes at reduced amounts. This is why people who miss the top prize by one number don't usually go home empty-handed.
Décimos, billetes, and why people pool
Because a full billete costs €200 and only about a third of tickets return anything, most Spaniards buy just one or two décimos of a given number. The tradition of "participaciones" — small paper certificates for a fractional share of a décimo, often €2 or €5 — is how offices, sports clubs, restaurants, and lottery-obsessed grandmothers spread their exposure across many numbers. Your local bar might sell you a €5 share of the number they've been playing for 30 years. If it hits El Gordo, the bar owner will still be pouring drinks in December, but everyone in the neighborhood will have a story.
The reason this matters when picking a number: the number itself is a shared object. Once billete number 46792 is sold out (all 10 décimos of it purchased somewhere in Spain), no more of 46792 exists that year. Every "administración de loterías" — the licensed kiosks scattered across the country, each with a green sign and a number — is allocated certain numbers to sell. Some administraciones become famous for selling El Gordo repeatedly (Doña Manolita in Madrid is the most legendary), and people queue for hours to buy from them, even though the odds are identical no matter where you buy.
Picking a number: superstition, tradition, and the truth
Here is the part that needs saying plainly, because the entire culture around El Gordo whispers otherwise: no method of picking a number improves your odds of winning. The draw is a physical process with 100,000 equally weighted balls in a rotating cage. Whether you pick 00001, 12345, your grandmother's birthday, a palindrome, or a number that ends in 7 because your uncle swears by sevens — each one has exactly the same 1 in 100,000 chance of being El Gordo, and the same probabilistic distribution across every other prize tier.
That said, the traditions people follow are genuinely charming and part of why El Gordo endures. Common picking approaches:
- Birthdays and anniversaries: dates squeezed into a 5-digit number. A birthday of March 14, 1987 becomes 14387 or 31487 depending on the ordering.
- Numbers ending in the current year's last digit: in 2026, plenty of Spaniards will play numbers ending in 6, on the vague theory that "this is our year."
- Endings in 5 or 7: culturally lucky endings, no statistical backing.
- Capicúas (palindromes): numbers like 12321 or 45654. Feel satisfying to hold. Same odds as everything else.
- Espejo (mirror) numbers: like 12345 and 54321. Some players buy pairs.
- Repeated digits: 77777, 11111, 22222. These sell out fast every year despite the odds being identical.
- Numbers tied to major news events: after a famous football victory or a historical date, related numbers see a spike in demand.
- Sticking with "your number" for decades: perhaps the most Spanish tradition of all — buying the same décimo year after year, on the theory that abandoning it the year it finally wins would be unbearable.
None of these change the math. They do change how it feels to hold the ticket, which is genuinely part of the value if you're playing for the ritual rather than expected return.
Skip the picking: use the free El Gordo number generator
If you want a number without agonizing over it, the El Gordo number generator produces one or more random 5-digit décimo numbers from 00000 to 99999, formatted the way they appear on real tickets. You can generate anywhere from 1 to 10 numbers at a time, which is useful if you're planning to buy multiple décimos of different numbers (a common hedging strategy) or if you're picking numbers for a group and want each person to have their own.
The generator also flags any "lucky pattern" it happens to hit — palindromes, all-even or all-odd numbers, numbers ending in 7, sequences — purely as a novelty note. It doesn't weight anything toward those patterns; the underlying draw is uniform across all 100,000 possibilities. The flag is there because if a random number happens to come out as 77777, that's fun to know, not because it's more likely to win.
Common uses:
- Picking a number to play yourself when you don't have a meaningful date
- Choosing numbers for a group pool where you want to buy 3-4 different billetes
- Gifting a décimo to someone abroad who wants the experience without needing to visit an administración
- Playing "shadow" numbers — picking a random number to compare against your usual one, just to see whether the random one would have done better
If you like this kind of tool, similar generators exist for other European lotteries — the Quiniela generator covers Spain's football pools, the SuperEnalotto generator picks Italian lottery numbers, and the Swiss Lotto generator handles Switzerland's national draw.
Where to actually buy an El Gordo ticket
The generator produces a number, but it doesn't sell you a ticket. For that you need Loterías y Apuestas del Estado, the state operator, or one of their authorized administraciones.
Inside Spain, you buy from any of the roughly 4,000 lottery administraciones — the green-signed kiosks in every town. You can also buy online through the official Loterías y Apuestas del Estado website, which requires a Spanish bank account and a registered address in Spain. Some individual administraciones (Doña Manolita in Madrid, La Bruixa d'Or in Sort, La Pau in Barcelona, and dozens of others) ship décimos internationally after taking orders online or by phone — check locally rather than trusting a random third-party site.
From outside Spain, options narrow. Some overseas lottery agents will buy tickets on your behalf for a markup, but the market includes both legitimate operators and dubious ones. If you go this route, verify the agent actually holds the physical décimo (or a scanned copy with the número, serie, and fracción visible) and understand exactly how they'd pay you if you won. If you have a friend or family member in Spain, having them buy for you is usually simpler and cheaper.
Décimos go on sale in July for the following December's draw. Popular numbers sell out well before December.
FAQ
Can I buy an El Gordo ticket from outside Spain? Sometimes. The official Loterías y Apuestas del Estado online purchase system requires a Spanish bank account and residence, so it's not open to most foreigners. Some individual administraciones will ship internationally, and some overseas lottery agents resell tickets, though quality varies widely. The most reliable route is asking a friend or family member in Spain to buy one for you.
What's the difference between a décimo and a full billete? A billete is a full ticket bearing one 5-digit number. Each billete is subdivided into 10 identical décimos ("tenths"), each carrying the same number. A décimo costs €20 and pays 1/10 of the prize; a full billete costs €200 and pays the full prize. Most people buy one or two décimos. Groups often pool for a full billete or split via participaciones — smaller fractional shares.
Are "lucky" numbers really luckier? No. Every number from 00000 to 99999 has an identical 1 in 100,000 chance of being El Gordo, and the same probability distribution across every other prize tier. Palindromes, birthdays, numbers ending in 7, and repeated-digit numbers all have the same odds as any other. The traditions around picking are cultural, not statistical.
What happens if the number I want has already been sold out? That number is unavailable for that year — no more of it exists. You either pick a different number, wait until next year (many administraciones reserve popular numbers for returning customers), or contact other administraciones, since each has different numbers allocated. Some tourism-focused kiosks also offer to search their national network for a specific number, though supply is limited.
When are the numbers drawn? The Sorteo Extraordinario de Navidad is held on the morning of December 22nd every year at the Teatro Real in Madrid. The draw begins at 9:00 AM Madrid time and runs for roughly three and a half to four hours. It's broadcast live on RTVE and streamed online, and results are posted on the Loterías y Apuestas del Estado website within minutes of each prize being sung.
How is the prize money taxed? Prizes above €40,000 per décimo are subject to a 20% tax withheld at source by the state, applied only to the portion above the threshold. So a €400,000 El Gordo décimo pays out €400,000 minus 20% of (€400,000 − €40,000), which is €328,000 net. Prizes below €40,000 per décimo are tax-free.
El Gordo is, in the end, a shared national ritual as much as it is a lottery. The odds of winning big are what they are; the odds of enjoying the morning of December 22nd with a décimo in hand and the San Ildefonso children singing on the television in the background are considerably better.