King's Gambit in Chess: Moves, Ideas and How to Play It
Ferzika Editorial Team · updated · 9 min

The King's Gambit is the chess opening 1.e4 e5 2.f4. White offers a pawn to deflect the e5 pawn, take the center with d4 and open the f-file for an attack on f7. After the pawn is accepted, Stockfish slightly prefers Black, by about half a pawn, but the opening has not been refuted. The games are sharp, and a mistake by either side quickly becomes decisive.
- After 2.f4 exf4 White usually plays 3.Nf3 to cover the h4 square against a queen check.
- Black keeps the pawn with 3...g5 or gives it back with 3...d5.
- Stockfish gives Black a small edge: about −0.5 after 2.f4 and −0.6 in the Kieseritzky Gambit.
- Declining with 2...Bc5 is solid, but White must not take 3.fxe5?? because 3...Qh4+ wins a rook or mates.
- The gambit suits fast games and builds attacking instinct; for a first repertoire there are simpler options.
What the King's Gambit is
A gambit is an opening that sacrifices material for development or attack. Here the f-pawn attacks Black's central pawn on the second move. If Black takes 2...exf4, the e5 pawn is gone and White can build a center with e4 and d4. But there is a price: the f2 pawn has left, and White's king is exposed on the e1-h4 diagonal.
This opening started the "Immortal Game" of Anderssen and Kieseritzky in 1851, and in the 19th century the King's Gambit was one of the main openings. Later the defense got stronger. After losing as Black against this opening to Boris Spassky in Mar del Plata in 1960, Robert Fischer published the article "A Bust to the King's Gambit", where he proposed the reply 3...d6 and claimed the gambit loses. Stockfish does not show that: the evaluation favors Black, but it is far from winning.
| Black's move | Share of games | White / Black |
|---|---|---|
| 2...exf4 | 41% | 53% / 44% |
| 2...Nc6 | 25% | 52% / 45% |
| 2...d6 | 13% | 53% / 44% |
| 2...d5 | under 10% | 47% / 49% |
| 2...Bc5 | under 10% | 50% / 48% |
- 2...exf441%
- 2...Nc625%
- 2...d613%
- 2...d5under 10%
- 2...Bc5under 10%
Compare with the engine's view: Stockfish prefers Black, yet in this database White scores more overall, 52% against 45%. Amateurs often don't know the exact defense. The replies 2...d5 and 2...Bc5, covered below, look noticeably better than the others.
1. 2. 3.
How to play the King's Gambit as White
- The center. After 3.Nf3 prepare d4. The e4 and d4 pawns take squares from Black and open the road for the c1 bishop to f4.
- Winning the pawn back. If Black holds it with a pawn on g5, hit the chain with h4: a chain must be undermined at its base or next to it.
- The f-file. Castling puts a rook on the open file, and there is one target there: f7.
- The king. Don't forget it is exposed. A check from h4 and a move like ...Bc5 that stops castling are more dangerous than they look in the heat of an attack.
Main variations after 3...g5
| Variation | Moves | What happens | Eval |
|---|---|---|---|
| Kieseritzky Gambit | 4.h4 g4 5.Ne5 Nf6 | The knight on e5 presses on f7 and g4 | about −0.6 |
| Allgaier Gambit | 4.h4 g4 5.Ng5 h6 6.Nxf7 Kxf7 | White gives a knight for the f7 pawn and an attack | about −1.2 |
| Muzio Gambit | 4.Bc4 g4 5.0-0 gxf3 6.Qxf3 | White gives up a knight as early as move five | about −1.1 |
| Salvio Variation | 4.Bc4 g4 5.Ne5 Qh4+ 6.Kf1 | White's king loses castling | about −1.2 |
1. 2. 3. 4. 5. 6. 7. 8.
How to play as Black: accept or decline
Black has three reasonable choices. Taking and holding the pawn with 3...g5 is the strongest by Stockfish, but it demands accurate play and readiness to endure an attack. Taking and returning it with 3...d5 is simpler: you release the tension quickly. Declining with 2...Bc5 needs no theory at all: the bishop takes the diagonal and stops White from castling.
| Reply | Moves | Who it is for | Eval |
|---|---|---|---|
| Hold the pawn | 2...exf4 3.Nf3 g5 | Likes to calculate and isn't afraid of an attack | about −0.7 |
| Fischer Defense | 3...d6 4.d4 g5 5.h4 g4 6.Ng1 | Ready for closed play a pawn up | about −0.6 |
| Modern Defense | 3...d5 4.exd5 Nf6 | Wants calm development | about −0.2 |
| Declining | 2...Bc5 | Doesn't want to learn gambit theory | about +0.1 |
| Falkbeer Countergambit | 2...d5 3.exd5 e4 | A counterattack in the center | about +0.4 |
The Bishop's Gambit 3.Bc4 also occurs: then Black can check with 3...Qh4+ and White's king goes to f1. He can no longer castle, but the queen can later be chased away with tempo by Nf3. Stockfish rates 3.Bc4 at about −0.7.
If you play gambits, the price of a mistake is high. A review will show what lets you down more often: the opening moves or the calculation in the attack.
Common mistakes in the King's Gambit
White takes on e5 after 2...Bc5
The most expensive mistake of the declined line. The e5 pawn looks like a gift, but taking it opens the h4-e1 diagonal, and the bishop on c5 cuts the king off from f2.
Show the answer
Qh4+ g3 Qxe4+ Qe2 Qxh1
3...Qh4+! After 4.g3 Qxe4+ the queen attacks the rook on h1 with check. 5.Qe2 Qxh1 and Black has won a rook. And 4.Ke2 loses at once: 4...Qxe4 is mate.
1. 2. 3. 4.
Black defends the g5 pawn with f6
After 3...g5 4.h4 the g5 pawn is attacked. The right reply is 4...g4. If Black instead strengthens it with 4...f6?, the whole e8-h5 diagonal is weakened, and a sacrifice appears there at once.
Show the answer
Nxg5 fxg5 Qh5+ Ke7 Qxg5+
5.Nxg5! Taking the knight is dangerous: 5...fxg5? 6.Qh5+ Ke7 7.Qxg5+, and the king runs under checks, with Stockfish showing about +3.9. Better is 5...h5, but even then White has about +1.7.
White loses time and pieces without calculating
The gambit tempts you to play "for the attack" without thinking. The move 3.d4 instead of 3.Nf3 allows 3...Qh4+ 4.Ke2 (about −1.4), and 5.Ng5 in the Allgaier is objectively weaker than 5.Ne5. If you can't explain what you are giving a piece for, don't give it. A simple check: where will the attacking pieces come from, and how many are there? More in the topic sacrifice for the attack.
Falkbeer Countergambit: a check that loses a knight
After 2...d5 3.exd5 e4 4.d3 Nf6 5.dxe4 Nxe4 6.Nf3 Bc5 7.Qe2 Black needs to defend the e4 knight. The tempting check 7...Bf2+ 8.Kd1 Qxd5+ looks like collecting material.
Show the answer
Nfd2 f5 Nc3
9.Nfd2! The knight blocks the check and, together with the queen, attacks the knight on e4, and 10.Nc3 follows. Black can't hold both the e4 knight and the f2 bishop. The evaluation is about +3. Blocking with the other knight doesn't work: after 9.Nbd2 Bf5 Black has the edge, about −0.3.
Should you play the King's Gambit
If you are learning to attack and play blitz, the King's Gambit is good training: the theme of the exposed king and the value of time show up fast. For a permanent repertoire you need preparation. An opponent who knows 3...g5 or 3...d5 will get an equal or better position. As Black you don't have to learn long variations: one plan from the table above is enough.
For a beginner starting out, the Italian Game is more convenient: the same themes, but White's king isn't exposed from move two. If you like pawn sacrifices with a less risky king, look at the Danish and Northern Gambit. In the overview of openings for White the King's Gambit sits in the aggressive group.
An engine evaluation is not a verdict on a human player. In short time controls the practical chances may belong to the side that knows the position better. But don't hide behind that either: if your attack keeps breaking down, review the specific moments instead of changing the opening.
FAQ
Is the King's Gambit a bad opening?
No. Stockfish slightly prefers Black, by about half a pawn, but no refutation has been found over the board. Fischer wrote that Black wins, yet practice and modern analysis show it is playable, just riskier.
How should a beginner play the King's Gambit as White?
Remember 3.Nf3 and the plan: d4, Bc4 or h4, castling, pressure on the f-file. Don't take the e5 pawn after the decline 2...Bc5: it loses a rook.
What should Black reply to the King's Gambit?
The simplest reply without theory is 2...Bc5. If you want to accept the sacrifice, play 2...exf4 3.Nf3 d5: you give the pawn back and develop quickly.
Why doesn't White play 3.d4 at once?
Because 3...Qh4+ drives the king out: 4.Ke2. Stockfish rates this at about −1.4. That is why the knight goes to f3 first.
What is the difference between the King's Gambit Accepted and Declined?
In the Accepted line Black takes the pawn with 2...exf4. In the Declined lines Black plays something else, for example 2...Bc5 or 2...d5, and leaves the f-pawn alone.




