Is iTunes' Shuffle Mode Truly Random?

Shuffle songs on iPhone
image credit: FatCamera/E+/Getty Images

ITunes' shuffle feature makes a random path through your iTunes music library, jumping from song to artist to album with no logic or order. Or does it? Some people swear that it does, others claim to see patterns all the time. But what's the truth?

The truth of how iTunes shuffle works lies in the spaces between our expectations, our perceptions, and our understanding of the difference between shuffle and random. What we may expect out of a "shuffle" feature is not necessarily what it's designed to do.

How It Works

According to Newsweek's Steven Levy, who has written a book on the iPod and is one of the leading chroniclers of all things Apple, the shuffle feature works this way:

“When an iPod does a shuffle, it reorders the songs much the way a Vegas dealer shuffles a deck of cards, then plays them back in the new order. So if you keep listening for the week or so it takes to complete the list, you will hear everything, just once.”

But note that you need to listen to the entire library all the way through without stopping for the randomness of shuffle to be perfect.

As Levy points out, most people don't do this. Instead, they reshuffle the "deck" constantly, creating new paths through their music libraries each time they listen on shuffle. This causes some tracks or orders of tracks to appear to repeat or group together.

The Factors that Impact iTunes Shuffle Order

The shuffle order can also be affected by a user's individual settings. In iTunes' Up Next mode, users can tell iTunes to play songs that are highly rated more often, which skews the randomness. Songs can also be marked "Skip When Shuffling" so that they're excluded from the shuffle mode.

The other thing that causes shuffle to look less than random has to do with statistics and probability. Take a coin flip, for example. While it's extremely unlikely that one person flipping a coin 10 times would get heads every time, it's statistically possible (as illustrated in the opening to Tom Stoppard's play "Rosencrantz and Guildenstern Are Dead"). This is because each coin flip is a distinct event, and probabilities reset each time. The events only look related to humans observing it.

How the Human Brain Affects iTunes' Shuffle Mode

The last element that causes us to suspect that iTunes Shuffle isn't truly random is our brains. The human brain is wired to seek out and see patterns—sometimes even where they don’t exist. This is an important function of the brain and makes our brains pretty powerful tools, but it can mislead us when examining questions like this.

Ultimately there's no simple answer to whether iTunes' shuffle function is truly random. It's just too deeply influenced by our perception, expectations, iTunes settings, and how we use iTunes. Still, it's fun to see what songs come after each other in iTunes shuffle mode and create our own patterns and explanations.