Rubik's Cube OLL Algorithms

On a Rubik's Cube, OLL turns every last-layer sticker upward without disturbing the solved first two layers. Start with the 10 algorithms in 2-look OLL, then use the complete 57-case library when you are ready to orient the last layer in one step.

What OLL Solves

OLL means Orientation of the Last Layer. Begin OLL only after the cross and all four F2L pairs are solved. With white on the bottom, OLL turns every yellow sticker upward while keeping the first two layers intact. The pieces may still be in the wrong positions after OLL; PLL handles that final job.

There are 57 OLL cases, counting patterns that differ only by a U-layer setup as the same case. Mirrored patterns can still be separate cases—for example, Sune and Antisune. Full OLL uses one algorithm per case. You do not need all 57 to continue learning CFOP. Two-look OLL uses at most two algorithms: one to orient the four top edges and another to orient the four top corners.

BeforeF2L complete

The first two layers are solved.

OLLFace one color

Every last-layer sticker faces up.

NextPLL

Move those pieces to their final positions.

How to Recognize an OLL Case

Keep yellow on top and look at the nine top stickers first. Then check the yellow stickers on the top row of the four side faces. Two cases can have a similar top pattern but different side stickers, so the side bars matter.

For 2-look OLL, make one decision at a time. Ignore the corners while orienting the edges. Once the yellow cross is complete, ignore the edges and match one of the seven corner patterns. For full OLL, use the shape names as folders—cross, dot, lightning, square, and so on—then compare the side stickers within that group.

Before executing a formula, use U, U', or U2 to match the exact viewing angle shown in the 3D demonstration. These setup turns are not interchangeable. If the pattern does not match, rotate only the U face and check again; do not rotate the whole cube at random.

Recognition check
  1. Confirm all four F2L slots are solved.
  2. Count the yellow edge and corner stickers facing up.
  3. Match the yellow side stickers to the demonstration.
  4. Make the required U setup, then execute the algorithm.

Start with 2-Look OLL

The first look builds the yellow cross. The solved cross needs no algorithm; the other edge states are a dot, a horizontal line, or an L shape. The second look orients the corners using one of seven cases. That makes 10 algorithms in the reference below.

For the line, hold the two yellow edges horizontally. For the L algorithm shown here, place its two yellow edges at the front and right. The 3D starting state is part of the instruction: open it, rotate the view if needed, and compare both the top and side stickers before turning your cube.

Orient the edges

Dot

No yellow edge sticker faces up. Corner stickers do not matter yet.

Dot — interactive 3DF R U R' U' F' f R U R' U' f'
Orient the edges

Line

Two yellow edge stickers form a horizontal line across the top.

Line — interactive 3DF R U R' U' F'
Orient the edges

L shape

Two yellow edge stickers meet at the front-right corner.

L shape — interactive 3Df R U R' U' f'
Orient the corners

Antisune

One corner faces up; use the 3D case to set the viewing angle.

Antisune — interactive 3DR U2 R' U' R U' R'
Orient the corners

H

No corner faces up; matching side stickers form the H pattern.

H — interactive 3DR U R' U R U' R' U R U2 R'
Orient the corners

L

Two corners face up diagonally; compare the side stickers with the 3D case.

L — interactive 3DF R' F' r U R U' r'
Orient the corners

Pi

No corner faces up; the side stickers form the Pi pattern.

Pi — interactive 3DR U2 R2 U' R2 U' R2 U2 R
Orient the corners

Sune

One corner faces up; Sune mirrors Antisune.

Sune — interactive 3DR U R' U R U2 R'
Orient the corners

T

Two corners face up next to each other; confirm the front stickers in 3D.

T — interactive 3Dr U R' U' r' F R F'
Orient the corners

U

Two corners next to each other face up; use the side stickers to distinguish this case from T.

U — interactive 3DR2 D R' U2 R D' R' U2 R'

All 57 OLL Cases

Move to full OLL after 2-look OLL is dependable and you can recognize cases without long pauses. Learn one shape group at a time. Each entry below generates the exact starting state by applying the inverse of its algorithm to a solved cube, so the animation and formula always refer to the same position.

The number is the standard OLL case number. Algorithms are practical choices, not the only correct choices; experienced solvers often change an algorithm to suit their turning style. Keep one reliable formula per case until recognition is automatic.

Dot

OLL 1

Compare the top stickers and side bars with the dot pattern shown in 3D.

OLL 1 — interactive 3DR U2 R2 F R F' U2 R' F R F'
Dot

OLL 2

Compare the top stickers and side bars with the dot pattern shown in 3D.

OLL 2 — interactive 3DF R U R' U' F' f R U R' U' f'
Dot

OLL 3

Compare the top stickers and side bars with the dot pattern shown in 3D.

OLL 3 — interactive 3Df R U R' U' f' U' F R U R' U' F'
Dot

OLL 4

Compare the top stickers and side bars with the dot pattern shown in 3D.

OLL 4 — interactive 3Df R U R' U' f' U F R U R' U' F'
Square

OLL 5

Compare the top stickers and side bars with the square pattern shown in 3D.

