How to do the Gilbreath shuffle trick
The spectator shuffles the deck themselves, yet every pair of cards comes out one red and one black. How to set up and perform the Gilbreath shuffle trick.
By The Online Magic Store
· 3 min read
In this story 7 sections
Set the deck so the colours alternate red, black, red, black. Let the spectator deal some cards into a pile and riffle shuffle the two packets together. Every pair of cards from the top will now be one red and one black. It is self-working, the spectator does the shuffling, and based on our research, the earliest mention we’ve found is Norman Gilbreath’s “Magnetic Colors” in The Linking Ring, 1958.
What is the Gilbreath shuffle trick?
A Gilbreath shuffle has two steps: deal off some cards from the top of the deck into a pile, then riffle that pile together with the rest. Dealing reverses the order of the pile, and that reversal is what makes it different from a normal cut and riffle.
The trick: the deck looks properly mixed after a spectator’s own riffle shuffle, yet when you take the cards off in pairs, every pair is one red card and one black card.
How do you set it up?
- Separate the reds and the blacks.
- Rebuild the deck so the colours alternate all the way through: red, black, red, black.
- Put the deck back in its case, or false shuffle it if you know how. A quick look at the faces would show the pattern, so don’t spread it face up.
How do you perform it?
Step 1: The deal
Hand the deck to the spectator. Ask them to deal cards one at a time into a pile on the table, and to stop whenever they like. Any number works.
Step 2: The riffle
Ask them to riffle shuffle the dealt pile into the rest of the deck. If they can’t riffle, do it for them in full view. Our guide to riffle shuffling and bridging shows the shuffle. Ask for just one riffle.
Step 3: The reveal
Take the deck and push off the top two cards together, face down. Turn them over: one red, one black. Do it again, and again. You can let the spectator take the pairs off themselves.
A presentation idea of our own: talk about red and black cards being drawn to each other like magnets, which fits Gilbreath’s original title.
Why does it work?
Dealing the cards into a pile reverses their order. When the reversed packet is riffled back into the rest, the alternating pattern is broken up, but in a way that still leaves one red and one black in each pair from the top.
The Vanishing Inc. article on the principle describes a version with no dealing: the spectator just cuts and riffles. That version only works when the bottom cards of the two piles are opposite colours. Dealing the pile removes that condition, which is why we teach the dealing version.
Where does the Gilbreath principle come from?
Based on our research, the earliest mention we’ve found is mathematician Norman Gilbreath’s trick “Magnetic Colors”, published in The Linking Ring in 1958. Gilbreath published a broader version in 1966, now called the second Gilbreath principle. The writer Martin Gardner also wrote about the principle.
The second principle works with any repeating pattern. If the deck is set in a repeating suit order, every group of four cards from the top will hold one card of each suit after a Gilbreath shuffle. That opens up longer routines once you are comfortable with the colour version.
What helps you take it further?
- Self Working Card Tricks by Karl Fulves. Its description calls it “72 Foolproof Card Miracles for the Amateur Magician”: tricks that work “because of the mathematics inherent in the card deck itself”. Paperbound, 113 pages, 42 illustrations.
- Royal Road to Card Magic (eBook) by Jean Hugard & Frederick Braue. Its description lists the riffle shuffle, false shuffles and cuts among the things it teaches, in a 307-page PDF.
More math-based ideas are in our magic tricks for math lovers guide and our key card trick. Browse card magic or pick up a deck in playing cards.
Frequently asked questions
What is the Gilbreath shuffle?
You deal some cards off the top of the deck into a pile, which reverses their order, then riffle that pile together with the rest of the deck.
Why does the Gilbreath shuffle trick work?
If the deck starts alternating red and black, one Gilbreath shuffle leaves every pair of cards from the top with one red and one black card.
Who came up with the Gilbreath principle?
Based on our research, the earliest mention we’ve found is Norman Gilbreath’s “Magnetic Colors”, published in The Linking Ring in 1958.
Can the spectator shuffle the cards?
Yes. The spectator can deal off any number of cards and do the riffle themselves. The red and black pairs still come out.


