Skip to content
♚ Chess Online

Opening Preparation: How to Build a Repertoire

Lesson 8 of 10Advanced⏱ 6 min read

Opening preparation means building and studying a repertoire: a small, consistent set of lines you always play, with a ready answer to each of your opponent's main moves. A good repertoire starts with ideas — typical pawn structures and plans — and only then goes down to the moves; it lives in notes you can review; and it keeps being corrected with your own games. The goal is not to memorize as much theory as possible but to reach a middlegame you understand.

What a repertoire is

A tournament player's minimum repertoire has three parts:

  1. As White: a first move (1.e4, 1.d4 or something else) and answers to the main defenses.
  2. As Black against 1.e4: one defense.
  3. As Black against 1.d4: one defense, which also needs a plan against 1.c4 and 1.Nf3.

Consistency helps a lot. If your openings lead to similar structures — say, closed pawn chains, or positions with an isolated pawn — the middlegame plans repeat and what you learn in one carries over to the other. If you're still choosing, start with the options in chess openings for beginners and with your style: open, tactical positions, or closed, maneuvering ones.

Ideas before moves

Memorizing a sequence without understanding why works until your opponent leaves the book — and they always do. For each opening in your repertoire, first answer:

8a7b6c5d4e3f2g1h♜︎♞︎♛︎♚︎♝︎♞︎♜︎♟︎♟︎♟︎♟︎♟︎♟︎♟︎♝︎♟︎♞︎♟︎♟︎♟︎♟︎♟︎♟︎♜︎♝︎♛︎♚︎♝︎♞︎♜︎
Caro-Kann Defense after 1.e4 c6 2.d4 d5 3.Nc3 dxe4 4.Nxe4 Bf5. Black has developed the light-squared bishop before closing the chain with ...e6 — an idea, not just a move.

In this Caro-Kann example, understanding that the c8 bishop comes out before ...e6 is worth more than memorizing ten moves: that's why the move exists, and that's what you'll remember when your opponent deviates from the main line.

How deep to go into theory

The right depth depends on your level and the type of opening:

💡 Tip: a good rule is to study each line until the position "becomes a familiar middlegame" — when you recognize the structure and know the plan. Past that point, understanding beats memorizing.

Move orders and transpositions

The same position can arise along different paths. That's called a transposition, and it is both a weapon and a trap.

8a7b6c5d4e3f2g1h♜︎♞︎♝︎♛︎♚︎♝︎♜︎♟︎♟︎♟︎♟︎♟︎♟︎♟︎♞︎♟︎♟︎♟︎♞︎♟︎♟︎♟︎♟︎♟︎♟︎♜︎♝︎♛︎♚︎♝︎♞︎♜︎
Queen's Gambit Declined. This position arises both from 1.d4 Nf6 2.c4 e6 3.Nc3 d5 and from 1.d4 d5 2.c4 e6 3.Nc3 Nf6.

Knowing your transpositions lets you:

Traps: know them so you don't fall in, and so you can punish

Every opening has traps, and your repertoire should include the ones in your lines — both to avoid them and to cash in when your opponent falls for them. A classic example is Légal's mate: after 1.e4 e5 2.Nf3 d6 3.Bc4 Bg4 4.Nc3 g6?, White plays 5.Nxe5!, apparently giving up the queen. If 5...Bxd1??, mate in two follows (you solved it in opening principles). Instead, Black should accept losing a pawn — for example, 5...dxe5 6.Qxg4.

8a7b6c5d4e3f2g1h♜︎♞︎♛︎♚︎♝︎♞︎♜︎♟︎♟︎♟︎♟︎♟︎♟︎♟︎♟︎♝︎♟︎♝︎♞︎♞︎♟︎♟︎♟︎♟︎♟︎♟︎♟︎♜︎♝︎♛︎♚︎♜︎
Before Légal's mate: 5.Nxe5! leaves the white queen "hanging" on d1, but taking it costs the game.

