Elephant Trap: How It Works and How to Beat It

TL;DR Documented in master play for more than 120 years, the Elephant Trap is a trap Black sets against unwary White players. White is tempted to snatch the d5-pawn with the knight, seemingly winning material against the pinned f6-knight. But the pin is an illusion: after ...Nxd5, the in-between check ...Bb4+ wins White's bishop back with a whole piece to spare. This guide plays through the full 18-move line, marks the exact move where it springs, and hands the defender a clean refutation. Deadly as a blitz surprise — but against anyone who knows the answer below, it fizzles.
Disclosure: this guide was written by the team behind Chess DNA, the free AI chess-analysis app you'll see recommended below. About us

By Yuval Incze · Published Jul 5, 2026 · Updated Jul 5, 2026 · ~4 min read

The Elephant Trap is one of the most famous opening traps in chess. White is tempted to snatch the d5-pawn with the knight, seemingly winning material against the pinned f6-knight. But the pin is an illusion: after ...Nxd5, the in-between check ...Bb4+ wins White's bishop back with a whole piece to spare. Here is the whole line, the exact moment it springs, and the refutation — from both sides of the board.

What the Elephant Trap is

First seen in master play more than 120 years ago, the Elephant Trap still scores at club level for one reason: it punishes a natural-looking move. In the Queen's Gambit Declined, if White grabs the d5-pawn with 6.Nxd5, Black wins a piece with 6...Nxd5! 7.Bxd8 Bb4+, forking king and bishop. Not to be confused with the Elephant Gambit (1.e4 e5 2.Nf3 d5).

Black is the side setting the trap. The plan in one line: White is tempted to snatch the d5-pawn with the knight, seemingly winning material against the pinned f6-knight. But the pin is an illusion: after ...Nxd5, the in-between check ...Bb4+ wins White's bishop back with a whole piece to spare.

How to see it coming

The trap announces itself early. The tell-tale sequence is 1.d4 d5 2.c4 e6 3.Nc3 Nf6 4.Bg5 Nbd7 5.cxd5 exd5 6.Nxd5 — after which the position below appears. It is Black to move, and the trap is loaded. If you are the defender, this is the moment to slow down and calculate rather than reply on autopilot.

♜︎♝︎♛︎♚︎♝︎♜︎♟︎♟︎♟︎♞︎♟︎♟︎♟︎♞︎♞︎♝︎♟︎♟︎♟︎♟︎♟︎♟︎♟︎♜︎♛︎♚︎♝︎♞︎♜︎abcdefgh87654321

The trap, move by move

Here is the full main line — 18 moves from the starting position to the finish. The critical moment is 6… Nxd5: The trap! Black takes anyway, ignoring the pin.

1.d4 d5 2.c4 e6 3.Nc3 Nf6 4.Bg5 Nbd7 5.cxd5 exd5 6.Nxd5 Nxd5 7.Bxd8 Bb4+ 8.Qd2 Bxd2+ 9.Kxd2 Kxd8
MoveWhat's happening
1. d4White opens with the queen-pawn.
1… d5Black meets it symmetrically.
2. c4The Queen’s Gambit — pressuring d5.
2… e6Black supports d5 and frees the bishop.
3. Nc3White develops and adds a hit on d5.
3… Nf6Black develops and re-defends d5.
4. Bg5The Orthodox pin on the f6-knight.
4… Nbd7Black baits the trap — d5 now looks doubly loose.
5. cxd5White opens the file before grabbing.
5… exd5Black recaptures, keeping the pawn on d5.
6. Nxd5The greedy grab — White wins a pawn off the “pinned” knight.
6… Nxd5The trap! Black takes anyway, ignoring the pin.
7. Bxd8White snatches the queen, thinking he’s up material…
7… Bb4+…but this check forks the king and the d2-square.
8. Qd2White blocks the check (Nd2 also loses the bishop).
8… Bxd2+Black trades queens off with check.
9. Kxd2Forced recapture.
9… Kxd8Black scoops the bishop on d8 — a clean piece up.

And the position at the end — Black scoops the bishop on d8 — a clean piece up.

♜︎♝︎♚︎♜︎♟︎♟︎♟︎♞︎♟︎♟︎♟︎♞︎♟︎♟︎♟︎♚︎♟︎♟︎♟︎♟︎♜︎♝︎♞︎♜︎abcdefgh87654321

