ChessAnalyzer SupportOpen the analyzer

King's Gambit: moves, ideas and plans

The romantic opening: White gives the f-pawn for rapid development and an attack on f7.

C39Play it as WhiteAdvanced8 moves

Main line

1.e4 e5 2.f4 exf4 3.Nf3 g5 4.h4 g4 5.Ne5 Nf6 6.d4 d6 7.Nd3 Nxe4 8.Bxf4

By the ChessAnalyzer team at Qyvera Labs · Updated 2026-11-10 · Lines checked with Stockfish 19

Key ideas

Background

The King's Gambit (1.e4 e5 2.f4) dominated chess in the Romantic era of the 19th century. It is the archetype of an attacking opening: White sacrifices a pawn to open the f-file and attack f7. Modern engines consider it slightly dubious, but at club level it remains a dangerous weapon.

a1b2c3d4e5f6g7h8
After 2… exf4
a1b2c3d4e5f6g7h8
After 4… g4
a1b2c3d4e5f6g7h8
After 8. Bxf4

The King's Gambit move by move

Every move of the main line, with the reason it is played. The final position is recognised in the opening database as C39 King's Gambit Accepted: Kieseritzky Gambit, Berlin Defense, Rubinstein Variation.

  1. 1. e4Centre.
  2. 1… e5Symmetrical.
  3. 2. f4The King's Gambit: a pawn is offered to open the f-file.
  4. 2… exf4Accepted: Black takes the pawn.
  5. 3. Nf3Develops and stops ...Qh4+.
  6. 3… g5Black defends the extra pawn on f4.
  7. 4. h4White undermines the g5 pawn at once.
  8. 4… g4The pawn advances with an attack on the f3 knight.
  9. 5. Ne5The Kieseritzky Gambit: the knight jumps to a strong central square.
  10. 5… Nf6Develops and hits e4.
  11. 6. d4White grabs the centre and opens the c1 bishop's path to f4.
  12. 6… d6Kicks the e5 knight.
  13. 7. Nd3The knight retreats and eyes f4.
  14. 7… Nxe4Black grabs the e4 pawn too.
  15. 8. Bxf4White regains a pawn with rapid development: typical King's Gambit play.

Plans for White

White aims to regain the f4 pawn later while developing quickly with Nf3, Bc4 and d4, and to use the open f-file against the black king after castling short. In many lines White plays Nc3 and Bxf4 to get the pawn back with a strong centre.

Plans for Black

Black can accept the gambit and defend the extra pawn with …g5, or return it with …d5 to free the position. Declining with …Bc5 is also solid. Black's best results come from counter-attacking quickly rather than trying to hold everything.

Typical mistakes and traps

Black's classic mistake is holding the f4 pawn with …g5 and …h5 while leaving the king stuck in the centre. White frequently forgets about the …Qh4+ check, which can be devastating when the king is exposed.

Test yourself

The position below comes from the main line. Play White's next 3 moves on the board — the opponent's replies are played for you. Try it without looking at the move list above.

a1b2c3d4e5f6g7h8
White to move
Show the answer

3. Nf3 g5 4. h4 g4 5. Ne5

Practise the full King's Gambit course in the analyzer, then check your own games in it with Stockfish 19.

More openings for White

Support ChessAnalyzer. The site is free. If it helps your chess, a coffee helps me keep working on it.

Buy me a coffee