# How to match the yellow edges

URL: https://cubeyay.com/how-to-solve-a-3x3-cube/yellow-edges/

This is step 5 of 7 in the [beginner guide](https://cubeyay.com/how-to-solve-a-3x3-cube/).

## What is the goal of this step?

Match each yellow edge's side colour with the centre beside it.

- **Ask yourself:** Turn the top: how many edge side colours match their centres?
- **Hint:** With two matching, hold one matched edge at the back and the other at the right, then apply the algorithm and turn the top to line up.
- **Algorithm:** `R U R' U R U2 R'`
- **Built from:** `R U · R' · U R · U2 R'`

You have a yellow cross. Each arm of the cross also has a side colour. In this step you make those side colours match the centres.

## How do I check which yellow edges match?

Turn only the top and count how many edge side colours match the centre below them. Keep turning until at least two match. You can always find a position with two or four matches.

If all four match, you are finished. Skip ahead to the corners.

## How do I match the yellow edges?

Hold two matching edges at the back and right, do R U R' U R U2 R', then turn the top to line up.

1. Turn the top until two edges match their centres.
2. Check if the two matching edges are neighbours or opposite each other.
3. If they are neighbours, hold the cube so one is at the back and the other is at the right.
4. Do **R U R' U R U2 R'**.
5. Turn the top until the side colours match.
6. If the two matching edges were opposite, hold one of them at the back, do the pattern once, and start again from step 1.
7. Check all four sides.

## What does this algorithm do?

It keeps the front yellow edge where it is and moves the other three around, while your cross stays yellow on top. It also shuffles corners, which is fine. The corners come next.

## Why are my edges still wrong?

The most likely reason is the way the cube was held. The matching edges must be at the back and at the right before you start. Check, then run it again. Also check that you did **U2**, a half turn, near the end.

## How can I remember R U R' U R U2 R'?

Learn it in pieces: **R U**, then **R'** on its own, then **U R**, then **U2 R'**. Notice that the top always turns the same way, and the right side goes up, down, up, down. Say that rhythm as you turn.

## Why does the top need one more turn at the end?

The pattern puts the edges in the right order around the top. One extra top turn slides the whole ring round until each colour sits above its own centre.

## What mistakes are common here?

- Turning the whole cube during the pattern.
- Doing **U'** where a **U** is needed.
- Stopping before the last **R'**, which leaves the lower layers broken.

If the lower layers do get mixed up, go back to the [white corners](https://cubeyay.com/how-to-solve-a-3x3-cube/white-corners/) or the [middle layer](https://cubeyay.com/how-to-solve-a-3x3-cube/middle-layer-edges/) and rebuild. It gets quicker every time.

## Can you give me an example?

Say you turn the top and find that the blue and red edges match, but the other two do not. Blue and red are neighbours. Turn the whole cube so that one of those two sides is at the back and the other is on your right. Now run the pattern, turn the top, and check all four sides again. If everything matches, you are ready for the corners.

## What comes next?

Your yellow cross now matches on every side. Move the corners home in [position the yellow corners](https://cubeyay.com/how-to-solve-a-3x3-cube/position-yellow-corners/).