Organize and review

A repertoire only works if it's organized and up to date:

  1. Keep one file per opening: the tree of main moves, the typical structure, both sides' plans, the traps and one or two annotated model games.
  2. After every game, compare it with the file. Where did the game leave your repertoire? Who left it, you or your opponent? What was the right move? Write it down.
  3. Before tournaments, review only the lines you play, not everything you've ever studied.
  4. Practice the positions by playing against the computer and in faster games, so the plans come naturally.

Computers and databases: in moderation

Engines and game databases are excellent tools for opening preparation, but they're easy to misuse:

Exercises

Both exercises are traps you haven't met yet in this course. Notice that both depend on move order: a single move played at the wrong moment (4.e3? in the Albin, 5.Nxe5? in the Ruy Lopez) is enough.

Exercise 1 Albin Countergambit: 1.d4 d5 2.c4 e5 3.dxe5 d4 4.e3? Bb4+ 5.Bd2 dxe3! 6.Bxb4??. Black to play and win decisive material.
1h2g3f4e5d6c7b8a♜︎♞︎♝︎♛︎♚︎♞︎♜︎♟︎♟︎♟︎♟︎♟︎♟︎♟︎♝︎♟︎♟︎♟︎♟︎♟︎♟︎♟︎♜︎♞︎♛︎♚︎♝︎♞︎♜︎
Hint

Start with a pawn check. When you promote, a queen is not the best choice.

Show solution

6...exf2+ 7.Ke2 fxg1=N+

6...exf2+ 7.Ke2 (7.Kxf2? Qxd1) fxg1=N+! — promoting to a knight gives check. If 8.Rxg1, 8...Bg4+ wins the queen; if 8.Ke1, 8...Qh4+ and Black, a piece up, attacks the king (8.Kf2 or 8.Ke3? Qxd1). Promoting to a queen (7...fxg1=Q?) would allow 8.Qxd8+. This is the Lasker Trap, a must-know for anyone who plays the Albin.

Exercise 2 Ruy Lopez, Mortimer Trap: 1.e4 e5 2.Nf3 Nc6 3.Bb5 Nf6 4.d3 Ne7 5.Nxe5? c6 6.Bc4?. Black to play and win a piece.
1h2g3f4e5d6c7b8a♜︎♝︎♛︎♚︎♝︎♜︎♟︎♟︎♟︎♞︎♟︎♟︎♟︎♟︎♞︎♞︎♝︎♟︎♟︎♟︎♟︎♟︎♟︎♟︎♟︎♜︎♞︎♝︎♛︎♚︎♜︎
Hint

The e5 knight has been left undefended. A check could hit it at the same time.

Show solution

6...Qa5+

6...Qa5+! checks along the a5-e1 diagonal and hits the e5 knight along the fifth rank. Whatever White does about the check (c3, b4, Nc3, Nd2, Bd2, Qd2 or a king move), the knight falls: 7...Qxe5. Anyone who plays the Ruy Lopez as White needs to know that 5.Nxe5 is a mistake in this move order.

Frequently asked questions

How many openings do I need to know?

One as White and two as Black (one against 1.e4 and one against 1.d4) already make a complete tournament repertoire.

Should I memorize lines?

Understand the ideas first: pawn structure, piece placement and pawn breaks. Then memorize the critical lines, especially in tactical openings.

How far should I study each line?

Until the position becomes a middlegame you recognize and know how to play. Beyond that, prioritize the lines that come up in your own games.

How do I review my repertoire?

After each game, find where it left your repertoire and what the right move would have been, and add it to that opening's file.

Next step

Advanced · Lesson 9 · 6 min read Chess Clock and Psychology: Time and Nerves How to manage your time on the chess clock, avoid time trouble, control your nerves and how to play when you're winning or losing a chess game.

Practice now

Test your repertoire

Play 5 games against the computer with the same opening and compare each one with your file: where did the game leave what you studied?

▶ Play the AI (Hard)