If I wanted to solve a physical Rubik's cube multiple times, for practice, what is the best, most random way, to scramble the solved cube?

The best way I can think is to hold it behind my back and turn randomly until, when I look at it, it looks random enough.

Is there a better way?


4 Answers 4


If you're willing to take the time: The World Cube Association has a specific method for shuffling their cubes. They use a program called TNoodle to do the scrambling; the program generates a "scramble sequence" which can be followed to produce a scrambled cube.

Their code actually features a nice interface to generate the scrambles:

enter image description here

I have yet to figure out what the "Adjust Events" options do, but producing the scramble sequences just comes down to clicking the "Scramble!" button.

Here's the result of running their program:

enter image description here

There is also an online interface here. I used it to scramble my new 30x30x30 Rubik's cube:

enter image description here


If the goal is to have a truly random cube, holding behind your back and scrambling it is as good as any other method, as long as you do ~20 twists or so.

People often intuitively think that if you scramble a cube for a really long time, it will make it harder to solve. Beyond the first few twists, this is not so. Not only can any amateur solver demonstrate a cube scrambled for half an hour is as easy to solve as a cube scrambled for 10 seconds, there is a proven upper bound on the "hardest" possible Rubik's cube state: 20 moves from scrambled to solved.


Naturally it's possible to produce a scramble using any method where, by random chance, there is less work needed at some point (As in, you solve the first two layers, and lo and behold, the third layer required only one operation!). This is a perfectly fair random occurrence though, and a good scrambler wouldn't discriminate against such scenarios, even if it could detect them.

One more thing: for most solvers, as few as six random twists is enough to scramble a cube. It is a fun puzzle to have a friend perform 4, 5, or 6 random twists on a solved cube, and then see if you can undo the twists without messing up the cube. 4 is usually easy, 5 is quite hard for me, and I can't do 6 without getting lucky : )

Bottom line is, unless you're a savant or a supercomputer, don't overthink cube scrambling!

  • $\begingroup$ 6 is easy. 7 is doable. 8 is sometimes hard. Just because you find it hard does not mean your experience is representative of cubers. That said, >20 twists is typically enough if you truly pick each twist randomly. It might be way too low if an amateur did it, since they tend to twist in patterns, which makes the scramble tend to be slightly easier for people who use block-building algorithms rather than layer-by-layer algorithms. Of course it makes little difference in competition, but the question here is about getting a good scramble... $\endgroup$
    – user21820
    Oct 30, 2021 at 7:50
  • $\begingroup$ That's not true. You're forgetting that each random scramble move is just as likely to move the cube closer to a solved state as it is to move it away from it. $\endgroup$
    – John Smith
    Feb 27 at 0:27

There are 2 popular methods used to scramble a cube. The first being to apply a certain number of random moves until you are satisfied. The second method is to physical take apart the cube and assemble it again in any solvable state.

The second is known as random state scrambling, and is what is now used in official Rubik's Cube competitions. See more here

The official scrambling program can be found at https://www.worldcubeassociation.org/regulations/scrambles/

This is advantageous over the first method, as it has no statistical bias towards 'easy' scrambles.

As a speedcuber myself, I often find that when I am just applying random moves myself, I end up with the same scrambles as before. This is probably nothing statistical and is likely due to the fact that I am used to performing fast algorithms over and over, but is the main reason why I use generated scrambles myself.

  • $\begingroup$ "assemble it again in any solvable state." - is there a method for proving whether a state is solvable without attempting to solve it? $\endgroup$
    – Random832
    Jul 15, 2015 at 23:32
  • 1
    $\begingroup$ Hi @Random832 please see math.stackexchange.com/a/127627/153368 $\endgroup$ Jul 17, 2015 at 5:56
  • 3
    $\begingroup$ Few things are as rewarding as solving a cube, popping out one corner-piece, reattaching it rotated, scrambling the cube, and giving it to someone who thinks he is great at solving. $\endgroup$ Jan 8, 2016 at 1:48
  • $\begingroup$ @MichaelLorton: It does not work on anyone who understands the Rubik's cube and how to solve it, rather than blindly memorizing algorithms. $\endgroup$
    – user21820
    Oct 30, 2021 at 7:51
  • $\begingroup$ @MichaelLorton That is extremely easily spottable while you're solving. Cubers know what permutations are possible and what aren't. They'll spot quickly that something is out of place. $\endgroup$
    – John Smith
    Feb 27 at 0:28

The best tool to generate scrambles for all WCA puzzles is http://ruwix.com/puzzle-scramble-generator/

It supports cubes from 2x2x2 up to 11x11x11, Square-1, Rubik's Clock, Megaminx, Pyraminx and Skewb. You can customize the scramble in many ways and there's a built-in stopwatch to measure your times.

enter image description here

  • 2
    $\begingroup$ While "best tool" is subjective, I really love their site. +1 $\endgroup$
    – Sonny
    Dec 28, 2015 at 19:49

Not the answer you're looking for? Browse other questions tagged or ask your own question.