♞
King's Indian Defense
Opening guide · Rama Chess blog
← Opening guides
Opening guide

King's Indian Defense: Moves, Plans, Main Lines and Tactics

The King's Indian is the fighting answer to 1.d4. Black lets White build a big pawn centre, hides the king behind a fianchettoed bishop on g7, and then strikes back with 6...e5 or ...c5. This guide explains the moves, the plans for both sides, the main variations with ECO codes, one classic trick and the 58 King's Indian lines you can train on Rama Chess.

5 min read Published October 2026 By 58 trainer lines
▶ Practice this opening in the trainer All opening guides Practise vs bots
In this guide

What is the King's Indian Defense?

The King's Indian starts with 1.d4 Nf6 2.c4 g6 3.Nc3 Bg7 4.e4 d6. Black does not fight for the centre with pawns at once. Instead, Black puts the bishop on g7, castles, and waits for the right moment to hit the centre with ...e5 or ...c5.

This is a "hypermodern" idea: let White take space, then attack that space. The White centre on c4, d4 and e4 looks strong, but it can also become a target. The King's Indian has the ECO codes E60 to E99.

Until the mid-1930s many strong players thought the opening was too risky for Black. Soviet players then worked out its ideas, and it became one of the most respected and most exciting defences in chess.

The main ideas for both sides

Black's plans

White's plans

Advertisement

Main variations of the King's Indian

White has many systems against the King's Indian. These are the ones you will meet most. Each move order below is checked move by move.

VariationECOMovesIdea
ClassicalE91-E991.d4 Nf6 2.c4 g6 3.Nc3 Bg7 4.e4 d6 5.Nf3 O-O 6.Be2 e5the main line; Black strikes at d4 at once
Mar del PlataE991.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.f3 f5race: White on the queenside, Black on the kingside
Bayonet AttackE971.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.b4White starts the queenside attack at once
PetrosianE931.d4 Nf6 2.c4 g6 3.Nc3 Bg7 4.e4 d6 5.Nf3 O-O 6.Be2 e5 7.d5White closes the centre early
SamischE80-E891.d4 Nf6 2.c4 g6 3.Nc3 Bg7 4.e4 d6 5.f3f3, Be3, Qd2 and often long castling
Four Pawns AttackE76-E791.d4 Nf6 2.c4 g6 3.Nc3 Bg7 4.e4 d6 5.f4a huge centre; Black hits back with ...c5
AverbakhE73-E751.d4 Nf6 2.c4 g6 3.Nc3 Bg7 4.e4 d6 5.Be2 O-O 6.Bg5the bishop stops ...e5 ideas for a while
MakogonovE711.d4 Nf6 2.c4 g6 3.Nc3 Bg7 4.e4 d6 5.h3h3 and Be3, keeping g4 ready
FianchettoE62-E691.d4 Nf6 2.c4 g6 3.Nf3 Bg7 4.g3quiet and positional

The Classical (5.Nf3 O-O 6.Be2 e5) is the main battlefield. After 7.O-O Nc6 8.d5 Ne7 White chooses between 9.Ne1, which leads to the famous Mar del Plata, and the sharp Bayonet Attack with 9.b4.

The Samisch (5.f3) is White's most aggressive set-up. The f3 pawn protects e4 and prepares Be3, Qd2 and often g4 and h4. Black usually answers with ...c5, ...e5 or the queenside plan with ...a6, ...c6 and ...b5.

The Four Pawns Attack (5.f4) grabs the most space of all. It is risky for White, because the pawns can become targets after 5...O-O 6.Nf3 c5.

The Fianchetto Variation (with g3 and Bg2) is the calm way. White puts the bishop on the long diagonal too, so Black's kingside attack is much harder.

King's Indian Mar del Plata diagram after 9.Ne1 Nd7 10.f3 f5
The Mar del Plata after 7.O-O Nc6 8.d5 Ne7 9.Ne1 Nd7 10.f3 f5. The centre is locked: White attacks on the queenside with c5, Black attacks the king with ...f4 and ...g5.

A classic trick and typical tactics

The Exchange line looks harmless, but it hides a trick that surprises many club players. After 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 may think the e5 pawn is free: 9.Nxe5. But Black answers 9...Nxe4! and wins the pawn straight back: after 10.Nxe4 Bxe5 the g7 bishop takes on e5 and then eyes b2 on the long diagonal. We checked it with Stockfish: the position is equal, so White's "free pawn" won nothing. The lesson: once the e5 pawn is gone, White's e4 pawn is often loose.

Typical tactics to know:

Who plays the King's Indian?

The King's Indian has been played by many world champions. Mikhail Tal, Bobby Fischer and Garry Kasparov all used it to win famous attacking games. Kasparov played it for most of his career and only gave it up after Vladimir Kramnik scored very well against it in the early 2000s. In the modern game, Hikaru Nakamura, Teimour Radjabov and Ding Liren are well known King's Indian players. You can watch engines fight with it in our engine games in the King's Indian.

Is it right for you? Play the King's Indian if you like sharp games, a kingside attack and taking risks to win with Black. If you prefer a solid, classical game against 1.d4, look at the Queen's Gambit Declined or the Nimzo-Indian.

Practice the King's Indian Defense in the Rama Chess trainer

Reading a guide is the first step. To make the moves stick, practise them. Our opening trainer has 58 King's Indian Defense lines. Each one is checked with Stockfish. You watch the moves with arrows, replay them from memory, then take a test. The full set of lines is part of Rama Chess Premium.

A good start is the Classical (E92 to E99) and the Samisch (E81 to E89), because they are the most common at every level.

See all our chess opening guides.

King's Indian Defense FAQ

What are the moves of the King's Indian Defense?

The main position comes after 1.d4 Nf6 2.c4 g6 3.Nc3 Bg7 4.e4 d6. Black usually castles next and then plays ...e5 or ...c5.

Is the King's Indian Defense good?

Yes. It is a fully sound defence that has been played by world champions such as Tal, Fischer and Kasparov. It is sharp and risky, so it suits players who like to fight.

What is the Mar del Plata variation?

It is the main line of the Classical King's Indian: 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.f3 f5. The centre is closed and both sides attack on opposite wings.

What is the best system for White against the King's Indian?

There is no single best one. The Classical with 5.Nf3 and 6.Be2 is the most popular. The Samisch (5.f3) is the most aggressive, and the Fianchetto (g3) is the safest.

Is the King's Indian good for beginners?

It is easy to start, because Black's first moves are simple: Nf6, g6, Bg7, d6 and castle. The middlegames are sharp, so learn the main plans before you play it in serious games.

What is the difference between the King's Indian Defense and the King's Indian Attack?

The King's Indian Defense is played by Black against 1.d4. The King's Indian Attack is a set-up for White with Nf3, g3, Bg2, O-O, d3 and e4.

Watch on YouTube

Prefer video? Our channels show real games move by move, with clear explanations.

▶
Stockfish 100 — engine games explained
youtube.com/@stockfish100
›
▶
Best Chess Channel — tactics, traps and training
youtube.com/@bestchesschannel
›

Ready to practise?

You know the ideas. Now train the moves until you play them without thinking.