Trap · played as Black

King's Gambit: Allgaier Trap

White's Allgaier knight sac 5.Ng5 h6 6.Nxf7 Kxf7 overreaches: against the popular 7.Qxg4 and 7.Bc4+ Black keeps the extra piece and soon wins. The sound 5.Ne5 only gives Black a comfortable, level game.

A position this opening is aiming for.

You play
Black
Variations covered
15
Branch points analysed
4
Club games studied
700k
After 6 moves
comfortably better for you
What it wins
Wins a piece

The main line

This is the line you will reach most often, and the one everything else branches away from. You are Black; every move here has been checked with an engine so that nothing in it drops material.

1.e4 e5 2.f4 exf4 3.Nf3 g5 4.h4 g4 5.Ng5 h6 6.Nxf7 Kxf7 7.Qxg4 Nf6 8.Qxf4 Bd6

The decisions you actually face

These are some of the positions where White has a genuine choice, and this is what White really chooses at club level. Every percentage below is measured from Lichess games rated 1600 to 2499, not from what a book says people ought to play. Of the 11 replies you will meet most often here, this repertoire answers 10.

1.e4 e5 2.f4 exf4 3.Nf3 g5 4.h4 g4

700k games · White to move

They playHow oftenThey scoreYou answer
Ne562%52%Nf6
Ng534%55%h6

1.e4 e5 2.f4 exf4 3.Nf3 g5 4.h4 g4 5.Ne5 Nf6

43k games · White to move

They playHow oftenThey scoreYou answer
Nxg442%39%Nc6
Bc434%45%d5
Nc311%41%d6
d49%45%d6

1.e4 e5 2.f4 exf4 3.Nf3 g5 4.h4 g4 5.Ng5 h6 6.Nxf7 Kxf7

117k games · White to move

They playHow oftenThey scoreYou answer
Qxg462%51%Nf6
Bc4+31%56%d5
d45%63%d5

1.e4 e5 2.f4 exf4 3.Nf3 g5 4.h4 g4 5.Ne5 Nf6 6.Bc4 d5

14k games · White to move

They playHow oftenThey scoreYou answer
exd595%45%Ne4
Bxd54%35%

Frequencies and scores from the Lichess opening explorer, 2026-09-14. An empty cell means this repertoire does not prepare that move, usually because it is rare enough to work out over the board.

The mistake to watch for

One move in this opening is both popular and bad, which is the combination worth knowing. After 1.e4 e5 2.f4 exf4 3.Nf3 g5 4.h4 g4 5.Ne5 Nf6, White plays Nc3 in 11% of club games, and it costs 1.6 pawns against best play. The best reply is d4.

The position before the mistake. White to move.

How you punish it

Nc3 d6

Verified with Stockfish at depth 26. That matters more than it sounds: a shallow search will call all sorts of normal moves refutations, and this one was re-checked deeper before it was written down.

Can you actually reach it?

Not from any repertoire in this library. That is worth saying plainly, because most trap collections never check. Springing it needs every Black move in 1.e4 e5 2.f4 exf4 3.Nf3 g5 4.h4 to be a move your book already prepares, and none of the Black repertoires here carry prepared moves that far down this particular line. Often the opening is the same and the split comes later, when your opponent plays something your repertoire answers a different way. It is still worth knowing from the other side of the board: this is a position where the natural move loses.

How the trap springs

1.e4 e5 2.f4 exf4 3.Nf3 g5 4.h4 g4 5.Ng5 h6 6.Nxf7 Kxf7 7.Qxg4 Nf6 8.Qxf4 Bd6 9.e5 Bxe5

Traps are only worth knowing if somebody actually falls into them, so this one was found by cross-referencing what club players really play against what an engine says it costs, rather than by picking a pretty line out of a book. White has to go wrong in a way White genuinely does go wrong.

Some of the variations

…and 9 more in the trainer.

Train it

ChessReflex drills the branch points where a line splits rather than making you replay it move by move. Free, and no account needed to start.

Open King's Gambit: Allgaier Trap