How to spring it (as Black)

Set it by developing naturally to move 8 (…Nbd7) and let White think d5 is free. If 6.Nxd5?? appears, fire 6...Nxd5! and after 7.Bxd8 the zwischenzug 7...Bb4+ wins the bishop back. You emerge a full piece up — the point is the intermezzo check, not the recapture.

How to defend against it (as White)

As White, simply don't take the d5-pawn with the knight — it isn't really hanging, because the f6-knight is only pinned to your own bishop, not the king. Play the solid 6.e3 (or 6.cxd5) and develop. The whole trick evaporates the moment you refuse the free pawn. The habit that beats every trap on this page is the same: when a move looks like a free pawn or a free piece, stop and ask why your opponent allowed it before you take. For a systematic way to build that habit, see why you keep blundering in chess.

Is the Elephant Trap actually sound?

Be honest with yourself about what this is: the Elephant Trap is a trap first and an opening second. Against precise defence it does not win by force — it wins because the opponent does not know the one correct reply. That makes it a superb blitz and bullet weapon and a poor choice against a prepared opponent, who simply plays the refutation and emerges better. Learn it to spring it when the clock is short, and to never fall for it when it is aimed at you. If you want lines you can trust in longer games, start with a sound repertoire from the chess openings library instead.

Either way, the practical value is real. Traps like this are how club games are decided far more often than deep theory — a single unfamiliar move, an instinctive reply, and the game is effectively over. Knowing the line from both sides is worth more rating than memorising another ten moves of a mainline you rarely reach. If you want to build a repertoire that avoids nasty surprises, read how to build a chess opening repertoire.

See if this trap is costing you games

Do you keep walking into the same opening tricks — or missing the chance to punish them? Chess DNA analyses your real Chess.com and Lichess games, spots the exact openings and tactical patterns where you lose rating, and shows you the fixes. It is free, and it takes about a minute to connect your games and find your weaknesses. Then keep browsing the openings library to shore up the lines you play most.

Frequently Asked Questions

What is the Elephant Trap in chess?

In the Queen's Gambit Declined, if White grabs the d5-pawn with 6.Nxd5, Black wins a piece with 6...Nxd5! 7.Bxd8 Bb4+, forking king and bishop. Not to be confused with the Elephant Gambit (1.e4 e5 2.Nf3 d5). The trap runs 1.d4 d5 2.c4 e6 3.Nc3 Nf6 4.Bg5 Nbd7 5.cxd5 exd5 6.Nxd5 Nxd5 7.Bxd8 Bb4+ 8.Qd2 Bxd2+ 9.Kxd2 Kxd8. It is a trap Black sets against unwary White players — dangerous in fast time controls, but it has a clean answer, so a prepared opponent is never obliged to fall for it.

Is the Elephant Trap a good opening?

As a serious weapon, no — the Elephant Trap is objectively dubious against accurate defence, which is why you rarely see it in top-level classical chess. As a practical surprise weapon in blitz and bullet, it is excellent: most opponents do not know the refutation and react naturally, which is exactly what the trap punishes.

How do you beat the Elephant Trap?

As White, simply don't take the d5-pawn with the knight — it isn't really hanging, because the f6-knight is only pinned to your own bishop, not the king. The general rule: when a move looks like a free pawn or piece, stop and work out why it was allowed before you grab it. The specific refutation is shown move by move above.

What happens if you fall for the Elephant Trap?

The line ends with 9… Kxd8 — Black scoops the bishop on d8 — a clean piece up. By then White is usually lost or has dropped decisive material, which is why the trap is worth knowing from both sides.

Does the Elephant Trap work against stronger players?

Rarely. Stronger and well-prepared players recognise the pattern and play the refutation, after which the trap-setter is often worse for having invested moves in a one-shot idea. Treat it as a blitz surprise and a defensive lesson, not as a mainline you rely on against serious opposition.

Find the traps in your games — free →

Related guides

About the author

Yuval Incze is the founder of Chess DNA and a long-time competitive chess player. He built Chess DNA to automate the diagnostic loop — game analysis, pattern detection, weakness ranking — so players study the specific things costing them rating instead of generic advice.