# En passant

In chess, en passant (French:, lit. "in passing") describes the capture by a pawn of an enemy pawn on the same rank and an adjacent file that has just made an initial two-square advance. This is a special case in the rules of chess. The capturing pawn moves to the square that the enemy pawn passed over, as if the enemy pawn had advanced only one square. The rule ensures that a pawn cannot use its two-square move to safely skip past an enemy pawn.
Capturing en passant is permitted only on the turn immediately after the two-square advance; it cannot be done on a later turn. The capturing move is sometimes notated by appending the abbreviation e.p.

## Rules

The conditions for a pawn to capture an enemy pawn en passant are as follows:
* the enemy pawn advanced two squares on the previous turn;
* the capturing pawn attacks the square that the enemy pawn passed over.
If these conditions are met, the capturing pawn can move diagonally forward to the square that the enemy pawn passed, capturing the enemy pawn as if it had moved only one square. If the right to capture en passant is not exercised immediately, it is lost. Making the capture is optional, unless there is no other legal move.
Black to move
abcdefgh8877665544332211abcdefgh The black pawn is on its initial square. If it moves to f6 (marked by ×), the white pawn can capture it.
White to move
abcdefgh8877665544332211abcdefgh Black moves their pawn forward two squares in a single move from f7 to f5, "passing" f6.
Black to move
abcdefgh8877665544332211abcdefgh White captures the black pawn en passant, as if it had moved only one square to f6. :
Only pawns may capture or be captured en passant. The en passant capture is the only capturing move in chess where the capturing piece moves to a square not occupied by the captured piece.$^{:463}$
Because many casual players are unfamiliar with or misunderstand the en passant rule, administrators on internet chess sites frequently receive erroneous complaints of bugs, cheating or hacking.

## Notation

In algebraic notation, an en passant capture is notated using the capturing pawn's destination square. In both algebraic and descriptive notation, the move may optionally be denoted by appending "e.p." or similar. For example, in algebraic notation, bxa3 or bxa3 e.p. may be used to represent a black pawn on b4 capturing a white pawn on a4 en passant.$^{:216}$

## Examples

| | a | b | c | d | e | f | g | h | |
| 8 | | | | | | | | | 8 |
| 7 | | | | | | | | | 7 |
| 6 | | | | | | | | | 6 |
| 5 | | | | | | | | | 5 |
| 4 | | | | | | | | | 4 |
| 3 | | | | | | | | | 3 |
| 2 | | | | | | | | | 2 |
| 1 | | | | | | | | | 1 |
| | a | b | c | d | e | f | g | h | |
Some chess openings feature the en passant capture. In the following line from Petrov's Defence, White captures the pawn on d5 en passant on move 6:
    1. e4 e5
    2. Nf3 Nf6
    3. d4 exd4
    4. e5 Ne4
    5. Qxd4 d5 (see diagram)
    6. exd6 e.p.$^{:124–125}$
| | a | b | c | d | e | f | g | h | |
| 8 | | | | | | | | | 8 |
| 7 | | | | | | | | | 7 |
| 6 | | | | | | | | | 6 |
| 5 | | | | | | | | | 5 |
| 4 | | | | | | | | | 4 |
| 3 | | | | | | | | | 3 |
| 2 | | | | | | | | | 2 |
| 1 | | | | | | | | | 1 |
| | a | b | c | d | e | f | g | h | |
An en passant capture can occur as early as move 3. For example, in the French Defence after 1.e4 e6 2.e5 d5, White can play 3.exd6 e.p. (diagram). This has occurred in play, for example in the game Steinitz–Fleissig, Vienna 1882.
| | a | b | c | d | e | f | g | h | |
| 8 | | | | | | | | | 8 |
| 7 | | | | | | | | | 7 |
| 6 | | | | | | | | | 6 |
| 5 | | | | | | | | | 5 |
| 4 | | | | | | | | | 4 |
| 3 | | | | | | | | | 3 |
| 2 | | | | | | | | | 2 |
| 1 | | | | | | | | | 1 |
| | a | b | c | d | e | f | g | h | |
In the diagram, the move 1...g5+ may seem to checkmate White, but it is in fact a blunder: White can counter this check with the en passant capture 2.fxg6 e.p.#, which cross-checks and checkmates Black. (Black can draw in the diagrammed position by playing 1...Qxf2+.)
abcdefgh8877665544332211abcdefgh Position after 12...f7-f5
abcdefgh8877665544332211abcdefgh After 14...g7-g5, White mates by capturing the pawn en passant. :
In a game between Gunnar Gundersen and Albert H. Faul, Black played 12...f7-f5. White could have captured the black f-pawn en passant with his e-pawn, but he instead played:
    13. h5+ Kh6 14. Nxe6+
