PLL algorithms: all 21 cases and how to spot them
PLL is the last step of the CFOP method. The top face is already yellow. One algorithm moves every top piece to its home, and the cube is solved. There are 21 cases, and if you know 2-look PLL, you already know 6 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, so you can come back and see what is left.
What PLL does
After the first two steps of the last layer, the top is all yellow, but the pieces sit in the wrong places. The side colors of the top row do not match their centers. PLL fixes that in one go, without touching the yellow top or the first two layers.
If 21 algorithms is too much for now, start with 2-look PLL: 6 algorithms in two steps. It is a bit slower, but you can learn it in a weekend. Nothing you learn there is wasted, because all six are full PLL cases too: T, Y, Ua, Ub, H and Z are on this page.
A number we worked out with our own cube engine: in the first step of 2-look PLL, you need the T perm in 2 of 3 solves, the Y perm in 1 of 6, and nothing at all in 1 of 6. The T perm also does most of the work in blindfolded solving.
How to read the pictures
Each picture shows the top of the cube from above, with yellow up and blue in front. The thin strips around it are the top row of the four sides: front at the bottom, back at the top, left and right on their own sides. The arrows show where each piece has to go. A double arrow means two pieces swap.
The 3D cube in the viewer starts in the same position: yellow on top, blue in front, red on the right. So the picture, the cube and your hands all match.
How to recognize a PLL case
Fast cubers look at two sides only: the front and the right. You do not need to turn the cube around. These four patterns tell you almost everything:
- Headlights: the two corner stickers of one side match, and the middle sticker is a different color.
- Bar: two stickers next to each other on one side have the same color.
- Solved side: all three stickers on a side match.
- No match: three different colors on one side.

