Quick answer: The King’s Indian Defense is 1.d4 Nf6 2.c4 g6, followed by …Bg7, …d6, …O-O and …e5. Black lets White build a big pawn center, then hits it and attacks the king with …f5. White’s main choices are the Classical, Sämisch, Four Pawns, Fianchetto and Averbakh lines. After 4…d6, White is only slightly better, a normal opening edge.
At a glance
- Moves: 1.d4 Nf6 2.c4 g6 3.Nc3 Bg7 4.e4 d6
- Type: Indian defense against 1.d4. ECO codes E60 to E99.
- Black’s idea: castle fast, then strike the center with …e5 or …c5. If White closes the center, attack on the kingside with …f5.
- White’s main choices: the Classical Variation (5.Nf3 and 6.Be2), the Sämisch Variation (5.f3), the Four Pawns Attack (5.f4), the Fianchetto Variation (g3) and the Averbakh Variation (5.Be2 and 6.Bg5).
What is the King’s Indian Defense?
The King’s Indian Defense is a setup for Black against 1.d4. You hand White the center, tuck your king away behind the g7 bishop, and only then start the fight. Kasparov, Fischer and Tal all made it a favorite.
Most of this guide is for you as Black, and White gets a section near the end. Don’t mix it up with the King’s Indian Attack, a White system with Nf3, g3, Bg2 and d3 that isn’t covered here. For other choices, see our guide to chess openings.
The King’s Indian setup: …Nf6, …g6, …Bg7, …d6, …O-O, …e5

- 1.d4 Nf6 2.c4 g6. Your knight stops e4 for now, and the g-pawn makes room for the bishop. The game is close to equal.
- 3.Nc3 Bg7 4.e4 d6. White takes the whole center and is slightly better. So why is that fine for you? Your d6 pawn stops e5 and gets ready for …e5.
- …O-O and …e5. Your king is safe, and the e5 pawn hits d4. Now White has to choose: trade, defend or push past with d5.
The ideas for both sides
Black’s plan
- Hit d4 with …e5 (the main idea) or …c5.
- Once White plays d5, go for the king with …Nd7 or …Ne8, then …f5, …f4 and …g5.
- Watch the g7 bishop. If the long diagonal opens, it hits b2 and the queenside.
White’s plan
- Keep the space. A pawn on d5 cramps Black’s knights.
- Attack on the queenside with b4 and c5, opening the c-file.
- Meet …f5 with f3, so the e4 pawn holds and the kingside stays closed.
The main branches of the King’s Indian Defense
Classical Variation: 5.Nf3 O-O 6.Be2 e5
The King’s Indian Defense Classical Variation is the main line. After 7.O-O Nc6 8.d5 Ne7, White has closed the center and is slightly better. Where is your knight going? To the kingside, where the attack starts.
This is the Mar del Plata Variation. After 9.Ne1 Nd7 10.Be3 f5 11.f3 f4 12.Bf2 g5, you storm the kingside while White breaks with c5 on the other side. White stays slightly better. Press play on the board below, or step through it one move at a time.
White has other tries at move 7 and 9:
- Bayonet Attack, 9.b4. White starts the queenside attack at once and is slightly better.
- Petrosian Variation, 7.d5. White closes the center before castling and keeps a small edge.
- Exchange Variation, 7.dxe5 dxe5 8.Qxd8 Rxd8. The queens come off early, and the game is equal. Looks harmless? See the second trap below.
Sämisch Variation: 5.f3

The King’s Indian Defense Sämisch Variation props up e4 with the f-pawn. White often castles long and pushes g4 and h4. So how do you answer 5.f3 O-O 6.Be3? You do better with the quick …c5. After 6…c5, White is only slightly better, while 6…e5 7.d5 gives White more.
Four Pawns Attack: 5.f4
The King’s Indian Defense Four Pawns Attack puts pawns on c4, d4, e4 and f4. It looks scary, but you hit back at once: 5…O-O 6.Nf3 c5 7.d5 e6 8.Be2 exd5 9.cxd5. The game is equal.

