ECO C38 · King's Gambit Accepted

King's Gambit Accepted: Hanstein Gambit

1. e4 e5 2. f4 exf4 3. Nf3 g5 4. Bc4 Bg7 5. O-O

abcdefgh87654321
Black to move. The arrow shows Stockfish’s best move.
Best move

5… d6−1.07

Black is clearly better. Stockfish 18, depth 18.

Analyze this position

In the King's Gambit Accepted: Hanstein Gambit (C38), reached after 1. e4 e5 2. f4 exf4 3. Nf3 g5 4. Bc4 Bg7 5. O-O, Stockfish 18 recommends 5… d6 for Black. Black is clearly better (−1.07).

Top engine moves

  1. −1.075… d6 6. d4 Nc6 7. Nc3 h6 8. h3 a6 9. a4 Nge7 10. Kh2
  2. −1.045… Nc6 6. c3 d6 7. d4 h6 8. Qa4 Bd7 9. Qb3 Na5 10. Bxf7+
  3. −0.985… h6 6. d4 d6 7. c3 Nf6 8. e5 dxe5 9. Nxe5 O-O 10. Qb3

Frequently asked questions

What is the best move in the King's Gambit Accepted: Hanstein Gambit?
After 1. e4 e5 2. f4 exf4 3. Nf3 g5 4. Bc4 Bg7 5. O-O, Stockfish 18 at depth 18 recommends 5… d6 for Black, continuing 6. d4 Nc6 7. Nc3 h6 8. h3 a6 9. a4 Nge7 10. Kh2. Black is clearly better (−1.07). The next best moves are 5… Nc6 (−1.04) and 5… h6 (−0.98).
Is the King's Gambit Accepted: Hanstein Gambit a good opening?
Stockfish rates the position at −1.07: Black is clearly better. That is a large edge for an opening position, so check the engine lines before playing it from the other side.
What is the ECO code of the King's Gambit Accepted: Hanstein Gambit?
C38. ECO codes classify chess openings from A00 to E99; C is the volume for open games and the French Defense.

Opening names from the Lichess opening book (CC0). Pieces by Colin M.L. Burnett (GPLv2+).