KnightyLearnChess
OpeningsPlay as White

The King's Indian Attack: One Setup, Four Answers

Learn the King's Indian Attack as a setup, not a move list — the seven moves White nearly always plays, and how the plan changes against Black's four main answers.

Try Interactive Lesson

Introduction

The King's Indian Attack is the easiest opening to set up and one of the hardest to play well. The setup is seven moves that hardly ever change: ♘︎f3, g3, Bg2, O-O, d3, Nbd2, e4. You can play them almost with your eyes closed. The hard part comes on move eight, because the right plan depends completely on what Black has built in the meantime. This lesson teaches the setup once and then walks through Black's four main answers: the French-type wall with ..e6, ..d5 and ..c5; the Sicilian-type setup with ..c5, ..♘︎c6 and ..g6; the mirror, where Black fianchettoes too; and the solid setup where Black's bishop comes out to g4 or f5. Each one gets its own plan. Every position below is taken from a real master game.

Lesson Content

Try this position

Firouzja – Le Quang Liem, Titled Tuesday 2024, after 8. ♖︎e1. This is the King's Indian Attack with every piece on its square. Read it from the king outwards. The king's house is a knight on f3, a bishop tucked into g2 behind the g3-pawn, and a castled king. A bishop developed to the long diagonal like this is called a *fianchetto*. Then comes the centre: the pawn to d3 first, the queen's knight to d2 behind it, and only then the pawn to e4. The d3-pawn guards e4, the knight on d2 guards it again, and the rook on e1 stands behind it, ready to back the pawn when it goes forward. Notice what White has *not* done: no white pawn has crossed the fourth rank and nothing has been traded. White plays these same moves almost whatever Black does — it is the King's Indian Defence with colours reversed and an extra move in hand. So the setup is not the lesson. The lesson is the plan, and the plan depends on Black's pawns. Here Black has built a French-style wall with pawns on c5, d5 and e6. That is the classic case, so we start with it.

DevelopmentPawn Structure
Try this position
10. e5

Black's knight on f6 is the king's best defender. Which pawn push chases it away and locks the centre?

10. e5 — Karjakin – Shankland, World Cup 2021. This game began as a French Defence, with both e-pawns moving first, and still reached the same setup. That is what makes it a system. Against the c5-d5-e6 wall this pawn push is the plan, and it does three jobs at once. It chases the knight from f6, the best defender of Black's king. It locks the centre, so Black cannot answer an attack on the wing by opening the middle. And it splits the board: Black's pieces on the queenside now have a hard time crossing over to help their king. A pawn driven into the enemy half like this is called a *wedge*. It needs looking after: after 10. ..♘︎d7 two black knights attack it, and the knight on f3 and the rook on e1 hold it. That is why the rook goes to e1 *before* the pawn goes forward.

SpacePawn Structure
Alternative Moves
exd5 — Trading in the centre gives up the wedge before it exists. After 10...exd5 the e-file is open, Black's light-squared bishop has a free diagonal from c8, and nothing is aimed at Black's king any more — the engine already prefers Black a little.
Try this position
11. ♘︎f1

Your knight on d2 blocks the c1-bishop and is far from the black king. Start its trip to the kingside.

11. ♘︎f1 — The knight leaves d2 for two reasons. First, it was in the way: now the bishop on c1 can come to f4 and guard the wedge a third time. Second, the knight is on its way to the kingside. Its usual road is f1-h2-g4, where it looks at f6 and h6, right next to Black's king. The other road is f1-e3, eyeing d5 and g4. Karjakin took the first one, and his knight reached h2 six moves later. Starting an attack with a backward knight move looks odd, and that is exactly why it is worth learning. With the centre locked there is no hurry. Black cannot open the middle, so White has time to bring every piece over before striking.

Piece ActivityKing Attack
Alternative Moves
d4 — It looks sensible to support e5 with a pawn, but 11...cxd4 wins a pawn and White cannot safely take back on d4. In this plan the d-pawn stays on d3 until the pieces are ready.
Try this position
12. h4

Before the bishop comes out, one pawn move takes the g5-square away from Black and starts the attack.

