OLL Algorithms: All 57 Cases, Grouped by Shape
Quick answer
OLL (Orientation of the Last Layer) is the third step of CFOP. Full OLL has 57 cases, each solved by one algorithm that turns the whole top face yellow in a single step, without breaking F2L. Learn them in groups by the shape on top: the 7 cross cases (OCLL), the 8 dot cases, and the line, L, P, T, C, square, W, fish, knight move, lightning and awkward shapes.
On this pageHow to read this sheet
- How to read this sheet
- Cross already solved: the seven OCLL cases
- Dot cases
- All corners oriented
- Line shapes
- L shapes
- P shapes
- T and C shapes
- Square and W shapes
- Fish and knight move shapes
- Lightning and awkward shapes
- How often each OLL case comes up
- Which OLLs to learn first
- Recognizing OLL faster
- Drilling OLL with CuberPal
F2L is done and the top is a scatter of yellow. OLL, short for Orientation of the Last Layer, is the step of CFOP that turns the whole top face yellow before PLL. New to the two last-layer steps? Start with what OLL and PLL are.
This sheet is for solvers who already use two-look OLL. Full OLL replaces its two steps with one algorithm per case. Each case below has a recognition cue, a main algorithm and an alternative. Case numbers and the nicknames for OLL 21 to 27 follow the Speedsolving.com Wiki, and SpeedCubeDB lists more options per case.
How to read this sheet
Hold the cube with yellow on top. Every algorithm keeps F2L solved.
- Positions like back-left describe the top layer seen from above, front facing you. "The back's left two stickers" are the two back stickers nearest the left side.
- Each cue shows the case as you hold it before the main algorithm, including any y, y2 or y' at its start. If it doesn't match, adjust with U first.
- Bar: three yellow stickers in a row on one side. Headlights: yellow on both corner stickers of one side.
New to the letters? See cube notation. Lowercase r, l and f turn two layers, and M, S and E are slices (wide and slice moves). The letters x, y and z are whole-cube rotations (cube rotations x, y and z).
Cross already solved: the seven OCLL cases
The yellow cross is done, so only corners need to turn.
- OLL 21 (H): No corners on top, with yellow headlights on the left and right. Algorithm: R U R' U R U' R' U R U2 R'. Alternative: y R U2 R' U' R U R' U' R U' R'.
- OLL 22 (Pi): No corners on top, headlights on the left, and the right corners' yellow facing front and back. Algorithm: R U2 R2 U' R2 U' R2 U2 R. Alternative: f R U R' U' S' R U R' U' F'.
- OLL 23 (U/Headlights): Both back corners oriented, with headlights on the front. Algorithm: R2 D R' U2 R D' R' U2 R'. Alternative: y2 R2 D' R U2 R' D R U2 R.
- OLL 24 (T/Chameleon): Both right corners oriented, with the left corners' yellow facing back and front. Algorithm: r U R' U' r' F R F'. Alternative: y2 R' F' r U R U' r' F.
- OLL 25 (L/Bowtie): Back-left and front-right corners oriented, with the front-left corner's yellow facing you. Algorithm: y F' r U R' U' r' F R. Alternative: R U2 R D R' U2 R D' R2.
- OLL 26 (Antisune): Only the back-left corner oriented, with the front-left corner's yellow facing you. Algorithm: y R U2 R' U' R U' R'. Alternative: R' U' R U' R' U2 R.
- OLL 27 (Sune): Only the front-left corner oriented, with the front-right corner's yellow facing you. Algorithm: R U R' U R U2 R'. Alternative: y' R' U2 R U R' U R.
Dot cases
No yellow edges on top, only the center.
- OLL 1: Only the center on top, with bars on the left and right. Algorithm: R U2 R2 F R F' U2 R' F R F'. Alternative: y R U' R2 D' r U' r' D R2 U R'.
- OLL 2: Only the center on top, with a bar on the left. Algorithm: F R U R' U' F' f R U R' U' f'. Alternative: y' R U' R2 D' r U r' D R2 U R'.
- OLL 3: Center plus front-left corner, with yellow on the right side's back two stickers. Algorithm: y' f R U R' U' f' U' F R U R' U' F'. Alternative: y R' F2 R2 U2 R' F R U2 R2 F2 R.
- OLL 4: Center plus front-right corner, with yellow on the left side's back two stickers. Algorithm: y' f R U R' U' f' U F R U R' U' F'. Alternative: y' R' F2 R2 U2 R' F' R U2 R2 F2 R.
- OLL 17: Center plus back-left and front-right corners, with yellow on the left side's front two stickers. Algorithm: R U R' U R' F R F' U2 R' F R F'. Alternative: y2 F R' F' R U S' R U' R' S.
- OLL 18: Center plus both back corners, with a bar on the front. Algorithm: y R U2 R2 F R F' U2 M' U R U' r'. Alternative: r U R' U R U2 r2 U' R U' R' U2 r.
- OLL 19: Center plus both back corners, with yellow on the front two stickers of the left and right sides. Algorithm: M U R U R' U' M' R' F R F'. Alternative: y S' R U R' S U' R' F R F'.
- OLL 20: Center plus all four corners, no edges. Algorithm: r U R' U' M2 U R U' R' U' M'. Alternative: M' U2 M U2 M' U M U2 M' U2 M.
All corners oriented
All four corners are yellow, and only edges need flipping.
- OLL 28: All corners oriented, with only the back and left edges yellow. Algorithm: r U R' U' M U R U' R'. Alternative: r U R' U' r' R U R U' R'.
- OLL 57: All corners oriented plus a left-to-right line, with the front and back edges flipped. Algorithm: R U R' U' M' U R U' r'. Alternative: y R U' R' S' R U R' S.
Line shapes
A line runs through the center, with no corners oriented.
- OLL 51: Left-to-right line, with headlights on the left. Algorithm: f R U R' U' R U R' U' f'. Alternative: y2 F U R U' R' U R U' R' F'.
- OLL 52: Back-to-front line, with a bar on the right. Algorithm: y2 R' F' U' F U' R U R' U R. Alternative: R U R' U R U' B U' B' R'.
- OLL 55: Back-to-front line, with bars on the left and right. Algorithm: R U2 R2 U' R U' R' U2 F R F'. Alternative: y R' F U R U' R2 F' R2 U R' U' R.
- OLL 56: Left-to-right line, with headlights on the left and right. Algorithm: r U r' U R U' R' U R U' R' r U' r'. Alternative: r U r' U R U' R' M' U R U2 r'.
L shapes
Two neighboring edges and the center form a small L, with no corners oriented.
- OLL 47: Small L on the back and right edges, with headlights on the right. Algorithm: F' L' U' L U L' U' L U F. Alternative: y' F R' F' R U2 R U' R' U R U2 R'.
- OLL 48: Small L on the back and left edges, with headlights on the left. Algorithm: F R U R' U' R U R' U' F'. Alternative: y2 f U R U' R' U R U' R' f'.
- OLL 49: Small L on the left and front edges, with a bar on the right. Algorithm: y2 r U' r2 U r2 U r2 U' r. Alternative: l U' l2 U l2 U l2 U' l.
- OLL 50: Small L on the right and front edges, with a bar on the left and no yellow on the right. Algorithm: r' U r2 U' r2 U' r2 U r'. Alternative: y2 R' F R2 B' R2 F' R2 B R'.
- OLL 53: Small L on the right and front edges, with a bar on the left and headlights on the right. Algorithm: r' U' R U' R' U R U' R' U2 r. Alternative: y r' U2 R U R' U' R U R' U r.
- OLL 54: Small L on the back and right edges, with a bar on the left and headlights on the right. Algorithm: r U R' U R U' R' U R U2 r'. Alternative: y' r U2 R' U' R U R' U' R U' r'.
P shapes
A two-by-two block plus one extra sticker forms a P on top.
- OLL 31: P of both right corners plus the back and right edges, with yellow on the front's left two stickers. Algorithm: R' U' F U R U' R' F' R. Alternative: y S R U R' U' f' U' F.
- OLL 32: P of both right corners plus the right and front edges, with yellow on the back's left two stickers. Algorithm: S R U R' U' R' F R f'. Alternative: y2 L U F' U' L' U L F L'.
- OLL 43: P of both left corners plus the left and front edges, with a bar on the right. Algorithm: y R' U' F' U F R. Alternative: y2 F' U' L' U L F.
- OLL 44: P of both right corners plus the right and front edges, with a bar on the left. Algorithm: f R U R' U' f'. Alternative: y2 F U R U' R' F'.
T and C shapes
A line through the center plus two corners on one side makes a T or a C.
- OLL 33: T of the middle row plus both right corners, with the left corners' yellow facing back and front. Algorithm: R U R' U' R' F R F'. Alternative: y2 L' U' L U L F' L' F.
- OLL 45: T of the middle row plus both right corners, with headlights on the left. Algorithm: F R U R' U' F'. Alternative: y R' F' U' F U R.
- OLL 34: C of the middle row plus both back corners, with the front corners' yellow facing left and right. Algorithm: y2 R U R2 U' R' F R U R U' F'. Alternative: y f R f' U' r' U' R U M'.
- OLL 46: C of the back-to-front line plus both left corners, with a bar on the right. Algorithm: R' U' R' F R F' U R. Alternative: R' F' U' F R U' R' U2 R.
Square and W shapes
A square is a two-by-two block. A W is a staircase of two edges and two diagonal corners.
- OLL 5: Square at front-right, with yellow on the left side's front two stickers. Algorithm: r' U2 R U R' U r. Alternative: y2 l' U2 L U L' U l.
- OLL 6: Square at back-right, with yellow on the left side's back two stickers. Algorithm: r U2 R' U' R U' r'. Alternative: F U' R2 D R' U' R D' R2 U F'.
- OLL 36: W from back-left to front-right through the left and front edges, with yellow on the right side's back two stickers. Algorithm: y2 L' U' L U' L' U L U L F' L' F. Alternative: y R U R2 F' U' F U R2 U2 R'.
- OLL 38: W from front-left to back-right through the left and back edges, with yellow on the right side's front two stickers. Algorithm: R U R' U R U' R' U' R' F R F'. Alternative: y F R U' R' S U' R U R' f'.
Fish and knight move shapes
Fish cases pair two edges with one or two corners. Knight move cases have the middle row and one corner.
- OLL 9: Fish of the back-right corner plus the left and front edges, with yellow on the right side's front two stickers. Algorithm: y R U R' U' R' F R2 U R' U' F'. Alternative: R U2 R' U' S' R U' R' S.
- OLL 10: Same top as OLL 9, with yellow on the back's left two stickers. Algorithm: R U R' U R' F R F' R U2 R'. Alternative: y F U F' R' F R U' R' F' R.
- OLL 35: Fish of the back-left and front-right corners plus the right and front edges. Algorithm: R U2 R2 F R F' R U2 R'. Alternative: f R U R' U' f' R U R' U R U2 R'.
- OLL 37: Fish of the back-left and front-right corners plus the back and left edges, with yellow on the front's left two stickers. Algorithm: F R U' R' U' R U R' F'. Alternative: F R' F' R U R U' R'.
- OLL 13: Middle row plus front-left corner, with yellow on the back's left two stickers. Algorithm: r U' r' U' r U r' F' U F. Alternative: F U R U2 R' U' R U R' F'.
- OLL 14: Middle row plus front-right corner, with yellow on the back's right two stickers. Algorithm: R' F R U R' F' R F U' F'. Alternative: r U R' U' r' F R2 U R' U' F'.
- OLL 15: Middle row plus front-right corner, with yellow on the back's left two stickers. Algorithm: r' U' r R' U' R U r' U r. Alternative: y2 l' U' l L' U' L U l' U l.
- OLL 16: Middle row plus back-right corner, with yellow on the front's left two stickers. Algorithm: r U r' R U R' U' r U' r'. Alternative: r U M U R' U' r U' r'.
Lightning and awkward shapes
Lightning cases form a zigzag bolt. Awkward cases mix two corners and two edges in no neat shape.
- OLL 7: Bolt of the back and left edges plus the front-left corner, with yellow on the right side's back two stickers. Algorithm: r U R' U R U2 r'. Alternative: S' R U R' U R U2 R' U S.
- OLL 8: Bolt of the back and right edges plus the front-right corner, with yellow on the left side's back two stickers. Algorithm: y2 r' U' R U' R' U2 r. Alternative: l' U' L U' L' U2 l.
- OLL 11: Right and front edges plus the front-left corner, with yellow on the back's left two stickers. Algorithm: M R U R' U R U2 R' U M'. Alternative: r' R2 U R' U R U2 R' U M'.
- OLL 12: Right and front edges plus the back-right corner, with yellow on the left side's back two stickers. Algorithm: y' M' R' U' R U' R' U2 R U' M. Alternative: F R U R' U' F' U F R U R' U' F'.
- OLL 39: Back-to-front line plus back-left and front-right corners, with yellow on the left side's front two stickers. Algorithm: y L F' L' U' L U F U' L'. Alternative: y' f' r U r' U' r' F r S.
- OLL 40: Back-to-front line plus back-right and front-left corners, with yellow on the left side's back two stickers. Algorithm: y R' F R U R' U' F' U R. Alternative: y' f R' F' R U R U' R' S'.
- OLL 29: Both back corners plus the left and front edges, with yellow on the right side's front two stickers. Algorithm: y R U R' U' R U' R' F' U' F R U R'. Alternative: r2 D' r U r' D r2 U' r' U' r.
- OLL 30: Both back corners plus the right and front edges, with yellow on the left side's front two stickers. Algorithm: y2 F U R U2 R' U' R U2 R' U' F'. Alternative: y' r' D' r U' r' D r2 U' r' U r U r'.
- OLL 41: Both back corners plus the right and front edges, with headlights on the front. Algorithm: y2 R U R' U R U2 R' F R U R' U' F'. Alternative: y2 F U R2 D R' U' R D' R2 F'.
- OLL 42: Both back corners plus the left and front edges, with headlights on the front. Algorithm: R' U' R U' R' U2 R F R U R' U' F'. Alternative: y F S' R U R' U' F' U S.
How often each OLL case comes up
Out of 216 equally likely last-layer orientations, counting each angle of the top layer:
- 4 in 216, or about 1 in 54 solves: every case not listed below.
- 2 in 216, or 1 in 108: OLL 1, 21, 55, 56 and 57, because each looks the same from two angles.
- 1 in 216: OLL 20, because it looks the same from all four angles.
- Also 1 in 216: the OLL skip, when the top is already yellow after F2L.
No single case is common. Full OLL pays off because it saves a look on almost every solve.
Which OLLs to learn first
There's no single correct order, but this one keeps the jump manageable:
- Keep two-look OLL as your fallback for cases you haven't learned.
- Start with the seven OCLL cases, since two-look OLL already uses them.
- Next, learn cases that reuse moves you already know. Several T, P and fish cases, such as OLL 45, OLL 44 and OLL 37, open with F or f and close with F' or f', much like the edge algorithms in two-look OLL.
- Then work through the line, L, square and knight move shapes.
- Save the dot cases and the awkward shapes for last.
For a full plan, read how to learn full OLL and how to memorize cube algorithms.
Recognizing OLL faster
The top shape narrows a case to a small group, and the side stickers decide which case and angle it is. Check the front and right sides, not only the top.
Our OLL recognition guide goes deeper. For context, see how to learn COLL algorithms and the 4-look last layer.
After OLL comes PLL. Our PLL algorithms sheet lists all 21 cases in the same format.
Drilling OLL with CuberPal
Knowing 57 algorithms is one job. Running them without a pause is another. CuberPal's coaching is built around CFOP, and it helps with OLL in a few ways:
- The algorithm trainer lets you drill cases until they're automatic.
- The cube timer tracks your solves, so you can see whether full OLL is paying off.
- AI solve feedback gives you notes on your solves, so you can choose what to practice next.
The paid tier is called Premium. For fresh practice scrambles, use the scramble generator.
Continue the learning path
Learn CFOP
Build intuitive F2L before adding a large number of algorithms.
Open this topic clusterTurn this into practice
CuberPal combines a WCA-style timer, AI solve analysis, CFOP lessons, algorithm catalogues, spaced repetition, and a camera cube solver so speedcubing advice becomes a daily training loop.

