The King's Indian Defense is Black's answer to 1.d4 built on the moves 1.d4 Nf6 2.c4 g6 3.Nc3 Bg7 4.e4 d6. Black fianchettoes the dark-squared bishop, castles quickly and lets White take the whole center with pawns on c4, d4 and e4, then hits that center with ...e5 or ...c5. When White closes the center with d5, Black throws the f- and g-pawns at White's king: a fighting, unbalanced defense that trades a small objective concession for real winning chances.
How to reach the King's Indian Defense
The standard move order is 1.d4 Nf6 2.c4 g6 3.Nc3 Bg7 4.e4 d6. Black almost always castles next and then chooses between ...e5 and ...c5 depending on White's fifth and sixth moves.
Start
Transpositions worth knowing:
- 1.d4 Nf6 2.Nf3 g6 3.c4 Bg7 4.Nc3 d6 5.e4 reaches the same position by a different order.
- 1.c4 or 1.Nf3 can transpose: against the English, Black plays ...Nf6, ...g6, ...Bg7, ...d6 and ...O-O, and if White plays d4 and e4 the game is a King's Indian.
- 3.Nf3 and 4.g3 leads to the Fianchetto Variation, where White never plays an early e4 with the bishop on e2.
- The Grünfeld trap door. After 1.d4 Nf6 2.c4 g6 3.Nc3, Black can choose 3...d5 instead of 3...Bg7. That is the Grünfeld Defense, a different opening with the same first moves.
- Against 1.e4, the same setup (...d6, ...Nf6, ...g6, ...Bg7) is the Pirc Defense, so many players use both.
Strengths and drawbacks
Strengths:
- A clear, repeatable plan: castle, play ...e5, and when White closes the center with d5, attack with ...f5.
- The g7 bishop is one of the strongest pieces on the board once the long diagonal opens.
- Black creates imbalances and real winning chances, not just a draw against 1.d4.
- The setup is flexible: ...e5, ...c5 and ...exd4 give three different middlegames from the same moves.
Drawbacks:
- White gets a big center and more space for free. Stockfish gives White about half a pawn in the main lines.
- In closed positions, White's queenside attack often lands first. Black must calculate the race precisely.
- The theory in the Bayonet and Sämisch is deep, and a single slow move can lose.
- The Exchange Variation and quiet setups let White trade into dull equality, which frustrates players who chose the opening to win.
Main variations
Classical Variation: Mar del Plata (9.Ne1)
Moves: 1.d4 Nf6 2.c4 g6 3.Nc3 Bg7 4.e4 d6 5.Nf3 O-O 6.Be2 e5 7.O-O Nc6 8.d5 Ne7 9.Ne1
Idea: White develops calmly and castles. After 7...Nc6 hits d4 a second time, White closes the center with 8.d5. The pawn chains now point in opposite directions: White's (e4–d5) toward the queenside, Black's (d6–e5) toward the kingside. White's knight goes to d3 to support c4–c5; Black's knight goes to d7 to free the f-pawn for ...f5, ...f4 and ...g5. This is the classic KID pawn storm.
Who it suits: Attackers who are happy to bet the game on a race. Note that 6...e5 does not hang a pawn: after 7.dxe5 dxe5 8.Qxd8 Rxd8 9.Nxe5? Nxe4! Black wins it back (see Traps).
Start
With ...f4 Black gains space and shuts White's dark-squared bishop out of the kingside; ...g4 comes next to pry open g2. White pushes c5 and invades on c7.
Bayonet Attack (9.b4)
Moves: 1.d4 Nf6 2.c4 g6 3.Nc3 Bg7 4.e4 d6 5.Nf3 O-O 6.Be2 e5 7.O-O Nc6 8.d5 Ne7 9.b4
Idea: White skips Ne1 and starts the queenside attack at once, so that c5 arrives before Black's ...f5 has teeth. Black answers with ...a5 to loosen b4, or ...Nh5 to start the kingside play without ...Nd7. At depth 22, Stockfish rates 9.b4 as White's best move after 8...Ne7 (+0.50).
Who it suits: Black players who know the theory well; this is White's most testing reply in the Classical.
Start
Sämisch Variation (5.f3)
Moves: 1.d4 Nf6 2.c4 g6 3.Nc3 Bg7 4.e4 d6 5.f3 O-O 6.Be3
Idea: White props up e4 with a pawn, plays Be3 and Qd2, and often castles queenside to attack with g4 and h4. The f3 pawn also rules out ...Ng4 hitting e3. Black's main counters are ...c5 (the engine's first choice after 6.Be3), ...e5 and ...c6 or ...a6 with ...b5 against the c4 pawn. After 6...e5 7.d5, the engine prefers 7...Nfd7 and ...f5 over 7...Nh5.
Who it suits: Black players who like opposite-side castling races and are ready to hit the center early.
Start
Four Pawns Attack (5.f4)
Moves: 1.d4 Nf6 2.c4 g6 3.Nc3 Bg7 4.e4 d6 5.f4 O-O 6.Nf3 c5
Idea: White takes the maximum center with pawns on c4, d4, e4 and f4 and hopes to push e5. Black strikes at once with ...c5; after 7.d5 e6 8.Be2 exd5 9.cxd5 the structure resembles a Benoni, and Black hits the center with ...Re8 and ...b5. Stockfish scores the position after 6...c5 at only +0.26, the smallest White edge among the main lines.
Who it suits: Players who enjoy sharp, tactical positions; the over-extended center is a target.
Start
Averbakh Variation (5.Be2 and 6.Bg5)
Moves: 1.d4 Nf6 2.c4 g6 3.Nc3 Bg7 4.e4 d6 5.Be2 O-O 6.Bg5
Idea: The bishop on g5 pins the f6 knight and makes an immediate ...e5 less attractive. Black usually plays ...c5 instead, and after 7.d5 the engine's choice is 7...e6 (+0.38), opening the e-file.
Who it suits: Black players who are comfortable with ...c5 structures and do not insist on ...e5 every game.
Start
Fianchetto Variation (3.Nf3 and 4.g3)
Moves: 1.d4 Nf6 2.c4 g6 3.Nf3 Bg7 4.g3 O-O 5.Bg2 d6 6.O-O Nbd7 7.Nc3 e5 8.e4
Idea: White mirrors Black's fianchetto. The g2 bishop protects the king and makes Black's kingside pawn storm far less effective, so the game is more positional. Black typically plays ...Re8, ...c6 and ...exd4, fighting for e5 and pressing on e4.
Who it suits: Patient Black players; White chose this to deny the attacking race.
Start
| Variation | Moves | Character |
|---|---|---|
| Classical (Mar del Plata) | 5.Nf3 O-O 6.Be2 e5 7.O-O Nc6 8.d5 Ne7 9.Ne1 | Closed center, race on opposite wings |
| Bayonet Attack | 9.b4 | Fast queenside attack; deep theory |
| Petrosian | 7.d5 | Early center closure; Black plays ...a5 and ...Na6 |
| Exchange | 7.dxe5 dxe5 8.Qxd8 Rxd8 | Queenless, close to equal |
| Sämisch | 5.f3 | Solid center, often opposite-side castling |
| Four Pawns Attack | 5.f4 | Huge center; Black hits back with ...c5 |
| Averbakh | 5.Be2 O-O 6.Bg5 | Pin on f6; Black prefers ...c5 |
| Fianchetto | 3.Nf3 Bg7 4.g3 | Positional, safe White king |
Plans for White
- Close the center with d5 and attack on the queenside. The c4–c5 break is the main lever: b4, Nd2 or Nd3, then c5 to open the c-file and target c7 and d6.
- Stop or blunt ...f5. f3 and Be3–f2 make the kingside solid, so Black's ...f4 hits granite. In the Fianchetto, the g2 bishop does the same job.
- Keep the light-squared bishop. Once Black's pawns reach f4 and g4, the e2 bishop is a key defender of the king's light squares.
- Use the space. If Black plays ...exd4, White recaptures with the knight and builds pressure on d6 with Rd1, Bf4 or Nb5.
- Trade into a queenless middlegame with the Exchange Variation if you only want a safe, small edge.
Plans for Black
- Castle first, then break. ...e5 is the main break; ...c5 is the alternative against the Averbakh, Four Pawns and Sämisch.
- When White plays d5, attack where your chain points. The kingside: ...Nd7 or ...Ne8 to free the f-pawn, then ...f5, ...f4, ...g5, ...g4, often with ...Rf6–h6 or ...Ng6 to bring pieces over.
- Slow White's queenside. ...a5 against b4 and ...c6 or ...c5 against c5 buy time for the storm.
- When the center stays open (...exd4), use the e-file with ...Re8, hit e4 with pieces, and fight for the dark squares with the g7 bishop.
- Do not open the center for White. Releasing the tension with an early ...exd4 against a well-placed White setup gives up the attack for nothing.
Traps to know
Grabbing e4 after ...exd4
After 1.d4 Nf6 2.c4 g6 3.Nc3 Bg7 4.e4 d6 5.Nf3 O-O 6.Be2 e5 7.O-O exd4 8.Nxd4, the e4 pawn looks loose because the bishop on g7 seems to cover the knight on d4.
Start
Why it works: 8...Nxe4? 9.Nxe4 Bxd4 10.Qxd4 leaves White a whole piece up for a pawn. Stockfish 17.1 scores the position after 8...Nxe4 at +3.29 (best reply 9.Nxe4) and after 9...Bxd4 at +5.01 (best reply 10.Qxd4).
How to avoid it: Play 8...Nc6 (+0.57) or 8...Re8 (+0.61). The e4 pawn is a target you attack with pieces over several moves, not one you can grab for free.
The Exchange Variation pawn that is not free
After 7.dxe5 dxe5 8.Qxd8 Rxd8, White can take on e5, but Black has a counter-shot.
Start
Why it works: 9.Nxe5? Nxe4! works because the g7 bishop hits the loose e5 knight: after 10.Nxe4 Bxe5 Black has regained the pawn and Stockfish already prefers Black (−0.14 after 9.Nxe5).
How to avoid it (as White): Play 9.Bg5 (+0.01) and keep developing; the e5 pawn is defended tactically.
How to play against the King's Indian Defense
- For the main-line test, play the Classical with 9.b4 and learn the Bayonet; it is the engine's top choice in the closed center.
- To kill the attack, play the Fianchetto Variation or the Sämisch, which make ...f5 and ...g5 far less dangerous.
- For a low-risk edge, use the Exchange Variation. It is close to equal (+0.01 after 9.Bg5), so expect a long technical game.
- To avoid it entirely, open with 1.Nf3 or the London System setups that skip c4 and e4.
- Never be passive on the kingside. If you close the center with d5 and then dawdle, Black's storm arrives first.
Engine verdict
We ran Stockfish 17.1 (lite, single thread) at depth 22 with three principal variations on each key position, reached with chess.js. Scores are from White's point of view, in pawns.
| Position after | Evaluation | Engine's best move |
|---|---|---|
| 2...g6 | +0.40 | 3.Nf3 or 3.Nc3 |
| 4...d6 | +0.53 | 5.Nf3 (5.Be2 +0.52, 5.h3 +0.50) |
| 6...e5 (Classical) | +0.53 | 7.O-O |
| 8...Ne7 | +0.50 | 9.b4 |
| 12...g5 (Mar del Plata) | +0.80 | 13.Nd3 |
| 9.b4 (Bayonet) | +0.58 | 9...a5 |
| 7.d5 (Sämisch) | +0.59 | 7...Nfd7 |
| 6...c5 (Four Pawns) | +0.26 | 7.d5 |
| 7.d5 (Averbakh) | +0.38 | 7...e6 |
| 8.e4 (Fianchetto) | +0.57 | 8...Re8 |
| 9.Bg5 (Exchange) | +0.01 | 9...Re8 |
In plain terms: White keeps a stable edge of about half a pawn, which is a normal opening advantage, not a refutation. The engine likes White a little more once Black's storm starts in the Mar del Plata, because it sees the queenside attack arriving first; in human games the kingside attack is far harder to defend. These are one engine's estimates at one depth, not results from games.
Practice the closed-center position after 8...Ne7, where the race begins:
r1bq1rk1/ppp1npbp/3p1np1/3Pp3/2P1P3/2N2N2/PP2BPPP/R1BQ1RK1 w - - 1 9
Open in the analysis board → · Play it against the computer →
History
The King's Indian belongs to the hypermodern family of "Indian" defenses, which control the center with pieces and fianchettoed bishops instead of occupying it with pawns. It was long considered dubious until Soviet players, notably David Bronstein, Isaac Boleslavsky and Efim Geller, turned it into a main defense in the late 1940s and 1950s. The Mar del Plata Variation takes its name from the Argentine city's 1953 tournament. Bobby Fischer and Garry Kasparov both used the King's Indian as a main weapon against 1.d4. The Sämisch and Averbakh variations are named after Fritz Sämisch and Yuri Averbakh.
Frequently asked questions
Is the King's Indian Defense sound?
Yes. Stockfish 17.1 at depth 22 gives White about +0.5 in the main lines, a normal opening edge. Black's position is objectively a little worse but fully playable, and the imbalance creates practical winning chances.
Is the King's Indian good for beginners?
It is playable but not ideal as a first defense. The moves are easy to remember, yet closed positions demand knowing which wing to attack and when to play ...f5. Beginners should learn the Classical plan and the e4 trap above first, or start with the Slav Defense or Queen's Gambit structures.
What is the best line for White against the King's Indian?
In the engine's view, the Classical with 9.b4 (Bayonet) is the most testing, and after 4...d6 the moves 5.Nf3, 5.Be2 and 5.h3 are within 0.03 of each other. The Sämisch and Fianchetto are strong practical choices that blunt Black's attack.
What is the difference between the King's Indian and the Grünfeld?
Both start 1.d4 Nf6 2.c4 g6 3.Nc3. In the King's Indian, Black plays 3...Bg7 and 4...d6 and lets White build e4. In the Grünfeld, Black plays 3...d5 and challenges the center at once.
What is the KID pawn storm?
It is Black's kingside advance with ...f5, ...f4, ...g5 and ...g4 once the center is closed by d5. The pawns gain space, shut White's pieces out and open lines toward White's king.
Drill the six main lines with the trainer at the top of this page, test your own ideas on the analysis board, and play the closed-center positions out in play chess against the computer. For related systems, compare the Grünfeld Defense, the Pirc Defense with the same setup against 1.e4, and the Nimzo-Indian Defense.