12. h4 — The h-pawn is the attack's battering ram. On h4 it first does a quiet job: it controls g5, so the bishop can come to f4 without being hit by ..g5. Then it keeps walking. On h5 it asks Black a hard question: let it reach h6 and loosen the squares around the king, or stop it with ..h6 and give White's g-pawn something to bite on. After 12. ..♗︎b7 13. h5 Shankland chose 13. ..h6, and Karjakin's g-pawn later went g4-g5 to open the g-file. Now look at the other wing: Black's b-pawn has started too. From here on it is a race — White's pieces against Black's king, Black's pawns against White's queenside. Neither side has time to defend.

King AttackProphylaxis
Alternative Moves
♗︎f4 — The right square, one move too early: 12...g5 hits the bishop, and after 13.♗︎e3 g4 the f3-knight has to leave and a black knight takes on e5. The wedge is gone and so is a pawn. Push the h-pawn first and it guards g5.
Try this position

The same game after 19. ♖︎g1 — the race in one picture. White's side: the wedge on e5, the h-pawn on h5, the g-pawn on g4 ready to go to g5, a rook already on g1 (the bishop on g2 still stands in its way and steps aside later, to f1 on move 26), the bishop on f4, the queen on d2 and both knights on the kingside. Nearly everything White owns points at one king. ♗︎lack's side: the pawns on a4 and b4 have reached White's queenside, and Black's rooks stand on the a- and c-files behind them. This is the model King's Indian Attack middlegame. White is not better by force — the engine calls it roughly level. But the targets are not equal: White is playing for the king, Black for a few pawns. A slip by White costs a pawn. A slip by Black costs the game.

King AttackSpace
Try this position
27. ♖︎xg7+

Black is one move from hitting your queen and rook with a pawn. Your pieces are all aimed at the king — break in with check.

27. ♖︎xg7+ — The race is decided. Black's pawns have arrived: one more move and ..axb2 would attack queen and rook at once. But White's attack lands first. After 27. ..♔︎xg7 28. ♘︎g4 the knight that left d2 on move 11 delivers the blow. Shankland gave up his queen with 28. ..f5 29. exf6+ ♕︎xf6 30. ♘︎xf6, and Karjakin mated him on move 36. Carrying on with the pawns was no better: 28. ..axb2 29. ♕︎h6+ ♔︎g8 30. ♘︎f6+ ♕︎xf6 31. exf6 leaves no defence to mate on g7. Every part of the plan shows up in this one combination. The wedge on e5 keeps the defenders away from f6 and then captures there. The h-pawn covers g6. The g-pawn opened the file for the rook. And the knight from d2 arrives on g4 just in time.

SacrificeKing Attack
Alternative Moves
♘︎g4 — The right piece, one move too slow. 27...axb2 attacks your queen and rook at once and Black wins the race. The rook has to crash through first, with check, so Black has no time for the pawn capture.
bxa3 — Stopping to defend loses the race anyway: 27...b2 attacks queen and rook at once, and the attack never gets going again.
Try this position
7. c3

No knight on f6, and two black pieces already aim at e5. Prepare a different pawn advance in the centre.

7. c3 — Kamsky – Bartel, Istanbul Olympiad 2012. Black has chosen a Sicilian-style setup: ..c5, ..♘︎c6, a fianchettoed bishop on g7 and the king's knight on e7 instead of f6. Compare it with the French wall. There is no knight on f6 for the e-pawn to chase, and both the bishop on g7 and the knight on c6 are aimed straight at e5. The wedge does not work here: 7. e5 ♘︎xe5 8. ♘︎xe5 ♗︎xe5 and Black has won a pawn. So the plan changes. With c3 White prepares d4: a pawn in the middle of the board instead of a wedge on e5. The c3-pawn also blunts the g7-bishop's long diagonal. Kamsky played d4 two moves later. Black usually answers with ..cxd4, and the centre opens: in the game 9. d4 cxd4 10. ♘︎xd4 put a white knight in the middle and gave both sides open lines. Notice that the queen's knight is still on b1. Against this setup it often skips d2, because it may be wanted on a3, and from there on c2, once the centre opens. Kamsky's knight went exactly that way. The kingside setup is the same; the plan in the middle is different.

Center ControlPawn Structure
Alternative Moves
e5 — The French-type reflex in the wrong position. 7...♘︎xe5 8.♘︎xe5 ♗︎xe5 wins the pawn for nothing: the knight on c6 and the bishop on g7 both attack e5, and only your f3-knight defends it.
Try this position
10. ♘︎c2

