Survive the King's Gambit Accepted: g5 Line

ECO C34 216,293 games Stockfish -1.03

The King's Gambit is one of chess's wildest openings, and Black's reply with g5 makes things even sharper. After 1.e4 e5 2.f4 exf4 3.Nf3 g5, White plays 4.h3 to challenge Black's aggressive pawn chain — but Stockfish evaluates the position at -1.03, a clear edge for Black. You are worse here, at least by the engine's cold calculation. In practice, however, White still scores 49.6% wins across over 216,000 games, so there is plenty of life left. This guide walks you through the key ideas, the most common Black replies, and the mistakes to watch out for.

Play the King's Gambit Accepted: King's Knight's Gambit: g5 against the engine

Free, no signup — you play white, the engine adapts to your level.

Ready to test your skills in the g5 line of the King's Gambit Accepted? Jump into the interactive drill and practise White's key ideas against a live engine.

Create a free account →

What White Is Fighting For

After 4.h3, Black has built a wall of pawns on the kingside with ...g5, aiming to kick your knight and seize space. Your job as White is not to attack immediately but to calmly undermine Black's pawn structure. The move h3 creates a potential threat to capture on g4 if Black advances ...g4 — it's a waiting move that asks Black to commit. You are playing for the d4 break, piece development, and eventually the f-file opening. The engine may say you are worse, but in amateur play Black's overextended kingside pawns can become a major target once you get your pieces out.

The Critical Continuation: Black Plays d6

The most popular reply for Black is d6 (46,937 games), and the engine's best line is also d6, followed by d4 h6 Nc3. This is the tabiya of the variation. Black shores up the centre and prepares ...Bg7 or ...h5 next. Your plan is straightforward: develop your pieces to natural squares, castle queenside or keep your king in the centre for a while, and prepare to strike at Black's kingside pawns later. White scores 49.8% in this line — almost dead even, despite the engine's assessment. Do not get intimidated; bring your bishop to e3 or g5, and keep an eye on the possibility of playing f2-f4 once the smoke clears.

Which Black Replies Should You Worry About?

Let's look at how White does against the most common Black moves: - d6 (46,937 games) — White scores 49.8% - h6 (34,633 games) — White scores 47.2% - Nc6 (27,034 games) — White scores 50.3% - Bg7 (26,468 games) — White scores 43.0% - d5 (16,668 games) — White scores 53.2% - h5 (14,960 games) — White scores 50.2% The stat that jumps out is Bg7: White only scores 43% against it. When Black fianchettoes the bishop, your compensation for the pawn is less potent. Conversely, Black's most aggressive move d5 actually scores best for you (53.2%) — Black often overpresses with that central push.

One Mistake You Can Punish

Among the known inaccuracies in this position, h5 stands out. According to Stockfish, this move loses roughly 0.8 pawns of advantage compared to the better alternative Nf6. That is a significant drop. If Black plays 5...h5, they are weakening their kingside further and neglecting development. Your response should be natural — consider developing with d4 or Bc4, targeting the weak f7 square and keeping an eye on Black's broken pawns. While the engine says Nf6 was better, many club players will play h5 automatically, giving you extra chances to seize the initiative.

What the Numbers Tell You

Overall, the 216,293-game database paints a revealing picture. White wins 49.6% of the time, draws 3.1%, and Black wins 47.2%. Those are remarkably balanced results for a position the engine rates as -1.03. The high draw rate of just 3.1% tells you this is a fighting opening — draws are rare, and most games end decisively. For you as White, the practical chances are much better than the static evaluation suggests. Black's extra pawn is often more of a liability than an asset, and the kingside pawns can become a juicy target in the middlegame.

Results across 216,293 Lichess games

49.6%
3.1%
47.2%
■ White 49.6% ■ Draw 3.1% ■ Black 47.2%
Most-played continuationGamesWhite wins
d646,93749.8%
h634,63347.2%
Nc627,03450.3%
Bg726,46843.0%
d516,66853.2%
h514,96050.2%

Frequently asked questions

Is the King's Gambit Accepted g5 line sound for White?

The engine gives -1.03, a clear plus for Black, suggesting it's not sound at the highest level. However, in practice White scores 49.6% wins across over 216,000 games, so it's perfectly playable for club-level players. Black's extra pawn often becomes a target.

How should White respond to 4...g5 5.h3 h5?

The move h5 is actually an inaccuracy that loses about 0.8 pawns of advantage compared to the better move Nf6. You can punish it with natural development like d4 or Bc4, targeting Black's weakened kingside and underdeveloped pieces.

What is Black's best reply to 4.h3 in the King's Gambit Accepted?

The engine's best move is d6, followed by the continuation d4 h6 Nc3. This solid line shores up Black's centre and prepares kingside development. It's also the most played move in the database, with 46,937 games.

Why does White score better against d5 than against Bg7?

When Black plays d5 (16,668 games), White scores 53.2% — Black often overextends. Against Bg7 (26,468 games), White only scores 43.0%, because the fianchettoed bishop gives Black stronger kingside control and makes it harder for White to generate compensation for the sacrificed pawn.