OLL 5 — interactive 3Dr' U2 R U R' U r
Square

OLL 6

Compare the top stickers and side bars with the square pattern shown in 3D.

OLL 6 — interactive 3Dr U2 R' U' R U' r'
Lightning

OLL 7

Compare the top stickers and side bars with the lightning pattern shown in 3D.

OLL 7 — interactive 3Dr U R' U R U2 r'
Lightning

OLL 8

Compare the top stickers and side bars with the lightning pattern shown in 3D.

OLL 8 — interactive 3Dr' U' R U' R' U2 r
Fish

OLL 9

Compare the top stickers and side bars with the fish pattern shown in 3D.

OLL 9 — interactive 3DR U R' U' R' F R2 U R' U' F'
Fish

OLL 10

Compare the top stickers and side bars with the fish pattern shown in 3D.

OLL 10 — interactive 3DR U R' U R' F R F' R U2 R'
Lightning

OLL 11

Compare the top stickers and side bars with the lightning pattern shown in 3D.

OLL 11 — interactive 3Dr' R2 U R' U R U2 R' U M'
Lightning

OLL 12

Compare the top stickers and side bars with the lightning pattern shown in 3D.

OLL 12 — interactive 3DM' R' U' R U' R' U2 R U' M
Knight move

OLL 13

Compare the top stickers and side bars with the knight move pattern shown in 3D.

OLL 13 — interactive 3DF U R U' R2 F' R U R U' R'
Knight move

OLL 14

Compare the top stickers and side bars with the knight move pattern shown in 3D.

OLL 14 — interactive 3DR' F R U R' F' R F U' F'
Knight move

OLL 15

Compare the top stickers and side bars with the knight move pattern shown in 3D.

OLL 15 — interactive 3Dr' U' r R' U' R U r' U r
Knight move

OLL 16

Compare the top stickers and side bars with the knight move pattern shown in 3D.

OLL 16 — interactive 3Dr U r' R U R' U' r U' r'
Dot

OLL 17

Compare the top stickers and side bars with the dot pattern shown in 3D.

OLL 17 — interactive 3DR U R' U R' F R F' U2 R' F R F'
Dot

OLL 18

Compare the top stickers and side bars with the dot pattern shown in 3D.

OLL 18 — interactive 3Dr U R' U R U2 r' r' U' R U' R' U2 r
Dot

OLL 19

Compare the top stickers and side bars with the dot pattern shown in 3D.

OLL 19 — interactive 3DM U R U R' U' M' R' F R F'
Dot

OLL 20

Compare the top stickers and side bars with the dot pattern shown in 3D.

OLL 20 — interactive 3DM U R U R' U' M2 U R U' r'
Cross

OLL 21

Compare the top stickers and side bars with the cross pattern shown in 3D.

OLL 21 — interactive 3DR U2 R' U' R U R' U' R U' R'
Cross

OLL 22

Compare the top stickers and side bars with the cross pattern shown in 3D.

OLL 22 — interactive 3DR U2 R2 U' R2 U' R2 U2 R
Cross

OLL 23

Compare the top stickers and side bars with the cross pattern shown in 3D.

OLL 23 — interactive 3DR U R' U R U2 R2 U' R U' R' U2 R
Cross

OLL 24

Compare the top stickers and side bars with the cross pattern shown in 3D.

OLL 24 — interactive 3Dr U R' U' r' F R F'
Cross

OLL 25

Compare the top stickers and side bars with the cross pattern shown in 3D.

OLL 25 — interactive 3DF' r U R' U' r' F R
Cross

OLL 26

Compare the top stickers and side bars with the cross pattern shown in 3D.

OLL 26 — interactive 3DR U2 R' U' R U' R'
Cross

OLL 27

Compare the top stickers and side bars with the cross pattern shown in 3D.

OLL 27 — interactive 3DR U R' U R U2 R'
Corners oriented

OLL 28

Compare the top stickers and side bars with the corners oriented pattern shown in 3D.

OLL 28 — interactive 3Dr U R' U' r' R U R U' R'
Awkward shape

OLL 29

Compare the top stickers and side bars with the awkward shape pattern shown in 3D.

OLL 29 — interactive 3DR U R' U' R U' R' F' U' F R U R'
Awkward shape

OLL 30

Compare the top stickers and side bars with the awkward shape pattern shown in 3D.

OLL 30 — interactive 3DF U R U2 R' U' R U2 R' U' F'
P shape

OLL 31

Compare the top stickers and side bars with the p shape pattern shown in 3D.

OLL 31 — interactive 3DR' U' F U R U' R' F' R
P shape

OLL 32

Compare the top stickers and side bars with the p shape pattern shown in 3D.

OLL 32 — interactive 3DR U B' U' R' U R B R'
T shape

OLL 33

Compare the top stickers and side bars with the t shape pattern shown in 3D.

OLL 33 — interactive 3DR U R' U' R' F R F'
C shape

OLL 34

Compare the top stickers and side bars with the c shape pattern shown in 3D.

OLL 34 — interactive 3DR U R2 U' R' F R U R U' F'
Fish

OLL 35