Black has built a King's Indian setup of his own. Bring the knight on the rim to the square from which it backs both b4 and d4.

10. ♘︎c2 — Giri – Topalov, Norway Chess blitz 2015. The first seven moves were the same as in the last game. Then Topalov answered 8. ♖︎e1 with ..e5 and ..d6. Look at what Black has built: a fianchettoed bishop, pawns on d6 and e5, a castled king — a King's Indian of his own, with ..c5 added. This is the mirror. A black pawn stands on e5, so there is no wedge. There is no knight on f6 to chase, and Black's king sits behind a solid pawn shield with the bishop on g7 in front of it. A kingside attack has nothing to aim at yet. When the mirror appears, White plays on the queenside. The knight came from b1 to a3 and now to c2, where it supports both pawn breaks, b4 and d4. Giri continued with a3 and b4 and gained space on that wing. Patience matters here. There is no king to hunt, so White improves the pieces and prepares a break.

SpacePiece Activity
Alternative Moves
d4 — The right break, one move early. After 10...exd4 11.cxd4 ♘︎xd4 12.♘︎xd4 cxd4 the pawn on d4 cannot be taken, because the bishop on g7 guards it — Black is a pawn up. The knight on c2 adds the defender that d4 needs.
Try this position
7. exd5

Black owns the whole centre. Don't push past it — open the position so your rook and bishop get targets.

7. exd5 — Nepomniachtchi – Caruana, London Chess Classic 2017. Here Black fianchettoes *and* takes the whole centre with pawns on d5 and e5. Now the name 'reversed King's Indian' is exactly true: White has the King's Indian Defence with an extra move. And White plays it the way King's Indian players often do — trade in the centre and attack what is left. After 7. ..♘︎xd5 the e-file is half-open. With 8. ♖︎e1 a rook stands opposite the e5-pawn, and the queen's knight comes to c3 to challenge the knight on d5. The long diagonal is open behind your f3-knight, so whenever that knight moves, the bishop on g2 hits d5 and b7. Black's proud centre has become a target. Compare it with the French wall: there White pushed past the centre pawns; here White trades one and presses on the other.

Center ControlPiece Activity
Alternative Moves
♘︎c3 — Natural, but 7...d4 pushes the knight back with gain of time and closes the centre. That is a different, slower game: the e-file stays shut and your rook and bishop get no targets. Trade on d5 first and the knight can come to c3 without being hit.
♖︎e1 — The usual setup move lets Black close the centre with 7...d4. Then the e-file stays shut, the rook on e1 has nothing to look at, and your e4-pawn blocks the bishop on g2 for a long time.
Try this position

Kramnik – Vitiugov, Alekhine Memorial 2013, after 6. ♕︎e1. Black's fourth main answer is the most solid one: pawns on c6 and d5, and the light-squared bishop developed outside the pawn chain — to g4, as here, or to f5 — before ..e6 can shut it in. Black gets a firm centre without a bad bishop. That bishop changes White's move order. It looks through the f3-knight at the e2-pawn. The moment White plays e4, the knight would be pinned to a queen on d1. Kramnik's 6. ♕︎e1 solves this in advance: the queen steps off the diagonal and supports e4 from behind, so the pawn can advance even before ♘︎bd2. White's other tool is h3, which asks the bishop to choose: take on f3 and give White the bishop pair, or retreat to h5, where a knight can chase it later. There is no e5 wedge here either. Vitiugov answered with ..e5 and ..dxe4, and the centre became symmetrical. In this setup White's play comes from the knights.

DevelopmentPiece Activity
Try this position
13. ♘︎h4

The black bishop sits on the edge, and no pawn guards the f5-square. Send a knight on its way there.

13. ♘︎h4 — The same game seven moves on. Kramnik has played h3, the bishop has gone back to h5, and the queen's knight has travelled d2-c4. Now the king's knight heads for f5. No black pawn guards that square any more: the e-pawn has gone to e5, and ..g6 would weaken the king. From f5 a knight eyes g7 and d6. Kramnik's knight landed there on the next move. The move has a second point. With the knight off f3, the bishop on g2 and the f-pawn are both free, and Black's bishop on h5 is staring at empty squares. This is the standard recipe against the bishop outside the chain: h3 to push it to h5, then the knight to h4 — to jump into f5, or to trade itself for the bishop when it retreats to g6.

