How to solve a Rubik's cube
You can solve a Rubik's cube. This guide teaches a beginner's method that builds the cube one layer at a time. It needs very little memorization, and every step grows naturally into the techniques speedcubers use, so you can stop at "I can solve it" or keep going and get fast.
Take it one step at a time. Practice each step until it feels easy before moving on.
Before you start
The six faces
A cube has six faces: Up, Down, Front, Back, Left and Right. In this guide, hold the cube with the yellow center on top and the green center facing you. On a standard cube that puts white on the bottom, orange on the right, red on the left and blue at the back.
If your cube uses a different color scheme, the method is exactly the same. Only the colors in the pictures change.
Three kinds of pieces
- Centers have one color and never move relative to each other. The center tells you what color that face will be when the cube is solved.
- Edges have two colors. There are twelve.
- Corners have three colors. There are eight.
You are never placing single stickers, only whole pieces. A white and green edge, for example, belongs between the white center and the green center.
Reading moves
Each letter means a quarter turn of one face, clockwise as you look straight at that face:
Rright,Lleft,Uup (top),Ddown (bottom),Ffront,Bback.- An apostrophe means counterclockwise:
R'is read "R prime". - A 2 means a half turn:
R2turns the right face twice. Direction does not matter.
Clockwise is judged from the side of that face, so R pushes the front of the right layer up, while L pulls the front of the left layer down. Each picture below shows a solved cube after one move.
RLUDFBAn algorithm is just a list of moves done in order, such as R U R' U'. Keep the cube in the same position the whole time unless the step tells you to turn it.
Step 1: The white cross
The goal is a white cross on the bottom face, with each edge's other color matching the center beside it. The easiest way there is to build a "daisy" on top first.
Build the daisy
Keep yellow on top. Bring the four white edges up around the yellow center, white side up, like petals around a flower. There is no algorithm for this; just look for white edges and turn them up:
- A white edge in the middle layer: turn the side face it sits on so the edge rises into the top layer. If a petal is already in that spot, turn the top first to move it out of the way.
- A white edge on the bottom with white facing down: turn the top until the spot above it is empty, then turn that side twice.
- A white edge with white facing sideways: turn its face once so it moves into the middle layer, then treat it like a middle-layer edge.
Turn the petals down
Look at the side color of one petal. Turn the top until that color sits above its matching center, then turn that face twice (for the front petal, F2). The edge drops to the bottom with white facing down. Repeat for the other three petals.
Turn the cube over to check: you should see a white cross, and each side color should match its center. Then turn yellow back to the top.
Step 2: The white corners
Each white corner belongs between three centers: white and the two side colors on the corner. Find a white corner in the top layer and turn the top until the corner sits right above its spot. Then hold the cube so that spot is at the front right of the bottom layer.
Now repeat R U R' U' until the corner drops in, white side down. It takes one, three or five times depending on which way the white sticker faces. You do not need to count; just stop when the corner is right.
If a white corner is in the bottom layer but in the wrong place or twisted, hold it at the front right and do R U R' U' once. That lifts it into the top layer, and you can place it as above.
When all four corners are done, the whole white layer is solved, and the side colors form a stripe of three along the bottom of each side.
Step 3: The middle layer
Keep white on the bottom. Find an edge in the top layer that has no yellow on it. Turn the top until that edge's front color matches the center below it, so the two form a vertical line. Then look at the edge's top color:
- It matches the right center:
U R U' R' U' F' U F - It matches the left center:
U' L' U L U F U' F'
Both algorithms start by moving the edge away from its spot, then bring the corner and the edge back in together. Your white layer is broken for a moment and fixed by the end.
If an edge is stuck in the middle layer in the wrong place or flipped, hold it at the front right and do the right-hand algorithm with any top edge. That pushes the stuck edge up into the top layer, where you can insert it properly.
Step 4: The yellow cross
Now only the top layer is left. First, ignore the corners and look only at the four top edges. You will see one of these, shown with only the yellow stickers colored:
Call an edge "bad" if its yellow sticker is not on top. Hold the cube so the front edge is bad, and the right or back edge is bad too. Then do:
F R U R' U' F'
Each time, the dot becomes an L shape, the L shape becomes a line, and the line becomes the cross. Turn the top to set up again and repeat until you reach the goal.
Going faster: with the L shape held at the back and left, F U R U' R' F' goes straight to the cross. It is the step 4 algorithm done backward: the moves in reverse order, each turned the other way.
Step 5: The yellow corners
Now look only at the yellow stickers on the four top corners. Count the "bad" corners, the ones without yellow on top. If there are none, skip this step. Otherwise there are only seven possibilities:
All that matters is the yellow sticker on the front left corner. Turn the top so that:
- with two bad corners, the front left yellow sticker faces front;
- with four bad corners, it faces left;
- with three bad corners, it faces up (the front left corner is the good one).
The pictures above are already held this way. Then do:
R U R' U R U2 R'
Case 3b is solved in one go. Every other case turns into 3a or 3b, so set up again and repeat. Most cubes need one to three goes. Do not worry that the sides of the top layer look scrambled; that is fixed in the next two steps.
Going faster: one algorithm for each case
Each case below has its own algorithm that turns all the corners yellow side up at once. Hold the cube exactly as pictured.
R2 D' R U2 R' D R U2 RR' F R B' R' F' R BL F R' F' L' F R F'R U R' U R U' R' U R U2 R'R' U2 R2 U R2 U R2 U2 R'L' U' L U' L' U2 LR U R' U R U2 R'Speedcubers combine steps 4 and 5 into one step called OLL (orient the last layer), with 57 cases. Learning the permutation cases from steps 6 and 7 first is a better use of your time.
Step 6: Position the corners
The top is all yellow. Now look at the side stickers of the top corners. If one side shows two corner stickers of the same color (a pair of "headlights"), those two corners are already correct relative to each other, and the other two need to trade places.
Hold the cube with the headlights in front, so the two corners that need to swap are at the back, and do:
R B' R F2 R' B R F2 R2
If no side has headlights, two corners across from each other need to swap. Do the algorithm once from any side, and you will get headlights. Then set up and do it again.
When every side shows headlights, turn the top until the corners line up with their side centers.
Going faster: for the no-headlights case, R' U L' U2 R U' L done twice in a row, without turning the cube in between, swaps the two diagonal corners. It works from any side.
Step 7: Position the edges
Last step. With the corners lined up, check the top edges. Usually three or four are in the wrong place. If one side is completely solved, hold that side at the back. If no side is solved, any side can be at the back. Then do:
R2 U R U R' U' R' U' R' U R'
This moves the three front, left and right edges around the top, clockwise as you look down. If three edges were wrong, you may need it once or twice. If all four were wrong, the first go leaves one side solved; put that side at the back and repeat.
That's it: your cube is solved.
Going faster: one algorithm for each edge case
There are only four cases here. M turns the middle layer between L and R; for M2, the direction does not matter.
R2 U R U R' U' R' U' R' U R'L2 U' L' U' L U L U L U' LM2 U M2 U2 M2 U M2R U R' U R' U' R' U R U' R' U' R2 U R U2The neighbor-swap algorithm ends with U2, a half turn of the top, to line everything up. The counterclockwise case is the mirror image of the clockwise one. Steps 6 and 7 together are called PLL (permute the last layer), with 21 cases in all. It is the best next thing to learn.
What next
Once you can solve the cube without looking at this page, time yourself. Most people are surprised how quickly their times drop with practice.