Randomness & Probability

Secret Santa Name Draw: Odds Someone Picks Their Own Name

Read in other languages: 日本語

If eight coworkers pull names from a hat, there's only about a 37% chance that nobody draws their own name. That means about 63% of the time, at least one person unfolds their own name and the draw has to be redone. Drawing more carefully won't change those odds. What fixes it is a method where drawing yourself can't happen at all, like shuffling everyone into a circle and having each person buy for the next one.

This guide shows where the 37% comes from. The math is called derangements, and it leads to the number 1/e. It then walks through an eight-person office exchange with a $25 limit and gives two methods that never fail: the circle method and a ghost leg ladder.

It also covers three mistakes that quietly spoil a Secret Santa name draw: redrawing only the person who got their own name, partners drawing each other, and an organizer who ends up seeing every pairing.

Why drawing names from a hat usually fails

With eight people, each person has a 1 in 8 chance of drawing their own slip. That's 12.5%, which sounds low. But eight people each take that 12.5% risk, so the problems add up.

On average, the number of self-draws per round is 8 × 1/8 = 1. The group size cancels out: with n people and a 1/n chance each, you always get n × 1/n = 1. A 30-person hat draw averages one self-draw per round, just like an 8-person draw. That's why a bigger group doesn't make the hat any safer.

An average of one doesn't mean every round fails. Some rounds have zero self-draws and some have two or three. The share of rounds with zero is the 37% figure.

The math: derangements and the 1/e result

Mathematicians call an arrangement where nothing ends up in its own spot a derangement. A Secret Santa draw works only if the assignment is a derangement.

Counting the good draws

Eight people can be matched to eight slips in 8! = 40,320 ways (8! means 8 × 7 × 6 × … × 1). Of those, 14,833 are derangements. You can check that count with the standard recurrence D(n) = (n − 1) × [D(n − 1) + D(n − 2)]:

  • D(6) = 265 and D(7) = 1,854
  • D(8) = 7 × (1,854 + 265) = 7 × 2,119 = 14,833

So the chance of a clean draw is 14,833 ÷ 40,320 ≈ 0.3679, or about 36.8%.

Why the answer barely changes with group size

Another way to get the same probability is the inclusion-exclusion formula, which adds and subtracts the overlapping ways people can draw themselves:

P(no one draws themselves) = 1 − 1/1! + 1/2! − 1/3! + … ± 1/n!

For eight people:

1 − 1 + 0.5 − 0.16667 + 0.04167 − 0.00833 + 0.00139 − 0.00020 + 0.00002 ≈ 0.3679

These are the first terms of the series for 1/e (e ≈ 2.71828, so 1/e ≈ 0.36788). The terms shrink so fast that by four or five people the result is already very close to 1/e.

People Valid draws ÷ all draws Chance of a clean draw Average rounds needed
3 2 ÷ 6 33.3% 3.00
4 9 ÷ 24 37.5% 2.67
5 44 ÷ 120 36.7% 2.73
6 265 ÷ 720 36.8% 2.72
8 14,833 ÷ 40,320 36.8% 2.72
10 1,334,961 ÷ 3,628,800 36.8% 2.72

The last column is 1 divided by the success chance. For eight people, 40,320 ÷ 14,833 ≈ 2.718, which is almost exactly e (2.718…). Before anyone draws, the chance you'll need three or more rounds is the chance the first two both fail: 0.632 × 0.632 ≈ 0.40, or about 40%.

Worked example: an 8-person office exchange with a $25 limit

Ana, Ben, Chloe, Dev, Emma, Femi, Grace, and Hiro agree on a $25 gift limit, so up to $200 in gifts change hands in total. Ben and Chloe are a couple and would rather not draw each other.

The hat version. Everyone draws, and Grace gets her own name. All slips go back in, and the redraw still has about a 63% chance of failing too, because each round starts fresh. Ben and Chloe's rule rules out even more draws, so a clean round is rarer still. Each failed round also means another trip around the office collecting slips.