Piece ActivityKing Attack
Alternative Moves
g4 — Chasing the bishop with a pawn looks even stronger, but after 13...♗︎g6 your e4-pawn is attacked by bishop and knight and guarded only by the queen. A knight has to go backwards to save it, and the pawn on g4 has left holes around your own king.
Try this position
11. ♘︎f3

The h-file is half-open towards your king. Keep the f-pawn at home and bring the knight back to guard the kingside.

11. ♘︎f3 — Karjakin – Jakovenko, Moscow 2012. Against the bishop on f5 Karjakin used the recipe at once: his knight jumped to h4 on move six, the bishop dropped back to g6, and he took it. Black recaptured with the h-pawn, and White had the bishop pair. But look at what the trade left behind. Black's h-pawn has moved to g6, and the rook on h8 looks down a half-open file at h2. In the game Karjakin played the natural attacking move 11. f4 — and it should have cost him. After 11. ..♗︎c5+ 12. ♔︎h1 ♘︎h5 the g3-pawn is under fire. Black threatens ..♘︎xg3+, and the h2-pawn could not take back, because that would open the h-file onto White's own king. The engine has Black more than a pawn ahead. Jakovenko missed it, played 11. ..dxe4, and later lost. The quiet knight move is right. From f3 the knight guards h2 and h4 and eyes g5 and e5, and the f-pawn stays home until the king is safe. Pushing f4 is a real King's Indian Attack plan — but check the h-file and the diagonal to your king first.

King SafetyProphylaxis
Alternative Moves
f4 — The game move, and a typical mistake. 11...♗︎c5+ 12.♔︎h1 ♘︎h5 threatens ...♘︎xg3+, and the h2-pawn cannot recapture because the rook on h8 would then give check down the open file. Black comes out more than a pawn ahead according to the engine.
e5 — There is no wedge here: 11...♕︎xe5 just takes the pawn, because only your queen guards e5. After 12.♕︎xe5 ♘︎xe5 Black is a pawn up.
Try this position

You have the e5 wedge against the French-type wall. The knight on d2 does not stay there. Where does it go, and why?

Piece Activity
Try this position

Black has mirrored your setup: bishop on g7, pawns on c5, d6 and e5, king castled. Which plan fits this position?

SpacePawn Structure

Key Takeaways

  • Setup first: ♘︎f3, g3, ♗︎g2, O-O, d3, ♘︎bd2, e4 and ♖︎e1 — the same moves against almost everything
  • French-type wall: e5 wedge, ♘︎f1-h2-g4, h4-h5 — a race between your king attack and Black's queenside pawns
  • Sicilian-type setup with ...g6 and ...♘︎ge7: no e5 — the bishop on g7 and the knight on c6 win that pawn. Play c3 and d4
  • The mirror: no wedge and no king attack, so play ♘︎c2, a3 and b4. If Black has pawns on d5 and e5, trade on d5 and attack e5
  • Bishop on g4 or f5: ♕︎e1 and h3, then ♘︎h4. If the trade on g6 opens the h-file, do not rush f4

Now play it through

Step through every move on a real board, try the wrong ones, and ask Knighty why they fail.

Practice Interactively

Summary

The King's Indian Attack is one setup — ♘︎f3, g3, ♗︎g2, O-O, d3, ♘︎bd2, e4, usually with ♖︎e1 — and several plans. Against the French-type wall (..e6, ..d5, ..c5) White pushes e5, sends the knight f1-h2-g4, pushes the h-pawn and races Black's queenside pawns to the king. Against the Sicilian-type setup (..c5, ..♘︎c6, ..g6) the wedge loses a pawn, so White builds a centre with c3 and d4. Against the mirror (..g6, ..♗︎g7, ..d6, ..e5) White plays on the queenside with ♘︎c2, a3 and b4. When Black takes the centre with ..d5 and ..e5, White trades on d5 and presses on e5. And when Black's bishop comes out to g4 or f5, White uses ♕︎e1, h3 and ♘︎h4 to chase it — and keeps the f-pawn home if the h-file opens.

Take this lesson with you

Free account required

With every variation — opens in Lichess & ChessBase