Each case on this page has a short tip based on these patterns. At first, turn the top layer until you find headlights or a bar, then compare with the pictures. After a few weeks your eyes do it on their own.
If only two pieces need to trade places, for example two edges while everything else is solved, you will not find that case here. Turning can't do that: the cube was put together with two pieces swapped. See how to fix it.
Which PLLs to learn first
This is the order we suggest. It starts with the short and common cases, so every new algorithm saves time right away.
- The 2-look six, if you do not know them yet: T, Y, Ua, Ub, H and Z.
- Ja, Jb, Aa and Ab. Short, easy to spot and common.
- Ra, Rb and F.
- The four G perms, one per week. Together they come up in 2 of every 9 solves, so they are worth the effort.
- V, Na, Nb and E last. They are rare or long.
J Perm, a well known cubing teacher, suggests full PLL once you average about 45 seconds. He also says to learn at most 2 new PLLs a day, and not every day. We agree: a case you learned in a rush is gone a week later.
Edges only: Ua, Ub, H and Z
All four corners are already in place, so every side shows headlights. Only the edges move. You know these from 2-look PLL, and they are among the fastest algorithms in the whole method.
Ua perm
M2 U M U2 M' U M2
Other: R U' R U R U R U' R' U' R2
All corners are solved, so every side shows headlights. One side is fully solved: hold it at the back. The front edge belongs on the right.
7 moves, comes up 1 in 18 solves
Ub perm
M2 U' M U2 M' U' M2
Other: R2 U R U R' U' R' U' R' U R'
All corners are solved, so every side shows headlights. One side is fully solved: hold it at the back. The front edge belongs on the left.
7 moves, comes up 1 in 18 solves
H perm
M2 U M2 U2 M2 U M2
Other: M2 U' M2 U2 M2 U' M2
Headlights on all four sides, and every edge shows the color of the opposite side. Opposite edges swap.
7 moves, comes up 1 in 72 solves
Z perm
M' U M2 U M2 U M' U2 M2 (U')
Other: (U) M2 U M2 U M' U2 M2 U2 M' (U)
Headlights on all four sides, and every edge shows the color of a side next to it. The edges swap in two pairs.
9 moves, comes up 1 in 36 solves
Corners only: Aa, Ab and E
The edges are solved and only corners move. Aa and Ab move three corners in a circle, in opposite directions. E swaps two pairs of corners and is the only case here with no headlights at all.
Aa perm
x R' U R' D2 R U' R' D2 R2 x'
Other: l' U R' D2 R U' R' D2 R2
All edges are solved and three corners move clockwise. Hold the headlights at the back.
9 moves, comes up 1 in 18 solves
Ab perm
x R2 D2 R U R' D2 R U' R x'
Other: y2 x' L2 D2 L U L' D2 L U' L
All edges are solved and three corners move counterclockwise. Hold the headlights on the right.
9 moves, comes up 1 in 18 solves
E perm
x' R U' R' D R U R' D' R U R' D R U' R' D' x
Other: y R2 U F' R' U R U' R' U R U' R' U R U' F U' R2
All edges are solved, but no side has headlights. The left corners swap, and so do the right corners.
16 moves, comes up 1 in 36 solves
Adjacent corner swap: T, F, J and R perms
Two corners next to each other swap places, and two edges move too. Most of these cases show headlights or a fully solved side, so they are quick to spot.
T perm
R U R' U' R' F R2 U' R' U' R U R' F'
Other: R U R' U' R' F R2 U' R' U F' L' U L (U2)
Headlights on the left, and the right side shows three different colors. The two right corners swap, and so do the left and right edges.
14 moves, comes up 1 in 18 solves
F perm
R' U' F' R U R' U' R' F R2 U' R' U' R U R' U R
Other: (U') R' U R U' R2 F' U' F U R F R' F' R2
One side is fully solved: hold it on the left. The front and back edges swap, and so do the two right corners.
18 moves, comes up 1 in 18 solves
Ja perm
x R2 F R F' R U2 r' U r U2 x'
Other: (U') R' U L' U2 R U' R' U2 R L
One side is fully solved: hold it on the left. The front shows a bar of two on its left half.
10 moves, comes up 1 in 18 solves
Jb perm
R U R' F' R U R' U' R' F R2 U' R' (U')
Other: R U2 R' U' R U2 L' U R' U' L
One side is fully solved: hold it on the left. The front shows a bar of two on its right half.
13 moves, comes up 1 in 18 solves
Ra perm
R U' R' U' R U R D R' U' R D' R' U2 R' (U')
Other: R U R' F' R U2 R' U2 R' F R U R U2 R' (U')
Headlights on the left, and the front shows a bar of two on its left half.
15 moves, comes up 1 in 18 solves
Rb perm
R' U2 R U2 R' F R U R' U' R' F' R2 (U')
Other: (U) R2 F R U R U' R' F' R U2 R' U2 R
Headlights on the front, and the left side shows a bar of two on its right half.
13 moves, comes up 1 in 18 solves
Diagonal corner swap: V, Y and N perms
Two corners across from each other swap. The quick test: no side has headlights. Then look for bars. Y and V have one or two short bars, and the N perms have a bar of two on every side.
V perm
R' U R' U' y R' F' R2 U' R' U R' F R F
Other: R' U R' U' R D' R' D R' U D' R2 U' R2 D R2
Two corners on a diagonal swap. The front shows a bar of two on its left half, and the right side has no match.
14 moves, comes up 1 in 18 solves
Y perm
F R U' R' U' R U R' F' R U R' U' R' F R F'
Other: F R' F R2 U' R' U' R U R' F' R U R' U' F'
Two corners on a diagonal swap. The front and the right side each show a bar of two.
17 moves, comes up 1 in 18 solves
Na perm
R U R' U R U R' F' R U R' U' R' F R2 U' R' U2 R U' R'
Other: F' R U R' U' R' F R2 F U' R' U' R U F' R'
Every side shows a bar of two on its right half. Two diagonal corners swap, and so do two opposite edges.
21 moves, comes up 1 in 72 solves
Nb perm
R' U R U' R' F' U' F R U R' F R' F' R U' R
Other: r' D' F r U' r' F' D r2 U r' U' r' F r F'
Every side shows a bar of two on its left half. Two diagonal corners swap, and so do two opposite edges.
17 moves, comes up 1 in 72 solves
G perms: Ga, Gb, Gc and Gd
G perms move three corners and three edges. They take the longest to recognize, so learn them one at a time. In every picture below, the headlights are on the left. Then check where the bar of two sits: that tells the four apart.
Ga perm
R2 U R' U R' U' R U' R2 D U' R' U R D' (U)
Other: R2 u R' U R' U' R u' R2 y' R' U R
Headlights on the left. The front shows a bar of two on its right half.
15 moves, comes up 1 in 18 solves
Gb perm
R' U' R U D' R2 U R' U R U' R U' R2 D (U)
Other: (U) F' U' F R2 u R' U R U' R u' R2 (U)
Headlights on the left. The right side shows a bar of two on its back half.
15 moves, comes up 1 in 18 solves
Gc perm
R2 U' R U' R U R' U R2 D' U R U' R' D (U)
Other: y2 R2 F2 R U2 R U2 R' F R U R' U' R' F R2 (U2)
Headlights on the left, and no bar on the front or right side. The bar is at the back.
15 moves, comes up 1 in 18 solves
Gd perm
R U R' U' D R2 U' R U' R' U R' U R2 D' (U)
Other: R U R' y' R2 u' R U' R' U R' u R2
Headlights on the left. The right side shows a bar of two on its front half.
15 moves, comes up 1 in 18 solves
AUF: the turn before and after
Some algorithms on this page end with a move in brackets, like (U'). That is a last turn of the top layer. Cubers call it AUF. Your case may also need a U turn before you start, so that it matches the picture. Both turns are part of every PLL, and with practice you will see the last one coming before the algorithm ends.

How to make the hard ones easier
The G perms and the N perms give most people trouble. Split each algorithm into two or three chunks and learn one chunk a day. Say the moves out loud while your hands do them. And practice the recognition apart from the moves: scramble only the top layer, look at two sides and name the case before you turn anything.
If you are not sure which case you have, paint your cube in the solver and choose CFOP. It shows the PLL by name and plays it on a 3D cube.
Questions people ask
How many PLL algorithms are there?
21. Some are mirror images of each other, like Aa and Ab, so it feels like fewer once you start. With 2-look PLL you need only 6.
Should I learn OLL or PLL first?
PLL. It has fewer cases (21 against 57), and it saves more time per case. J Perm, for example, suggests full PLL at an average of about 45 seconds and full OLL at about 25.
What is the hardest PLL?
Most cubers name the G perms or the N perms. G perms are hard to recognize, and N perms are long. The E perm is tricky too, but it comes up only 1 in 36 solves.
How long does it take to learn full PLL?
At 2 new cases a few times a week, about one to two months. Knowing them well enough for fast solves takes longer, because recognition needs practice too.
How often do I skip PLL?
1 in 72 solves. Then the cube is solved after OLL, maybe with one turn of the top layer.
What does PLL stand for?
Permutation of the last layer. Permutation means order: the pieces are flipped the right way up already, they just sit in the wrong places.
Every algorithm on this page was checked with our own cube engine: it solves exactly the case in its picture. Moves are counted as single turns, a slice move like M counts as one.