The bishop on c1 effects a discovered check. 14...Kh7 results in 15.Qxg7#.
    14... g5 15. hxg6 e.p.#
The en passant capture places Black in double check and checkmate (in fact, White's bishop is not necessary for the mate). An en passant capture is the only way a double check can be delivered without one of the checking pieces moving, as in this case.
The largest known number of en passant captures in one game is three. This record is shared by three games; in none of them were all three captures by the same player. The earliest known example is a 1980 game between Alexandru Segal and Karl-Heinz Podzielny.$^{:98–99}$

## History

In early versions of chess, the pawn could not advance two squares on its first move. The two-square advance was introduced later, between the 13th and 16th centuries, to speed up games. The en passant capture may have been introduced at that time, or it may have come later; references to en passant captures appear in the books by the 16th-century Spanish chess master Ruy López de Segura.
The en passant capture was one of the last major additions to European chess.$^{:16}$ In some parts of Europe, particularly in Italy, there was no such rule; this was known as passar battaglia. In 1880, Italy adopted the rules used by the rest of the world, including the en passant capture, in preparation for the 1881 Milan tournament.$^{:124–125}$

## Draw by repetition and stalemate

In the context of threefold and fivefold repetition, two positions are considered different if the opportunity to perform a given en passant capture exists in one position but not the other.$^{:27}$
When a player is not in check, and capturing en passant is their only legal move, they are forbidden to "claim" a draw by stalemate; they must either perform the move or end the game on their turn via normal means. In his book on chess organization and rules, International Arbiter Kenneth Harkness wrote that people frequently asked if this is the case.$^{:49}$ Chess players debated this point in the 19th century, with some arguing that the right to capture en passant is a "privilege" that one cannot be compelled to exercise. In his 1860 book Chess Praxis, Howard Staunton wrote that the en passant capture is mandatory in such a position; the rules of chess were amended to make this clear.$^{:49}$

## Chess problems

The en passant capture is often used as a theme in chess problems. According to Kenneth S. Howard, "En passant pawn captures frequently produce striking effects in the opening and closing of lines, both for white and black."$^{:106}$ By retrograde analysis convention, a pawn may be captured en passant only if it can be proven to have advanced two squares on the previous move.
| | a | b | c | d | e | f | g | h | |
| 8 | | | | | | | | | 8 |
| 7 | | | | | | | | | 7 |
| 6 | | | | | | | | | 6 |
| 5 | | | | | | | | | 5 |
| 4 | | | | | | | | | 4 |
| 3 | | | | | | | | | 3 |
| 2 | | | | | | | | | 2 |
| 1 | | | | | | | | | 1 |
| | a | b | c | d | e | f | g | h | |
In the diagrammed 1938 composition by Howard, the key
    1. d4!
introduces the threat 2.d5+ cxd5 3.Bxd5#. Black can capture the d4-pawn en passant in either of two ways:
    1... exd3 e.p.
shifting the e4-pawn from the e- to the d-file, preventing an en passant capture after White plays 2.f4. To stop the threat of 3.f5#, Black can advance 2...f5, but this allows White to play 3.exf6 e.p.# due to the decisive opening of the e-file.
Or Black can play
    1... cxd3 e.p.
and now White exploits the newly opened a2–g8 diagonal with 2.Qa2+ d5 3.cxd6 e.p.#.
| | a | b | c | d | e | f | g | h | |
| 8 | | | | | | | | | 8 |
| 7 | | | | | | | | | 7 |
| 6 | | | | | | | | | 6 |
| 5 | | | | | | | | | 5 |
| 4 | | | | | | | | | 4 |
| 3 | | | | | | | | | 3 |
| 2 | | | | | | | | | 2 |
| 1 | | | | | | | | | 1 |
| | a | b | c | d | e | f | g | h | |
The diagrammed composition by Sommerfeldt shows the effect of pins on en passant captures.
The key
    1. d4!
threatens 2.Qf2#. The moves of the black e-pawn are restricted in an unusual manner. The en passant capture 1...exd3 e.p.+ is illegal (it exposes Black’s king to check), but
    1... e3+
is legal. This, however, removes the black king's access to e3, allowing
    2. d5#