OLL algorithms: all 57 cases grouped by shape
OLL is the third step of the CFOP method. It turns the whole top face yellow with one algorithm. There are 57 cases. If you know 2-look OLL, you already know the algorithms for 10 of them.
Tap a picture to watch the case on a 3D cube. When you can do a case from memory, tick "I know it". Your list stays in this browser.
What OLL does
After the first two layers, the top layer is a mix of yellow and other colors. OLL makes the top all yellow in one go. The pieces may still sit in the wrong places after that, but that is the job of the last step, PLL.
Full OLL is a big list. Many cubers use 2-look OLL for a long time: 10 algorithms in two steps, first the yellow cross, then the corners. Every 2-look algorithm is also a full OLL case (OLL 2, 21 to 27, 44 and 45), so you can grow from 2-look into full OLL one group at a time.
How to read the pictures
Each picture shows the top of the cube from above, with blue in front. Yellow squares are yellow stickers. Grey squares are any other color, because for OLL the other colors do not matter. The thin strips around the edge are the top row of each side, so you can see where a yellow sticker faces sideways.
How to recognize an OLL case
Look at the edges first. The four top edges can show four patterns, and each comes up this often:
| Yellow edges on top | How often | Groups |
|---|---|---|
| All four (a cross) | 1 in 8 | All edges oriented |
| Two in a line | 1 in 4 | T, C, I, knight move, big lightning bolt, corners oriented and others |
| Two next to each other (an L) | 1 in 2 | Square, P, W, fish, small L, small lightning bolt and others |
| None (a dot) | 1 in 8 | Dot |

