To solve a Rubik’s cube, you build it layer by layer: first a white cross, then the white corners, the middle edges, and finally the last, yellow layer in four goes. That makes seven steps and fewer than ten short algorithms to remember; the rest you do by looking. Allow a few evenings for your first full solve.

This page sums up the whole method. Every case picture opens in the app, where the virtual cube plays the algorithm move by move while you do it on your own cube.

Before you start

How to hold the cube. The whole method is done white on the bottom, yellow on top. The centres never move relative to each other: white is opposite yellow, green opposite blue, red opposite orange. The centre gives a face its colour.

The three kinds of pieces. 6 centres (one colour, fixed), 12 edges (two colours), 8 corners (three colours). An edge stays an edge: you never place “a square”, you place a piece.

Reading an algorithm. Each letter is a quarter turn of a face, clockwise as you look at that face: R the right, L the left, U the top, D the bottom, F the front. An apostrophe turns the other way (R'), a 2 makes a half turn (U2). The details, with the classic pitfalls, are on the Reading notation page.

R
U
F

The three most used faces, seen from the front: each arrow shows the direction of the quarter turn.

The 7 steps in one table

Step What you get Algorithms to remember
1. White cross a white cross on the bottom, lined up with the centres none, a few moves
2. First layer corners the white face and the first layer done R U R' and two variants
3. Middle layer edges the first two layers done two, mirror images
4. Yellow cross a yellow cross on top F R U R' U' F'
5. Yellow face the whole top yellow R U R' U R U2 R'
6. Corner placement the yellow corners in their places one
7. Edge placement the cube solved one

Step 1: the white cross

Goal: four white edges around the white centre, on the bottom, each one under the centre of its other colour (the white-green edge under the green centre, and so on). A white cross whose sides don’t match the centres isn’t finished.

Take one white edge at a time. Turn the whole cube so the centre of its other colour is in front, then look at where it is:

The four basic situations for the edge that goes at the bottom front. Cube yellow on top; only the cross pieces are in colour.

Open the “Cross” step in the app

An edge on top is first turned with U until it’s in front. An edge stuck anywhere else goes back up to the top, then becomes one of the four cases: R U R' from the middle right, L' U' L from the middle left, F2 from the bottom.

This is the step people dread, yet it has no algorithm: it’s about putting a piece in place without disturbing the others. If you get stuck, the cross screen shows each situation on the virtual cube.

Step 2: the first layer corners

Goal: the whole white face, and on each side a first row of the right colour. That’s the first layer.

For each white corner: find its place (between the centres of its two other colours), turn the whole cube so that place is at the bottom front right, then turn U to bring the corner just above it.

Corner above its place Algorithm
white on the right face R U R'
white facing you F' U' F
white facing up R U2 R' U' R U R'
White on the right
Corner in place

The most common case: the corner drops in with three moves, without touching the cross.

Open the “First layer corners” step in the app

A corner already at the bottom but twisted, or in the wrong place, comes out with R U R' U' (its place at the front right): it goes back up to the top and becomes a case from the table again.

Step 3: the middle layer edges

Goal: the first two layers complete. Four edges without yellow are left to place.

Look on top for an edge without yellow. Turn U so its side colour sits above the centre of the same colour, and turn the whole cube to have that centre in front. Now look at its top colour: if it’s the colour of the right centre, the edge goes right. If it’s the colour of the left centre, turn the whole cube a quarter turn so the edge is on the right face: that’s the second case.

The two basic situations, and the edge already in place but flipped.

Open the “Middle layer edges” step in the app

Both algorithms are the same gesture mirrored: the edge moves away, the corner below comes out, and the two go back in together. Learning them as a story (“move away, take out, put back”) is faster than letter by letter: see How to learn an algorithm.

Step 4: the yellow cross

Goal: a yellow cross on top. Only the top matters; the sides get placed later.

Look at the top edges (not the corners). There are only three situations:

The three situations in perspective, held the right way before the algorithm. Only yellow matters.

Open the “Yellow cross” step in the app

The dot leads to the L, the L leads to the cross: a single algorithm is enough if you like, F R U R' U' F', even if it means doing it two or three times with the L held at the back left.

Step 5: the yellow face

Goal: the whole top yellow. One algorithm, the Sune (the fish): R U R' U R U2 R'.

Sune
Yellow face

The Sune: one yellow corner on top, at the front left. The algorithm twists three corners at once.

Open the “Yellow face orientation” step in the app

If there’s exactly one yellow corner on top, put it at the front left and do the algorithm. If there are none, turn U so the front-left corner shows its yellow on the left face. If there are two, turn U so the front-left corner shows its yellow towards you. Do the algorithm and start again with what you get: three passes at most. The seven situations, with a direct algorithm for each when you want to go faster, are on the yellow face screen.

Step 6: placing the yellow corners

Goal: each top corner between the right centres. The top stays yellow.

Turn U until you find two neighbouring corners correctly placed (their side colours match the centres). Put them at the back, and swap the two at the front:

Two neighbouring corners in place at the back, the two at the front to swap; or two diagonal corners, which the same algorithm turns into the first case.

Open the “Corner placement” step in the app

If one U puts all four corners in place at once, the step is already done. If no U gives two neighbouring corners, they’re diagonal: do the algorithm once, any way round, and you’ll get the neighbour case.

Step 7: placing the yellow edges

Goal: the solved cube. The corners are in place; from here you never turn the top face to line things up, only the whole cube.

Put the edge that’s already correctly placed at the back and do R U' R U R U R U' R' U' R2. It cycles the other three edges; if they aren’t in place yet, do it once more. If no edge is correctly placed, do the algorithm from any side: one will end up in place.

The last algorithm cycles three top edges without touching anything else.

Open the “Edge placement” step in the app

What if it doesn’t work?

  • Everything falls apart mid-algorithm: it’s almost always one move the wrong way, R instead of R'. Redo the algorithm slowly while watching the step’s virtual cube.
  • The cross is done but the sides don’t match: turn D a quarter turn. If only two edges line up, swap them by taking one back up.
  • A single piece is flipped at the end, or one corner is twisted on itself: your cube has probably been taken apart, or a sticker moved. No algorithm will fix it: see Rubik’s cube that can’t be solved.
  • The cube catches and locks up mid-algorithm: it’s not you, it’s the cube. A toy-shop cube jams where a budget speedcube turns on its own: see Which cube to buy.

What next?

Once you’ve solved the cube unaided, do it again and again: in the first week you’ll go from fifteen minutes to three or four. Then the beginner method turns little by little into CFOP, the speedcubers’ method, without ever breaking what you know: see From the beginner method to CFOP. To know what to expect, read How long does it take to learn the Rubik’s cube.

Frequently asked questions

What are the steps to solve a Rubik's cube?

With the beginner method, seven steps: the white cross, the white corners, the middle-layer edges, the yellow cross, the yellow face, then placing the yellow corners and the yellow edges. You need fewer than ten short algorithms.

Is there one algorithm that solves the whole cube?

No. No single sequence solves every scramble: a method works in steps. At each step you recognise the situation, apply the short algorithm for it, and repeat. The beginner method needs fewer than ten algorithms.

How long does it take to learn to solve a Rubik's cube?

Allow three to six hours of learning, spread over a few evenings, for a first solve with the beginner method. Solving from memory usually takes one to two more weeks of a little practice every day.