ChessNextMove.ai
CalculatorAnalysisPuzzlesLeaderboardPricing
Try Pro
  1. Home
  2. /
  3. Chess Openings
  4. /
  5. King's Gambit
ECO C30Opening for WhiteIntermediate

King's Gambit

1.e4 e5 2.f4

The King's Gambit starts 1.e4 e5 2.f4. White offers the f-pawn to deflect Black's e-pawn, then plans d4 to take the whole centre and use the open f-file for a rook after castling.

Black can accept with 2...exf4, the King's Gambit Accepted, or decline with moves such as 2...Bc5 or 2...d5, the Falkbeer Countergambit. After 2...exf4, White's 3.Nf3 stops ...Qh4+ and prepares d4, and Black often defends the extra pawn with ...g5.

It was the main opening of 19th-century attacking chess. Engines rate it as less good for White than the main 1.e4 e5 openings, but it remains a dangerous practical weapon, especially at faster time controls.

8
7
6
5
4
3
2
1
a
b
c
d
e
f
g
h
Start
Starting position
Start
1. e4
e5
2. f4
exf4
3. Nf3
g5
4. h4
g4
5. Ne5
Nf6
6. d4
d6
7. Nd3
Nxe4
8. Bxf4

Step through the main line with Next and Prev, or click any move. Flip the board to see it from Black's side.

King's Gambit at a glance

ECO code
C30
Played by
White
Level
Intermediate
Style
Romantic, attacking

Who should play it

It leads to open, tactical games from move two. White gets fast development, the f-file and attacking chances, while Black must defend accurately even with an extra pawn.

King's Gambit main line, move by move

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

  1. 1.e4White takes the centre.
  2. 1...e5Black meets e4 with the symmetrical reply.
  3. 2.f4Offers a pawn to lure the e5 pawn away and open the f-file.
  4. 2...exf4Black takes the pawn. The f4 pawn also controls e3 and g3, which slows White's development.
  5. 3.Nf3Develops and covers h4, so the black queen cannot check there.
  6. 3...g5Defends f4 with the g-pawn. The cost is a loosened kingside.
  7. 4.h4Challenges the g5 pawn at once, before Black can support it with ...h6 and ...Bg7.
  8. 4...g4The pawn hits the f3 knight.
  9. 5.Ne5The knight jumps to a strong central square, eyeing g4 and f7.
  10. 5...Nf6Develops and attacks e4.
  11. 6.d4White builds a big centre and opens the c1 bishop toward f4.
  12. 6...d6Black drives the e5 knight away.
  13. 7.Nd3The knight retreats to a square where it attacks f4.
  14. 7...Nxe4Black grabs e4 and puts the knight in the centre.
  15. 8.Bxf4White wins one pawn back. Black is still a pawn up, but the king has no safe home and White's pieces are active.

New to the notation? Learn how to read chess notation in five minutes.

Key ideas in the King's Gambit

Plans for White

  • Open the f-file and put a rook on f1 after castling.
  • Take the centre with d4 and use the lead in development.
  • Attack f7 with Bc4, Ne5 and the rook on the f-file.
  • Undermine Black's ...g5 chain with h4.

Plans for Black

  • Accept and hold the pawn with ...g5, or return it with ...d5 for easy development.
  • Use the check ...Qh4+ whenever White's knight is not on f3.
  • Counter-attack the centre with ...d5, or with ...d6 and ...Nf6.
  • Keep the king safe; the extra pawn means little if the f-file opens against f7.

Typical plans and pawn structures

After 2...exf4 White has the central pawns (e4, soon d4) and a half-open f-file, while Black has an extra pawn on f4 that cramps White's dark-squared bishop. The opening is a fight over that pawn: if White wins it back with a good position, White stands well; if Black keeps it and survives, Black stands better.

When Black supports f4 with ...g5, the kingside pawns become a target for h4. In the Muzio and Allgaier gambits White even gives a whole piece to break the chain.

In the declined lines the play is calmer. After 2...Bc5 the bishop covers g1, so White cannot castle kingside until it is blocked or traded. White usually plays Nf3, c3 and d4.

Main variations of the King's Gambit

Fischer Defense (3...d6)

1.e4 e5 2.f4 exf4 3.Nf3 d6 4.d4 g5 5.h4 g4 6.Ng1

Black plays ...d6 first, so the e5 square is covered before ...g5 and the knight cannot jump there. After 6.Ng1 the knight goes home, and White plans to win f4 back with Bxf4 or Ne2. Bobby Fischer published the line in 1961 in an article titled 'A Bust to the King's Gambit'.

Muzio Gambit (5.O-O)

1.e4 e5 2.f4 exf4 3.Nf3 g5 4.Bc4 g4 5.O-O gxf3 6.Qxf3

After 3...g5 4.Bc4 g4, White leaves the f3 knight to be taken and castles. After 5...gxf3 6.Qxf3 White has a huge lead in development and pressure on f7 for a whole piece. It is objectively risky, but very dangerous over the board.