Then count the corners that show yellow on top, and look at where the other yellow stickers face. That narrows it down to one group, and the group pictures below do the rest. The odds come from our own count of all 216 ways the top layer can be oriented.
A real cube always shows zero, two or four yellow edges on top. If you count one or three, an edge is flipped and no algorithm will fix it. The same goes for one corner with yellow on its side while the other three show yellow on top: that corner is twisted. Our unsolvable cube page shows how to fix both.
Which OLLs to learn first
The groups on this page are in the order we suggest learning them. It is close to the order the CubeSkills OLL sheet uses: the cases you already know from 2-look come first, the easy shapes next, and the dots last. Learn one group at a time. Mirror cases, like OLL 5 and 6, are easier to learn as a pair.
A few move patterns show up again and again. Once your hands know them, many OLLs are just two of them glued together:
- R U R' U', the "sexy move".
- R' F R F', the "sledgehammer".
- R U R' U R U2 R', called Sune.
- F R U R' U' F', the line case from 2-look OLL.
All edges oriented (OLL 21, 22, 23, 24, 25, 26, 27)
The yellow cross is already done, so only the corners need to turn. These are the 7 corner cases of 2-look OLL. If you know 2-look, you know this whole group.
OLL 21 Double Sune
R U R' U R U' R' U R U2 R'
Other: (U) R U2 R' U' R U R' U' R U' R'
11 moves, comes up 1 in 108 solves
OLL 22 Pi
R U2 R2 U' R2 U' R2 U2 R
Other: f R U R' U' S' R U R' U' F'
9 moves, comes up 1 in 54 solves
OLL 23 Headlights
R2 D R' U2 R D' R' U2 R'
Other: (U2) R2 D' R U2 R' D R U2 R
9 moves, comes up 1 in 54 solves
OLL 24 Chameleon
r U R' U' r' F R F'
Other: y R U R D R' U' R D' R2
8 moves, comes up 1 in 54 solves
OLL 25 Bowtie
F' r U R' U' r' F R
Other: (U') R U2 R D R' U2 R D' R2
8 moves, comes up 1 in 54 solves
OLL 26 Antisune
R U2 R' U' R U' R'
Other: (U') R' U' R U' R' U2 R
7 moves, comes up 1 in 54 solves
OLL 27 Sune
R U R' U R U2 R'
Other: y' R' U2 R U R' U R
7 moves, comes up 1 in 54 solves
T shape (OLL 33, 45)
A yellow line across the middle, plus the two corners on one side: it looks like a T. OLL 45 is the same algorithm as the line case of 2-look OLL.
OLL 33 Shoelaces
R U R' U' R' F R F'
Other: y2 L' U' L U L F' L' F
8 moves, comes up 1 in 54 solves
OLL 45 Suit Up
F R U R' U' F'
Other: y R' F' U' F U R
6 moves, comes up 1 in 54 solves
Square (OLL 5, 6)
A 2 by 2 yellow square in one corner. The two cases are mirror images, and both use a wide move (r or l).
OLL 5 Lefty Square
r' U2 R U R' U r
Other: (U2) l' U2 L U L' U l
7 moves, comes up 1 in 54 solves
OLL 6 Righty Square
r U2 R' U' R U' r'
Other: y2 l U2 L' U' L U' l'
7 moves, comes up 1 in 54 solves
C shape (OLL 34, 46)
Yellow stickers make a C or a U: a line of three with both ends bent the same way.
OLL 34 City
R U R2 U' R' F R U R U' F'
Other: (U2) y f R f' U' r' U' R U M'
11 moves, comes up 1 in 54 solves
OLL 46 Seein' Headlights
R' U' R' F R F' U R
Other: R' F' U' F R U' R' U2 R
8 moves, comes up 1 in 54 solves
W shape (OLL 36, 38)
The yellow stickers go up like a staircase and look like a W from the side.
OLL 36 Wario
L' U' L U' L' U L U L F' L' F
Other: (U2) y R U R2 F' U' F U R2 U2 R'
12 moves, comes up 1 in 54 solves
OLL 38 Mario
R U R' U R U' R' U' R' F R F'
Other: y F R U' R' S U' R U R' f'
12 moves, comes up 1 in 54 solves
Corners oriented (OLL 28, 57)
All four corners already show yellow on top, but two edges do not. Both algorithms use the M slice.
OLL 28 Stealth
r U R' U' M U R U' R'
Other: R' F R S R' F' R S'
9 moves, comes up 1 in 54 solves
OLL 57 Mummy
R U R' U' M' U R U' r'
Other: y R U' R' S' R U R' S
9 moves, comes up 1 in 108 solves
P shape (OLL 31, 32, 43, 44)
A 2 by 2 block with one more sticker next to it, like the letter P. OLL 44 is the L shape algorithm from 2-look OLL.
OLL 31 Couch
R' U' F U R U' R' F' R
Other: y S R U R' U' f' U' F
9 moves, comes up 1 in 54 solves
OLL 32 Anti-Couch
S R U R' U' R' F R f'
Other: (U2) L U F' U' L' U L F L'
9 moves, comes up 1 in 54 solves
OLL 43 Anti-P
y R' U' F' U F R
Other: (U2) F' U' L' U L F
6 moves, comes up 1 in 54 solves
OLL 44 P
f R U R' U' f'
Other: (U2) F U R U' R' F'
6 moves, comes up 1 in 54 solves
I shape (OLL 51, 52, 55, 56)
A yellow line through the middle and no corner up. The side stickers tell the four apart.
OLL 51 Bottlecap
F U R U' R' U R U' R' F'
Other: (U2) f R U R' U' R U R' U' f'
10 moves, comes up 1 in 54 solves
OLL 52 Rice Cooker
y2 R' F' U' F U' R U R' U R
Other: R U R' U R U' B U' B' R'
10 moves, comes up 1 in 54 solves
OLL 55 Highway
R' F R U R U' R2 F' R2 U' R' U R U R'
Other: (U) y R' F U R U' R2 F' R2 U R' U' R
15 moves, comes up 1 in 108 solves
OLL 56 Streetlights
r U r' U R U' R' U R U' R' r U' r'
Other: r U r' U R U' R' M' U R U2 r'
14 moves, comes up 1 in 108 solves
Fish (OLL 9, 10, 35, 37)
Yellow stickers make a shape like a fish: a diagonal body with a tail. Look for the corner that shows yellow on top.
OLL 9 Kite
R U R' U' R' F R2 U R' U' F'
Other: (U') R U2 R' U' S' R U' R' S
11 moves, comes up 1 in 54 solves
OLL 10 Anti-Kite
R U R' U R' F R F' R U2 R'
Other: (U) F U F' R' F R U' R' F' R
11 moves, comes up 1 in 54 solves
OLL 35 Fish Salad
R U2 R2 F R F' R U2 R'
Other: f R U R' U' f' R U R' U R U2 R'
9 moves, comes up 1 in 54 solves
OLL 37 Mounted Fish
F R' F' R U R U' R'
Other: F R U' R' U' R U R' F'
8 moves, comes up 1 in 54 solves
Knight move (OLL 13, 14, 15, 16)
A yellow line and one corner up, sitting one step off the line, like a knight's move in chess.
OLL 13 Gun
F U R U' R2 F' R U R U' R'
Other: F U R U2 R' U' R U R' F'
11 moves, comes up 1 in 54 solves
OLL 14 Anti-Gun
R' F R U R' F' R F U' F'
Other: r U R' U' r' F R2 U R' U' F'
10 moves, comes up 1 in 54 solves
OLL 15 Squeegee
r' U' r R' U' R U r' U r
Other: (U2) l' U' l L' U' L U l' U l
10 moves, comes up 1 in 54 solves
OLL 16 Anti-Squeegee
r U r' R U R' U' r U' r'
Other: r U M U R' U' r U' r'
10 moves, comes up 1 in 54 solves
Awkward (OLL 29, 30, 41, 42)
These four have no clean shape, which is how they got their name. Learn them late, together.
OLL 29 Spotted Chameleon
R U R' U' R U' R' F' U' F R U R'
Other: (U') r2 D' r U r' D r2 U' r' U' r
13 moves, comes up 1 in 54 solves
OLL 30 Anti-Spotted Chameleon
F U R U2 R' U' R U2 R' U' F'
Other: (U) r' D' r U' r' D r2 U' r' U r U r'
11 moves, comes up 1 in 54 solves
OLL 41 Awkward Fish
R U R' U R U2 R' F R U R' U' F'
Other: (U2) y2 F U R2 D R' U' R D' R2 F'
13 moves, comes up 1 in 54 solves
OLL 42 Lefty Awkward Fish
R' U' R U' R' U2 R F R U R' U' F'
Other: y F S' R U R' U' F' U S
13 moves, comes up 1 in 54 solves
Small L shape (OLL 47, 48, 49, 50, 53, 54)
A small yellow L made of two edges and the center, with no corner up.
OLL 47 Anti-Breakneck
F' L' U' L U L' U' L U F
Other: R' U' R' F R F' R' F R F' U R
10 moves, comes up 1 in 54 solves
OLL 48 Breakneck
F R U R' U' R U R' U' F'
Other: y2 f U R U' R' U R U' R' f'
10 moves, comes up 1 in 54 solves
OLL 49 Right Back Squeezy
r U' r2 U r2 U r2 U' r
Other: (U2) R B' R2 F R2 B R2 F' R
9 moves, comes up 1 in 54 solves
OLL 50 Right Front Squeezy
r' U r2 U' r2 U' r2 U r'
Other: (U2) R' F R2 B' R2 F' R2 B R'
9 moves, comes up 1 in 54 solves
OLL 53 Frying Pan
r' U' R U' R' U R U' R' U2 r
Other: (U2) l' U' L U' L' U L U' L' U2 l
11 moves, comes up 1 in 54 solves
OLL 54 Anti-Frying Pan
r U R' U R U' R' U R U2 r'
Other: (U') r U2 R' U' R U R' U' R U' r'
11 moves, comes up 1 in 54 solves
Small lightning bolt (OLL 7, 8, 11, 12)
A short zigzag: one corner up and two edges next to it.
OLL 7 Wide Sune
r U R' U R U2 r'
Other: L' U2 L U2 L F' L' F
7 moves, comes up 1 in 54 solves
OLL 8 Reverse Lightning
l' U' L U' L' U2 l
Other: R U2 R' U2 R' F R F'
7 moves, comes up 1 in 54 solves
OLL 11 Downstairs
r' R2 U R' U R U2 R' U M'
Other: (U2) r U R' U R' F R F' R U2 r'
10 moves, comes up 1 in 54 solves
OLL 12 Upstairs
M' R' U' R U' R' U2 R U' M
Other: (U) F R U R' U' F' U F R U R' U' F'
10 moves, comes up 1 in 54 solves
Big lightning bolt (OLL 39, 40)
A long zigzag that runs across the whole top face.
OLL 39 Fung
L F' L' U' L U F U' L'
Other: (U') y' R U R' F' U' F U R U2 R'
9 moves, comes up 1 in 54 solves
OLL 40 Anti-Fung
R' F R U R' U' F' U R
Other: (U') y' f R' F' R U R U' R' S'
9 moves, comes up 1 in 54 solves
Dot (OLL 1, 2, 3, 4, 17, 18, 19, 20)
No yellow edge on top, only the center. These are the hardest to spot and among the longest to do. Most cubers learn them last.
OLL 1 Runway
R U2 R2 F R F' U2 R' F R F'
Other: y R U' R2 D' r U' r' D R2 U R'
11 moves, comes up 1 in 108 solves
OLL 2 Zamboni
y' R U' R2 D' r U r' D R2 U R'
Other: F R U R' U' S R U R' U' f'
11 moves, comes up 1 in 54 solves
OLL 3 Anti-Mouse
y' f R U R' U' f' U' F R U R' U' F'
Other: r' R2 U R' U r U2 r' U M'
13 moves, comes up 1 in 54 solves
OLL 4 Mouse
y' f R U R' U' f' U F R U R' U' F'
Other: y' R' F2 R2 U2 R' F' R U2 R2 F2 R
13 moves, comes up 1 in 54 solves
OLL 17 Slash
R U R' U R' F R F' U2 R' F R F'
Other: y2 F R' F' R U S' R U' R' S
13 moves, comes up 1 in 54 solves
OLL 18 Crown
y R U2 R2 F R F' U2 M' U R U' r'
Other: r U R' U R U2 r2 U' R U' R' U2 r
12 moves, comes up 1 in 54 solves
OLL 19 Bunny
y S' R U R' S U' R' F R F'
Other: M U R U R' U' M' R' F R F'
10 moves, comes up 1 in 54 solves
OLL 20 Checkers
r U R' U' M2 U R U' R' U' M'
Other: M' U2 M U2 M' U M U2 M' U2 M
11 moves, comes up 1 in 216 solves
How to practice OLL
Learn two or three cases, then use them in real solves for a few days before you add more. A case you only drill on its own is easy to forget. Our timer gives you a new scramble every time. Each OLL case comes up about once in 54 solves, so it takes a while to meet them all.
Not sure which case you have? Paint your cube in the solver and choose CFOP. It names the OLL case and plays the algorithm on a 3D cube.
Questions people ask
How many OLL algorithms are there?
57, one for each case. A 58th "case" is the OLL skip, when the top is already yellow. That happens about 1 in 216 solves.
Should I learn full OLL or full PLL first?
Full PLL. It has 21 cases instead of 57, and it saves more time per case. J Perm suggests full OLL once you average about 25 seconds.
How long does full OLL take to learn?
A few months for most people, at two or three new cases a week. You can go faster, but cases learned in a rush are easy to forget.
Which OLL cases are the easiest?
The ones you already know from 2-look, then the T shapes, squares and C shapes. They are short and easy to spot.
Do I need all 57?
No. You can mix: use full OLL for the cases you know and 2-look for the rest. Every case you add saves a little time.
What does OLL stand for?
Orientation of the last layer. Orientation means which way a piece faces: OLL turns every top piece so its yellow sticker points up.
Every algorithm on this page was checked with our own cube engine: it makes the top face yellow from exactly the case in its picture and keeps the first two layers solved. Nicknames vary between sites. Moves are counted as single turns, a slice move like M counts as one.