The circle version. The organizer shuffles the eight names once and gets:

Dev → Ana → Hiro → Chloe → Grace → Ben → Femi → Emma → (back to Dev)

Each person buys for the next name, and Emma buys for Dev to close the loop. Nobody follows themselves, so nobody draws themselves. To check the couples rule, look at the names on either side of Ben and Chloe. Chloe sits between Hiro and Grace, and Ben sits between Grace and Femi, so neither gives to or receives from the other. One shuffle, done.

One practical detail: say whether the $25 includes sales tax and shipping, and write the limit on every slip or envelope so it travels with the assignment.

The shuffle-into-a-circle method

The circle method works because "the next person in the loop" can never be you, as long as at least two people take part. You shuffle once and never redraw.

There's one trade-off. It only produces arrangements that form a single loop through everyone. For eight people that's 7! = 5,040 of the 14,833 possible derangements. As a result, two people can never end up buying for each other, which most groups prefer anyway. It also means that in a group of three or more, you know the person you're buying for isn't your Santa.

Quick digital version

Put the names in a random order with any shuffling tool, such as the Pinball Random Picker, which ranks names by when their balls land. Then apply the "give to the next name" rule. This is fast, but whoever runs it sees the whole loop, so use it only if the organizer isn't taking part or doesn't mind knowing. If you're curious how on-screen shuffles get their randomness, see how random number generators work.

Envelope version the organizer can't peek at

This version lets the organizer join the exchange without knowing who has whom.

  1. For each person, write their name on the front of a plain, opaque envelope and on a card. Fold the card so the name is on the inside, and put it in the matching envelope without sealing it. If you have a couples rule, put the same small sticker on the back of each partner's envelope (use a different sticker for each couple).
  2. Shuffle the envelopes and lay them in a row face down, so no names show. If you used stickers, check that the two matching stickers aren't next to each other, counting the last and first positions as neighbors, because the cards wrap around in step 4. If they are adjacent, shuffle and lay out the row again.
  3. Take the folded card out of each envelope and set it just above that envelope. Don't unfold anything.
  4. Move every card one place to the right, and move the last card to the first position. Put each card into the envelope below it and seal it.
  5. Gather the envelopes into a pile and shuffle them again. This stops anyone from remembering the row order and working out the loop.
  6. Turn the envelopes over and give each one to the person named on the front. Their card shows who they buy for.

The envelope in position 3 now holds the card from position 2, and so on around the row, so no envelope can hold its own card. The organizer only ever saw the backs of envelopes and folded cards. The stickers reveal only which two envelopes belong to the couple, which everyone already knows, not who has whom.

A ghost leg ladder for a Secret Santa name draw

A ghost leg (also called a ladder game or amidakuji) has one vertical line per person, with short horizontal rungs connecting neighboring lines. You trace a path from the top, follow every rung you reach, and see where you end up at the bottom.

A random ladder can send a name straight down to itself. One rule prevents that.

  1. Draw the names in a random order across the top. Pulling names from a hat is fine for this step.
  2. Copy the same names in the same order across the bottom.
  3. Draw exactly one rung between each pair of neighboring lines, at random heights. Seven rungs for eight people.
  4. Trace each name down. The name you land on is the person you buy for.

Why it works: each rung swaps two neighbors, and when each neighboring pair is swapped exactly once, in any order, the result is always one loop that runs through everyone. Here's a quick check with three people, A, B, and C. If the A–B rung is higher than the B–C rung, A goes to B's line and then to C's. B goes to A. C goes to B. That gives A → C → B → A, and nobody lands on themselves.

Keep these limits in mind:

  • Don't add extra rungs. Two rungs between the same pair can cancel each other out and send someone straight down to their own name.
  • Shuffle the top order. With a fixed name order, eight people get only 2⁶ = 64 possible results. A random top order makes every single-loop arrangement possible.
  • Nothing is secret. Anyone who sees the ladder can trace every path. Use it when the reveal is part of the fun, or have someone who isn't taking part trace each path and copy the results onto folded slips.