White wants e5. You answer with …Re8 to hit e4 and …b5 to open the queenside. Expect a sharp game.
Fianchetto Variation: 3.Nf3 Bg7 4.g3
The King’s Indian Defense Fianchetto Variation puts White’s bishop on g2, facing your bishop on g7. After 4…O-O 5.Bg2 d6 6.O-O Nbd7 7.Nc3 e5, White is slightly better. Don’t expect a race: the play is slower, with fewer direct attacks on either king.
Averbakh Variation: 5.Be2 O-O 6.Bg5
The King’s Indian Defense Averbakh Variation uses the bishop on g5 to stop …e5. Play 6…c5 instead, and White is only slightly better. What goes wrong after 6…e5? The first trap below shows you.
Typical plans: …f5 against the c5 push
Once White plays d5 and the center locks, each side attacks on its own wing.
- Black: the …f5 pawn storm. Play …Nd7 or …Ne8, then …f5, …f4, …g5 and …g4. Bring a rook to f6 and a knight to g6.
- White: the c5 push. Play b4 and c5, take on d6, and use the c-file and c7 square.
- Speed decides. Every tempo counts. As Black, don’t waste moves on the queenside.
Common traps in the King’s Indian Defense
The Averbakh trap: 6…e5?
In the Averbakh Variation, 1.d4 Nf6 2.c4 g6 3.Nc3 Bg7 4.e4 d6 5.Be2 O-O 6.Bg5, your usual …e5 fails. After 6…e5? 7.dxe5 dxe5 8.Qxd8 Rxd8 9.Nd5, the knight hits c7 and the pinned knight on f6.
You can’t cover both, so White comes out with a small but lasting edge. The fix is simple: play 6…c5 first.
The Exchange trap: 10.Nxf7??
In the Exchange Variation, 1.d4 Nf6 2.c4 g6 3.Nc3 Bg7 4.e4 d6 5.Nf3 O-O 6.Be2 e5 7.dxe5 dxe5 8.Qxd8 Rxd8, White can grab a pawn with 9.Nxe5. You take it back with 9…Nxe4, and the game is equal.
Now 10.Nxf7?? looks like it wins a second pawn. It doesn’t: 10…Bxc3+ 11.bxc3 Kxf7 wins a knight for a pawn, and Black is winning.
How to play against the King’s Indian Defense
Playing White? Choose by how sharp you want the game. The first 4 lines below all keep you slightly better.
- Classical, 5.Nf3 and 6.Be2. The most respected line. Learn the Mar del Plata ideas and the c5 push.
- Makogonov Variation, 5.h3. The h3 pawn stops …Ng4 and prepares g4 against …f5.
- Sämisch Variation, 5.f3. Pick it against 6…c5 if you like attacking with g4 and h4.
- Fianchetto Variation, g3. Calm and positional, with fewer forcing lines.
- London System. Skip c4 and play Bf4, e3 and h3. See our London System guide.
Learn the King’s Indian Defense in 5 moves
If you only remember 5 things as Black:
- Play …Nf6, …g6, …Bg7, …d6 and …O-O against almost anything.
- Then hit the center with …e5, or with …c5 against the Sämisch, Four Pawns or Averbakh.
- When White plays d5, attack with …Nd7 or …Ne8 and …f5.
- Don’t play …e5 into Bg5. In the Averbakh, …c5 comes first.
- In the Exchange Variation, answer Nxe5 with …Nxe4. If White grabs f7 next, your g7 bishop takes on c3 with check.
[Event "King's Indian Defense: Mar del Plata starter line"]
[Result "*"]
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 Nd7 10. Be3 f5 *
[Event "King's Indian Defense: Sämisch starter line"]
[Result "*"]
1. d4 Nf6 2. c4 g6 3. Nc3 Bg7 4. e4 d6 5. f3 O-O 6. Be3 c5 7. Nge2 Nc6 8. d5 Ne5 *
At the end of both lines, White is no more than slightly better. Play them through a few times and the setup becomes automatic.
FAQ
Is the King’s Indian Defense good for beginners?
Yes, the King’s Indian Defense is good for beginners who like to attack. You use the same setup against most moves, and the plans are clear. Learn the chess opening principles first. Brand new to the game? Start with chess for beginners.
Is the King’s Indian Defense sound?
Yes, the King’s Indian Defense is sound. After 4…d6, White is only slightly better, a normal opening edge. But the positions are sharp, so a mistake on either side gets punished fast.
What is the difference between the King’s Indian Defense and the King’s Indian Attack?
The King’s Indian Defense is Black’s answer to 1.d4, while the King’s Indian Attack is a White setup with Nf3, g3, Bg2, d3 and e4. The piece placement is similar, with the colors reversed.
What is the best response to the King’s Indian Defense?
The best response to the King’s Indian Defense is any of 5.Nf3, 5.Be2 and 5.h3, which keep White slightly better by about the same amount. The Classical Variation is the most common choice for White.
What should Black play against 1.e4?
Against 1.e4, Black should play something else, because the King’s Indian setup only works against 1.d4. Want the same kind of fighting game? Try the Sicilian Defense.
Updated November 25, 2026.







