Rules and notation
The one-turn en passant window
En passant is available only on the very next move after a neighboring enemy pawn advances two squares from its starting position. Capture as if it had advanced only one square.
Worked example
Position in text
Black to move. White: pawn e5, king a1. Black: king h8, pawn d7.
FEN: 7k/3p4/8/4P3/8/8/8/K7 b - - 0 1
Position in text
White to move. White: pawn e5, king a1. Black: king h8, pawn d5.
FEN: 7k/8/8/3pP3/8/8/8/K7 w - d6 0 2
Black advances d7–d5, passing through d6 and stopping beside White’s e5-pawn. White may play exd6, landing on d6 and removing the pawn from d5. If White plays Kb1 and Black replies Kg8, exd6 is no longer available.
A plausible mistake
Do not move your pawn sideways onto the captured pawn’s square, and do not save the capture for later. The destination is the square the double push passed through.
Try it yourself
Position in text
White to move. White: pawn g2, king a1. Black: king h8, pawn h4.
FEN: 7k/8/8/8/7p/8/6P1/K7 w - - 0 1
White plays g2–g4. Can Black capture with the pawn on h4? Give the destination and name the square from which the white pawn is removed.
Check your answer
Yes. Black can play hxg3 immediately, landing on g3 and removing the pawn from g4. Notice that “forward” for Black means toward rank 1.