Compare the top stickers and side bars with the fish pattern shown in 3D.

OLL 35 — interactive 3DR U2 R2 F R F' R U2 R'
W shape

OLL 36

Compare the top stickers and side bars with the w shape pattern shown in 3D.

OLL 36 — interactive 3DR U R' F' R U R' U' R' F R U' R' F R F'
Fish

OLL 37

Compare the top stickers and side bars with the fish pattern shown in 3D.

OLL 37 — interactive 3DF R U' R' U' R U R' F'
W shape

OLL 38

Compare the top stickers and side bars with the w shape pattern shown in 3D.

OLL 38 — interactive 3DR U R' U R U' R' U' R' F R F'
Lightning

OLL 39

Compare the top stickers and side bars with the lightning pattern shown in 3D.

OLL 39 — interactive 3DL F' L' U' L U F U' L'
Lightning

OLL 40

Compare the top stickers and side bars with the lightning pattern shown in 3D.

OLL 40 — interactive 3DR' F R U R' U' F' U R
Awkward shape

OLL 41

Compare the top stickers and side bars with the awkward shape pattern shown in 3D.

OLL 41 — interactive 3DR U R' U R U2 R' F R U R' U' F'
Awkward shape

OLL 42

Compare the top stickers and side bars with the awkward shape pattern shown in 3D.

OLL 42 — interactive 3DR' U' R U' R' U2 R F R U R' U' F'
P shape

OLL 43

Compare the top stickers and side bars with the p shape pattern shown in 3D.

OLL 43 — interactive 3DR' U' F' U F R
P shape

OLL 44

Compare the top stickers and side bars with the p shape pattern shown in 3D.

OLL 44 — interactive 3Df R U R' U' f'
T shape

OLL 45

Compare the top stickers and side bars with the t shape pattern shown in 3D.

OLL 45 — interactive 3DF R U R' U' F'
C shape

OLL 46

Compare the top stickers and side bars with the c shape pattern shown in 3D.

OLL 46 — interactive 3DR' U' R' F R F' U R
L shape

OLL 47

Compare the top stickers and side bars with the l shape pattern shown in 3D.

OLL 47 — interactive 3DF' L' U' L U L' U' L U F
L shape

OLL 48

Compare the top stickers and side bars with the l shape pattern shown in 3D.

OLL 48 — interactive 3DF R U R' U' R U R' U' F'
L shape

OLL 49

Compare the top stickers and side bars with the l shape pattern shown in 3D.

OLL 49 — interactive 3Dr U' r2 U r2 U r2 U' r
L shape

OLL 50

Compare the top stickers and side bars with the l shape pattern shown in 3D.

OLL 50 — interactive 3Dr' U r2 U' r2 U' r2 U r'
I shape

OLL 51

Compare the top stickers and side bars with the i shape pattern shown in 3D.

OLL 51 — interactive 3Df R U R' U' R U R' U' f'
I shape

OLL 52

Compare the top stickers and side bars with the i shape pattern shown in 3D.

OLL 52 — interactive 3DR' F' U' F U' R U R' U R
L shape

OLL 53

Compare the top stickers and side bars with the l shape pattern shown in 3D.

OLL 53 — interactive 3Dr' U' R U' R' U R U' R' U2 r
L shape

OLL 54

Compare the top stickers and side bars with the l shape pattern shown in 3D.

OLL 54 — interactive 3Dr U R' U R U' R' U R U2 r'
I shape

OLL 55

Compare the top stickers and side bars with the i shape pattern shown in 3D.

OLL 55 — interactive 3DR' F R U R U' R2 F' R2 U' R' U R U R'
I shape

OLL 56

Compare the top stickers and side bars with the i shape pattern shown in 3D.

OLL 56 — interactive 3Dr' U' r U' R' U R U' R' U R r' U r
Corners oriented

OLL 57

Compare the top stickers and side bars with the corners oriented pattern shown in 3D.

OLL 57 — interactive 3DR U R' U' R' r U R U' r'

Notation Used in OLL

Uppercase letters turn one face: R, U, F, L, D, and B. A lowercase letter such as r or f is a wide turn, which moves that face and the adjacent middle layer together. M turns the slice between L and R. The rotations x, y, and z change how you hold the entire cube.

An apostrophe means counterclockwise when looking directly at that face. A 2 means a half turn. Read every formula from left to right, and treat spaces as move boundaries. Review the complete Rubik's Cube notation guide before practicing advanced cases if any symbol is unfamiliar.

The 3D player animates face turns, wide turns, slices, and whole-cube rotations. Use the Next button for difficult formulas; one clean move at a time is more useful than replaying a fast sequence you cannot follow.

Practice OLL Without Guessing

Choose two new cases from the same shape group. For each case, study the top and side stickers, say the case name, execute the algorithm five times slowly, and then mix it with a case you already know. If you execute the wrong algorithm, fix the recognition error before increasing your speed.

During complete solves, pause after F2L and name the OLL case before turning. Continue when you can recognize and execute the case correctly from several U-face positions. Learn no more than a small group at once; reliable recall matters more than the number of formulas you have seen.