4x4 parity algorithms: OLL and PLL
Updated 2026-12-01 · by the Magic Cube team
Parity is a position on the 4x4 that can’t happen on a 3x3, so no 3x3 algorithm fixes it. OLL parity is one or three flipped edges on top. PLL parity is just two pieces swapped. If you are holding the cube right now, here is what you need:
| What you see | Algorithm |
|---|---|
| OLL parity: 1 or 3 top edges flipped | 2R2 B2 U2 2L U2 2R' U2 2R U2 F2 2R F2 2L' B2 2R2 |
| PLL parity: only 2 edges or 2 corners swapped | 2R2 U2 2R2 Uw2 2R2 Uw2 |
2R turns only the second layer from the right, which many sheets write as r. Uw turns the two top layers together. The notation guide has the rest.
OLL parity
Count the top edges that do not have yellow facing up. A pair counts as one edge.
- 0, 2 or 4: no parity, do OLL as usual.
- 1 or 3: OLL parity.

Hold a flipped edge at the front and do:
2R2 B2 U2 2L U2 2R' U2 2R U2 F2 2R F2 2L' B2 2R2
It flips that one edge and leaves everything else alone. If you started with three flipped edges you now have two, and the rest is a normal 3x3 OLL.
The faster version
Most regular 4x4 solvers use this one. Apart from U2 it is all wide turns on the right and left:
Rw U2 x·Rw U2 Rw U2 Rw' U2 Lw U2·Rw' U2 Rw U2 Rw' U2 Rw'
It flips the front edge too, but shuffles a few other pieces in the top layer, so do it as soon as you spot the parity and before you solve the corners. The x turns the whole cube in the direction of R.
PLL parity
The top is all yellow and exactly two pieces have traded places: that is PLL parity. There is one algorithm for all of it:
2R2 U2 2R2 Uw2 2R2 Uw2
Turn only the second layer (2R2). If you take both right layers (Rw2), the centers break.
Two opposite edges
Hold them at the front and back, do the algorithm, then U2. Done.

Adjacent edges, adjacent corners, diagonal corners
Do the parity algorithm first. What is left is an ordinary 3x3 PLL:

| Swapped | How to hold it | What remains |
|---|---|---|
| Two adjacent edges | any side in front | a U perm |
| Two adjacent corners | both corners in front | a T perm |
| Two diagonal corners | any side in front | an N perm |
Can’t place what you’re looking at? Do the parity algorithm once from any side, line the top layer up again and solve the PLL that appears.
Why a 4x4 gets parity
Every edge of a 4x4 is made of two pieces, and the four center pieces of a face look the same. While you build centers and pair edges there is no way to see whether you have used an odd or even number of inner-layer turns. If it was odd, an edge looks flipped at the end. PLL parity is similar: two whole edge pairs can swap on a 4x4, which two single edges on a 3x3 can’t.
So parity is not a mistake of yours. Each kind turns up in about half of all solves, and roughly three solves in four have at least one. When you get both, fix OLL parity first.
Does the 5x5 have it?
No OLL or PLL parity there, because a 5x5 has fixed centers and a middle piece in every edge. It only has an edge parity on the last edge you pair, solved with the first OLL parity algorithm on this page. See how to solve a 5x5.
If the steps before this are still shaky, go back to how to solve a 4x4.