En passant in chess: the rule explained

En passant (French for “in passing”) is a special pawn capture. When a pawn moves two squares from its starting square and lands right beside an enemy pawn, that enemy pawn may capture it as if it had moved only one square. The capture is allowed only on the very next move.

VueChess team · updated December 2, 2026

How en passant works

Say your pawn has reached e5 and your opponent plays d7-d5. The black pawn has skipped over d6, a square your pawn attacks. En passant lets you treat the move as if it had stopped on d6: your pawn captures by going to d6, and the pawn on d5 is removed from the board.

It's the only capture in chess where your piece doesn't land on the square of the piece it takes. That's why it surprises so many people the first time they see it.

Black plays d7-d5 and passes over d6, a square the e5 pawn attacks.

The rules for en passant

Only a pawn can capture en passant, and only a pawn can be captured this way.

The capturing pawn has to stand on its fifth rank. For a white pawn that's the fifth rank, for a black pawn the fourth.

The enemy pawn has just moved two squares from its starting square and now stands directly beside your pawn on the same rank.

You capture right away, with your next move. Make any other move and the chance is gone for good.

White takes en passant: the pawn goes to d6 and the black pawn on d5 leaves the board.

Only on the very next move

This is the part that catches people out. If you don't capture at once, you can't come back to it a move later, even if the two pawns are still standing side by side. Every two-square pawn move gives one chance, and it lasts exactly one move.

A pawn that arrived in two single steps can't be taken en passant. If Black had played d7-d6 and later d6-d5, the e5 pawn would have no capture. Only the double step straight from the starting square counts.

En passant for Black

The rule works the same way for Black. A black pawn on the fourth rank can take a white pawn that has just made its two-square move and landed beside it.

In the example below Black pushed the d-pawn to d4 early. When White plays c2-c4, Black can answer by capturing on c3, and the white pawn on c4 disappears.

After 1.Nf3 d5 2.g3 d4 3.c4, Black can take en passant with the d4 pawn, landing on c3.

Is en passant mandatory?

No. Like any capture in chess, it's optional. You only have to play it when it happens to be your one legal move, which is very rare.

Whether it's a good idea is a separate question. The capture changes the pawn structure and can open a file, and sometimes keeping the pawns locked is better. Like any move, en passant is also illegal if it would leave your own king in check. That can happen when both pawns leave the same rank at once and open a line from an enemy rook or queen to your king.

Why the en passant rule exists

En passant is tied to the pawn's two-square first move. Pawns once moved only one square at a time. When the double step was introduced to speed up the opening, the en passant rule was added so that a pawn couldn't use the double step to slip past an enemy pawn without facing the capture it would have faced after a single step.

How to play and write en passant

On VueChess, move your pawn diagonally onto the empty square behind the enemy pawn. If “Show legal moves” is on in Board & play settings, that square is highlighted like any other possible move. From the keyboard, type the capture in the usual way, for example exd6.

Write the landing square just as you would for an ordinary pawn capture: exd6. You may see “e.p.” after the move. See chess notation, how the pawn moves and pawn promotion for other examples. Try 1. e4 a6 2. e5 d5 3. exd6 on the analysis board. Then play the computer on level 1 and watch for the chance in a real game.

Questions

Is en passant mandatory in chess?

No, it's optional like any capture. You have to play it only if it's your one legal move.

Can you capture en passant later?

No. It has to be your very next move after the enemy pawn's double step. After that the right is gone.

Can other pieces capture en passant?

No. Only a pawn can capture en passant, and only a pawn that has just moved two squares can be captured.

Can en passant get you out of check?

Yes, if the pawn that just made the double step is the one giving check. Taking it en passant removes the check.

Can you checkmate with en passant?

Yes. It's rare, but an en passant capture can deliver mate like any other move.