Frequently asked questions
How many OLL algorithms are there?
There are 57 OLL cases, so full OLL is 57 algorithms. Counting the OLL skip, when the top is already yellow, there are 58 possible orientation states.
Do I need full OLL before full PLL?
No. Many cubers learn full PLL first because it's 21 cases instead of 57. Our PLL algorithms sheet and how to learn full PLL guide cover that path. It's advice, not a rule.
Should I learn full OLL or stay with 2-look?
Stay with two-look OLL until it feels automatic and your F2L is smooth. Full OLL saves a look on nearly every solve, but it's 57 algorithms, so add cases in groups while two-look covers the rest.
What's the rarest OLL case?
OLL 20. It comes up 1 time in 216, the same as the OLL skip.
Sources and fact checks
- [1]Speedsolving.com Wiki: OLL — OLL = Orientation of the Last Layer; 57 OLL cases, case numbers and nicknames for OLL 21-27. Rechecked 2026-12-02.
- [2]SpeedCubeDB: 3x3 OLL algorithms — Lists more algorithm options per OLL case. Rechecked 2026-12-02.
Keep improving
How to Learn OLL (Without Drowning in 57 Cases)
Read next Blog2-Look OLL Algorithms: All 10 Cases, Holds and Alternatives
Read next BlogPLL Algorithms: All 21 Cases, Grouped and Explained
Read next GuideHow to Memorize Rubik's Cube Algorithms
Read next BlogWhat Is F2L in Rubik's Cube Solving?
Read next BlogHow to Learn Speedcubing Online, Step by Step
Read next