If you prefer an on-screen ladder, the Ladder Game handles up to 12 players. Because an on-screen ladder may not follow the one-rung rule, use it only for ordering: put names on top and the numbers 1 to n at the bottom to get a random order, then apply the circle rule from the previous section.

Common pitfalls that break the draw

Redrawing only the person who got their own name

After everyone has drawn, a quick swap seems tidy, but it gives the secret away. Say Grace drew herself and swaps slips with Dev. Dev now holds "Grace," and Grace knows it, so she knows her Santa.

Putting a slip back during the draw doesn't work either, because the last person can end up with only their own name left. With three people, this happens 1 time in 4. The first person draws the second person's name half the time, and then the second person draws the first person's name half the time: ½ × ½ = ¼. The only correct fix with a hat is to put all slips back and redraw.

Couples drawing each other

Rules like "no partners" or "no roommates" make a clean hat draw even less likely. In the circle method, check the names on both sides of each excluded pair after shuffling. If they're next to each other, shuffle again instead of moving names by hand, so the organizer's choices don't shape the result. In the envelope version, the matching stickers let you run the same check without seeing any names.

Separately, a hat draw can create mutual pairs (A buys for B and B buys for A). The circle method and the one-rung ladder can't, as long as the group has three or more people.

The organizer seeing the results

Spreadsheets, shuffling tools, and lists written out to check for errors all show the organizer the full set of pairings. Use the envelope method, ask someone outside the exchange to run the draw, or have the organizer sit out. Tools that pick random numbers with no repeats are handy for producing the order, but on their own they don't keep it hidden.

Secret Santa draw checklist

  • 8 people, hat draw: 36.8% chance of a clean round, about 2.7 rounds on average.
  • Someone draws themselves? Everyone puts their slip back. Never swap just one slip.
  • Circle method: Shuffle once, and each person buys for the next name. It can't fail with two or more people.
  • Organizer playing too? Use the envelope shift. Put matching stickers on partners' envelopes if you have a couples rule, and shuffle the envelopes again before handing them out.
  • Ladder: Same name order at the top and bottom, exactly one rung per neighboring pair, and a shuffled top order.
  • Exclusions: Check both neighbors of each excluded pair, including the first and last spots, and reshuffle if they're adjacent.
  • Budget: Write the limit (for example, $25, including or excluding tax and shipping) on every slip.

Frequently Asked Questions

What happens if someone drops out after the names are drawn?

In a circle, close the gap. The person who was buying for the dropout takes over the dropout's recipient, so if Ana buys for Hiro and Hiro buys for Chloe, Ana now buys for Chloe. With a hat draw, check that this doesn't send someone their own name: if Ana and Hiro had drawn each other, Ana would end up with herself and needs a new recipient.

How many people do you need for Secret Santa to stay secret?

At least four. With three people, every valid draw is a single loop, so once you know who you're buying for, you know your Santa is the remaining person. With four or more, there are enough possible arrangements that knowing your own recipient doesn't reveal who has you.

Does it matter what order people draw from the hat?

With the rule that everyone puts their slip back and redraws after any self-draw, the order doesn't matter, and every valid arrangement is equally likely. It matters a lot if people put their own slip back and draw again during the draw, because the last person can be left holding only their own name.

Can I run a Secret Santa draw for a remote team?

Yes. Use the circle method with a digital shuffle, then send each person their recipient in a private message. The person running the shuffle will see every pairing, so ideally that's someone outside the exchange. Otherwise, use an approach where the organizer never sees the full list.

Is a Secret Santa with an odd number of people a problem?

No. The circle method and the one-rung ladder work for any group of two or more, odd or even, because everyone buys for the next person in a single loop. Odd numbers only cause trouble if you try to split people into buying pairs, which these methods don't do.