What Is the King's Gambit?
The King's Gambit is the opening 1.e4 e5 2.f4. White offers the f pawn on move two, and the idea is simple: if Black takes it, the e pawn leaves the center and the f file opens toward the black king. It's one of the oldest openings on record. It appears in Luis Ramírez de Lucena's chess book of 1497, Ruy López published analysis of it in the 1500s, and in the 19th century it was one of the most popular openings of all. Howard Staunton's Chess Player's Handbook of 1847 gives it 109 of its 343 opening pages. Then defensive technique caught up. Today it's a surprise weapon, and top players still bring it out now and then: Magnus Carlsen in 2010, Ian Nepomniachtchi in 2021. Is it sound? Close enough. We ran Stockfish 19 to depth 30 in October 2026. After 1.e4 e5 the engine gives White about a fifth of a pawn, and after 2.f4 it gives Black about half a pawn. So you pay a little for the initiative, much less than the pawn you offer. Our King's Gambit course has 19 lines: 13 after 2...exf4 and 6 against the ways Black can decline.
Key Moves in the King's Gambit
After 1.e4 e5 2.f4, Black has to decide at once: take the pawn or turn it down. Taking with 2...exf4 is the King's Gambit Accepted, the main line and the engine's first choice. White's third move sets the tone. 3.Nf3, the King's Knight's Gambit, stops the queen check on h4 and prepares d4. 3.Bc4, the Bishop's Gambit, allows 3...Qh4+ on purpose. The king steps to f1, and White wins the time back later by hitting the queen with Nf3. Against 3.Nf3, Black has three main plans. 3...g5 keeps the pawn. 3...d5 gives it back for quick development. 3...d6, the Fischer Defense, takes the e5 square away from White's knight first, so that ...g5 can follow without Ne5. Black can also say no on move two. 2...d5 is the Falkbeer Countergambit, a pawn offer of Black's own in the center. 2...Bc5 is the Classical Defense: the bishop covers g1, so White can't castle short while it stays there.
1.e4 e5 2.f4 exf4 3.Nf3 g5 4.h4 g4 5.Ne5 Nf6 6.d4 d6 7.Nd3 Nxe4King's Gambit Strategy & Ideas
White's plan rests on three things: the f file, the center and speed. Once the f4 pawn is gone, a rook on f1 looks straight at f7, the weakest square in Black's camp, and a bishop on c4 aims at the same point. White wants d4 next, so that two pawns stand in the middle against none, and then Bxf4 to win the pawn back. The price is king safety. Until the knight is on f3 or the king has a safe square, the queen check on h4 is the move to watch, and a lot of the theory is about the timing of that check. Black has two sound ways to play. The first is to hold the pawn with ...g5, backed by ...Bg7 and sometimes ...h6. That keeps the extra pawn but loosens Black's own kingside, and h4 is White's normal way to hit the chain at its base. The Kieseritzky (4.h4 g4 5.Ne5) and the Allgaier (4.h4 g4 5.Ng5) both grow out of that idea. The second way is to return the pawn with ...d5 and aim for an ordinary developing game, where White's open f file matters much less. Mixing the two is where Black often gets into trouble. A pawn grabbed with ...g5 and then left alone tends to give White the attack, and in the end the material back as well.
Typical Pawn Structures
Pawns decide the plans in the King's Gambit more than in most openings. After 2...exf4 3.Nf3 g5, Black has a chain on f4 and g5, often with ...h6 or ...h5 behind it. It cramps White's kingside and guards the f4 pawn, but its base is weak. White's h4 asks the g pawn to commit, and once ...g4 comes, the knight jumps to e5 or g5. If the chain breaks, Black's king has very little pawn cover. White's own structure is the e4 pawn, often with d4 beside it, plus the half open f file. That center pair is White's long term trump. If Black can't challenge it with ...d5 or ...c5 in time, e5 follows and a black knight on f6 has to move. In the Falkbeer the picture flips. After 2...d5 3.exd5 e4, a black pawn on e4 cuts White's position in two. 4.d3 is the usual answer because it removes that pawn before it settles, and Stockfish 19 at depth 22 had White about 0.4 pawns better after it.
Common Mistakes to Avoid
The biggest mistake for White is to treat the opening as an attack that plays itself. You gave a pawn, so every move has to develop a piece or threaten something. Four errors cost the most, and we checked each one with Stockfish 19 at depth 22. First, after 3.Bc4 Qh4+ the king belongs on f1. In our test 4.Ke2 left Black more than two pawns better, while 4.Kf1 kept it to about 0.6. Second, after 3.Nf3 g5 4.Bc4 g4, the jump 5.Ne5 (the Salvio Gambit) runs into 5...Qh4+ 6.Kf1, and Black came out about 1.5 pawns better. Castling instead, the Muzio Gambit, gives up a whole knight and left Black about 1.2 pawns better with correct play. Against 3...g5 the engine liked the quiet 4.d4 and 4.Nc3 best. Third, the Allgaier knight sacrifice on f7 is fun but unsound: after 6.Nxf7 Kxf7 the engine had Black about two pawns better. Fourth, in the Falkbeer, leave the pawn on e4 alone for too long and it cramps your whole kingside. For Black, the classic slip is 2...d5 3.exd5 Qxd5. The queen comes out early, 4.Nc3 hits it with gain of time, and the engine already preferred White by about half a pawn.
Common Traps in the King's Gambit
Two traps come up again and again. The first one punishes White. Against the Classical Defense, 1.e4 e5 2.f4 Bc5, the pawn on e5 looks free, but 3.fxe5?? loses at once to 3...Qh4+. If 4.Ke2, then 4...Qxe4 is checkmate. If 4.g3, then 4...Qxe4+ forks the king and the rook on h1. Play 3.Nf3 first and the trick is gone. The second trap is one you can set. In the Falkbeer main line, 1.e4 e5 2.f4 d5 3.exd5 e4 4.d3 Nf6 5.dxe4 Nxe4 6.Qe2, the knight on e4 is pinned to the black king and needs help right away. 6...Qxd5 is the normal answer. A natural developing move such as 6...Bc5? drops the knight to 7.Qxe4+, and Stockfish 19 at depth 22 then rates White about seven pawns better. That position is the end of the Falkbeer line in the trainer, so you'll see it on the board. One more thing to know: in the Bishop's Gambit, 3...Qh4+ looks scary, but it isn't a trap if you answer 4.Kf1.
Famous King's Gambit Players & Games
Probably the most famous game ever played began with the King's Gambit. In the Immortal Game, an informal game during the London 1851 tournament, Adolf Anderssen beat Lionel Kieseritzky after 1.e4 e5 2.f4 exf4 3.Bc4 Qh4+ 4.Kf1 b5, the Bryan Countergambit. Anderssen gave up a bishop, both rooks and his queen, and mated on move 23. Kieseritzky's own name lives on in the gambit 4.h4 g4 5.Ne5, which he made popular in the 1840s. More than a century later, Boris Spassky used that line to beat Bobby Fischer in 29 moves at Mar del Plata 1960, where the two shared first place. Fischer answered in the first issue of American Chess Quarterly in 1961 with "A Bust to the King's Gambit", claiming the opening "loses by force" and recommending 3...d6. The defense still carries his name, although it was known before him and Fischer never played it in a tournament game. Earlier that same year, Spassky beat David Bronstein with the gambit at the Soviet Championship in Leningrad, and the final position, slightly changed, appears in the 1963 James Bond film From Russia with Love. In the early 20th century, Rudolf Spielmann earned the nickname "the last knight of the King's Gambit". More recently, Magnus Carlsen beat Wang Yue with it at Medias 2010, after Wang declined with 2...d5, and Ian Nepomniachtchi beat Alireza Firouzja with it in an armageddon game at Norway Chess 2021.
Frequently Asked Questions
Is the King's Gambit a good opening?▼
Yes, for club and online players it's a good choice, even though it isn't White's best try on paper. In our October 2026 test, Stockfish 19 at depth 30 rated 1.e4 e5 about 0.20 pawns better for White, and the position after 2.f4 about 0.49 pawns better for Black. That gap matters between engines and elite players. Our view: in club games, knowing the first ten moves well counts for more than half a pawn, and the King's Gambit takes most opponents out of the lines they prepared.
What is the best response to the King's Gambit?▼
Taking the pawn with 2...exf4 is the main line and Stockfish's first choice. After 3.Nf3, the engine's top reply in our depth 30 test was 3...g5, with 3...Nf6, the Schallopp Defense, close behind. 3...d5 gives the pawn back, and Black stays about a quarter of a pawn better. If you'd rather avoid theory, 2...Bc5 declines safely. Our engine test rated it close to level, about 0.16 pawns for White, and it sets the 3.fxe5?? Qh4+ trap. The Falkbeer Countergambit, 2...d5, is the sharpest way to decline.
What does King's Gambit mean in chess?▼
The King's Gambit is the opening 1.e4 e5 2.f4. A gambit is a pawn offered to gain time or an attack, and "King's" points to the pawn White offers: the f pawn, which starts on the king's side of the board. The Queen's Gambit, 1.d4 d5 2.c4, offers a pawn on the queen's side instead.
What is the difference between the King's Gambit and the Queen's Gambit?▼
The King's Gambit offers the f pawn, right next to White's own king, so it opens lines toward both kings and gets sharp fast. The Queen's Gambit offers the c pawn, far from White's king, and Black usually can't hold on to it for long. That's why the Queen's Gambit is a main line at every level, while the King's Gambit is a surprise weapon at the top. In our test with Stockfish 19 at depth 30, 2.c4 kept White about 0.22 pawns ahead, while 2.f4 handed Black about 0.49.
Should I play the King's Gambit or the Vienna Gambit?▼
Pick the Vienna Gambit if you want the f4 attack with less risk, and the King's Gambit if you want the fight to start on move two. In the Vienna Gambit, 1.e4 e5 2.Nc3 Nf6 3.f4, the knight on c3 already guards e4 and d5 before the f pawn moves. Stockfish 19 at depth 30 rated it about 0.11 pawns for Black, against about 0.49 after 2.f4 in the King's Gambit. Below master level, both are fine weapons.
What is the main line of the King's Gambit Accepted?▼
1.e4 e5 2.f4 exf4 3.Nf3 is the main line of the King's Gambit Accepted, and 9 of the 19 trainer lines run through it. The knight stops the queen check on h4 and covers d4 and e5. From there, 3...g5 4.h4 g4 5.Ne5 is the Kieseritzky Gambit, the line Spassky used against Fischer in 1960. 3...d6 is the Fischer Defense and 3...d5 is the Modern Defense.
Related Openings
Ready to Master the King's Gambit?
Practice every variation with CheckmateX's free interactive trainer. Track your progress, earn mastery points, and build a winning opening repertoire.
Start Training →