Falkbeer Countergambit (2...d5)

1.e4 e5 2.f4 d5 3.exd5 e4

Black declines with a counter-gambit. After 3.exd5 e4, the e4 pawn cramps White's development. Modern players more often decline with 2...Bc5 instead.

Classical Defense (2...Bc5)

1.e4 e5 2.f4 Bc5 3.Nf3 d6 4.c3

Black declines and puts the bishop on c5, where it stops White from castling kingside. White usually continues 3.Nf3 d6 4.c3, preparing d4.

King's Gambit traps to know

Final position

The ...Qh4+ queen trap (King's Gambit Declined)

1.e4 e5 2.f4 Bc5 3.fxe5 Qh4+ 4.g3 Qxe4+ 5.Qe2 Qxh1

After 2...Bc5, the natural-looking 3.fxe5?? is a blunder. 3...Qh4+ forces 4.g3, and 4...Qxe4+ checks the king while attacking the h1 rook, which falls next move. 4.Ke2 is even worse: 4...Qxe4 is checkmate.

Famous players and games

The King's Gambit dominated chess in the 19th century. The Immortal Game, Adolf Anderssen's famous win against Lionel Kieseritzky in London in 1851, began with it, and Paul Morphy won many brilliant games with it.

Its reputation fell in the 20th century as defensive technique improved. In 1960 Boris Spassky beat Bobby Fischer with it at Mar del Plata, and Fischer answered with his 1961 article recommending 3...d6. Today it appears mostly in rapid and blitz, though top players still use it occasionally as a surprise.

Analyse the King's Gambit on the board

Copy the position at the end of the main line, open the chess move calculator, paste it into the “Paste FEN” box under the board and press the FEN button next to it. Stockfish 19 then suggests a move for the side to play, at the strength set on the calculator's slider, and you can play on from there to test your own ideas.

FEN after 8.Bxf4
rnbqkb1r/ppp2p1p/3p4/8/3PnBpP/3N4/PPP3P1/RN1QKB1R b KQkq - 0 8
Main line PGN
1. e4 e5 2. f4 exf4 3. Nf3 g5 4. h4 g4 5. Ne5 Nf6 6. d4 d6 7. Nd3 Nxe4 8. Bxf4

For a move-by-move review of a whole game you played with this opening, use the chess analysis board.

Practise the King's Gambit

Knowing the moves is not the same as playing them under pressure. Play chess against the computer with the white pieces and steer the game toward the King's Gambit from move one, then sharpen the tactics that come out of it with chess puzzles.

Play vs computer Chess calculator Solve puzzles

Go deeper: Checkmate patterns to know · Castling rules and timing

King's Gambit FAQ

Is the King's Gambit sound?

Not quite, by modern engine standards: Black can reach a good position with accurate play. But the margins are small and the positions are hard to defend over the board, so it is a perfectly good practical choice below master level.

Should Black accept the King's Gambit?

Accepting with 2...exf4 is the most testing reply. Players who do not want to learn the sharp lines can decline with 2...Bc5, or accept and give the pawn back quickly with 3...d5.

Why does White play 3.Nf3 after 2...exf4?

To stop 3...Qh4+, which would force the white king to move and lose the right to castle. The knight also prepares d4 and Ne5 ideas.

What is the Immortal Game?

It is the 1851 game between Adolf Anderssen and Lionel Kieseritzky in London, a King's Gambit in which Anderssen gave up a bishop, both rooks and his queen before delivering checkmate. It is the most famous attacking game of the 19th century.

Related openings

  • Italian GameC501.e4 e5 2.Nf3 Nc6 3.Bc4Fast development and early pressure on f7. The best first opening for White.
  • Fried Liver AttackC571.e4 e5 2.Nf3 Nc6 3.Bc4 Nf6 4.Ng5 d5 5.exd5 Nxd5 6.Nxf7A knight sacrifice on f7 that drags the black king into the open.
  • Ruy LopezC601.e4 e5 2.Nf3 Nc6 3.Bb5Pressure on the defender of e5. The deepest classical opening for White.
  • Scandinavian DefenseB011.e4 d5Black challenges e4 on move one and gets a clear, simple development plan.

See all chess openings, with the best choices for White, for Black and for beginners.

Nimzo-Indian DefenseScandinavian Defense

Practice These Openings

Play vs AI Analyze Position Solve Puzzles

Want more? Try Pro — Try Pro for AI analysis of your opening play

Learn chessHow to set up a chess boardCastlingEn passantStalemateChess notation
Chess openingsItalian GameSicilian DefenseCaro-Kann DefenseQueen's GambitFried Liver Attack
CalculatorAnalysis BoardPlay vs ComputerOpeningsSolverStockfish OnlinePuzzles2 PlayersELO TestELO CalculatorCheckmate CheckerPricingBlogAboutContactFeedbackPrivacy PolicyTerms of ServiceRefund PolicyCookie PolicyDisclaimer

© 2025 - 2026 ChessNextMove.