Chessmate

Budapest Defense

The Budapest Defense begins with 1.d4 Nf6 2.c4 e5. Black gives up the e-pawn on move two, chases it with 3...Ng4, and aims for fast development and pressure on White's dark squares. The White course defends e5 with 4.Bf4 and handles the Fajarowicz with 4.a3, and the Black course plays 3...Ng4 with answers to 4.Bf4, 4.Nf3, 4.e4, 4.Qd4, and the declined lines.

By Chessmate Team · Reviewed

Courses to train

Each Budapest Defense course groups the practical variations, replies, and lines you need to practice for real games.

Train the Budapest Defense on the board — recall each move, keep it on a spaced review schedule.

Start training

Budapest Defense win rates and most played moves

Lichess players rated 1200–1999 reached 1. d4 Nf6 2. c4 e5 in 6.09M blitz, rapid, and classical games. White won 47% of them, 4% were drawn, and Black won 49%.

White’s most played moves next
MovePlayedResults
3. dxe555%White wins 48%Draws 4%Black wins 48%
3. d522%White wins 44%Draws 4%Black wins 52%
3. Nc311%White wins 47%Draws 4%Black wins 49%
3. e37%White wins 47%Draws 5%Black wins 48%
3. Nf33%White wins 46%Draws 4%Black wins 50%
3. Bg51%White wins 43%Draws 4%Black wins 53%

These numbers describe past games at this level. They show what you are likely to face, not whether a move is objectively best.

Source: Lichess opening explorer, built from the CC0 Lichess games database. Rating groups use the average rating of both players. Retrieved October 15, 2026.

Why the Budapest Defense is worth training

The Budapest Defense after 1.d4 Nf6 2.c4 e5 3.dxe5 Ng4.

The Budapest Defense starts with 1.d4 Nf6 2.c4 e5. Black offers the e-pawn on move two, and after 3.dxe5 Ng4 the knight goes straight after it. Black usually wins the pawn back within a few moves. The point of the gambit is fast development and pressure on e5 before White settles into a normal Queen's Gambit structure.

In Lichess games, about one Black player in eleven answers 1.d4 Nf6 2.c4 with 2...e5, and Black wins 49%, a little more than after 2...e6 or 2...g6. White takes the pawn with 3.dxe5 a little over half the time and closes the center with 3.d5 about one game in five. After 3.dxe5, nearly nine Black players in ten play 3...Ng4, and most of the rest choose the Fajarowicz, 3...Ne4.

Chessmate has a Budapest Defense course for White and a Budapest Defense course for Black, with fourteen lines each. The White course defends e5 with 4.Bf4 and meets the Fajarowicz with 4.a3. The Black course plays 3...Ng4 and answers 4.Nf3, 4.Bf4, 4.e4, 4.e3 and 4.Qd4, plus 3.d5, 3.Nf3 and 3.e3.

Choosing the Budapest, and what it costs

With White, the course answers 3...Ng4 with 4.Bf4, which is not the most common choice: about one White player in six plays it, while more than half play 4.Nf3. It scores better, with White winning 52% after 4.Bf4 and 47% after 4.Nf3. In the main line after 4...Nc6 5.Nf3 Bb4+ 6.Nbd2 Qe7, White wins 57% with the course's 7.e3, and most of White's losses there come from 7.a3, shown in the traps section. The gaps are 4...Bc5, about one game in seven after 4.Bf4, and 6...Qe7 after 5...Bc5 6.e3, Black's most common reply there. Against the Fajarowicz, only about one White player in fifteen plays 4.a3, but it scores 53%. 4...Bc5 and 4...Nc6 have no line.

With Black, the Budapest needs 2.c4. After 1.d4 Nf6, about four White players in ten play 2.c4, so against 2.Bf4, 2.Nf3 and the rest you need another setup. Inside the gambit, 4.Bf4 is the harder test: Black wins 43% after it, against 49% after 4.Nf3. The course has no line against 3.Nc3, about one game in nine after 2...e5, or against 4.f4 and 4.Nc3, which together come up about one game in ten after 3...Ng4.

The White sample line: 4.Bf4 and the queenside push

The rook and queen face the isolated d6 pawn after 1.d4 Nf6 2.c4 e5 3.dxe5 Ng4 4.Bf4 Nc6 5.Nf3 Bb4+ 6.Nbd2 Qe7 7.e3 Ngxe5 8.Nxe5 Nxe5 9.Be2 O-O 10.O-O Bxd2 11.Qxd2 d6 12.b4 b6 13.c5 Bb7 14.cxd6 cxd6 15.Rfd1.

4.Bf4 defends e5 with a piece and develops the bishop outside the pawn chain. After 4...Nc6 5.Nf3 Bb4+, the course blocks with 6.Nbd2, so that if Black trades the bishop, White recaptures with the queen and keeps the pawns intact. Black almost always adds a third attacker on e5 with 6...Qe7, and the course gives the pawn back: 7.e3 Ngxe5 8.Nxe5 Nxe5, then White develops with 9.Be2 and castles.

After 9...O-O 10.O-O Bxd2 11.Qxd2 d6, White has the bishop pair and Black has a strong knight on e5. White plays on the queenside. 12.b4 gains space and prepares 13.c5, and after 13...Bb7 14.cxd6 cxd6, Black's d6 pawn is isolated. 15.Rfd1 lines up the rook and queen against it, while the f4 bishop presses the e5 knight that the pawn defends.

Black's choices are spread out in this line. After 9.Be2, 9...d6 and 9...O-O make up about four games in five, and the course covers both. After 10.O-O, 10...a5 comes up about one game in ten and has no line. After 12.b4, Black's most common reply is 12...Be6, about a third of games, which also has no line; the course's 12...b6 is nearly as common.

When Black leaves the 4.Bf4 main line

4...Bb4+ comes up about one game in nine after 4.Bf4. The course blocks with 5.Nd2, and if Black continues 5...Nc6 6.Nf3, the position is the same as in the sample line after 6.Nbd2. The trouble starts after 5...d6 6.exd6 Qf6, when the queen hits the f4 bishop and the b2 pawn at once. The course defends the bishop with 7.e3, lets 7...Qxb2 happen and develops with 8.Ngf3, and after 8...Bxd6 9.Bxd6 cxd6, material is level. Black wins 63% after 6...Qf6, so learn this line before you rely on 4.Bf4. The same queen raid appears after the rare 6...f6 in the main line: 7.exf6 Qxf6 8.e3 Qxb2.

4...g5 comes up about one game in thirteen. More than nine White players in ten retreat with 5.Bg3; the course plays 5.Bd2, which is rare but scores 59%. After 5...Nxe5 6.Nf3, White either trades on e5 and fianchettoes, or castles queenside and uses h4 against Black's loosened kingside. 5...Bg7, Black's most common answer to 5.Bd2, has no line.

After 4...Nc6 5.Nf3, about one Black player in seven develops with 5...Bc5. The course follows 6.e3 f6 7.Nc3 Bb4 8.exf6 Qxf6 9.Rc1: Black pins the c3 knight and hits it twice, and the rook adds a defender. 6...Qe7, about half of Black's replies to 6.e3, has no line.

The Fajarowicz with 3...Ne4

The knight on f2 can take the rook but cannot get out after 1.d4 Nf6 2.c4 e5 3.dxe5 Ne4 4.a3 d6 5.Qc2 Bf5 6.Nc3 Nxf2 7.Qxf5.

About one Black player in nine answers 3.dxe5 with the Fajarowicz, 3...Ne4. The knight takes a central square instead of attacking e5, and Black often plays a pawn down for a while in return for quick development. Most White players answer 4.Nf3; the course plays 4.a3, which takes b4 away from Black's bishop so ...Bb4+ never comes.

After 4...d6, Black's most common reply, the obvious 5.exd6 is also White's most common move, and Black wins about two games in three after it because Black's pieces come out quickly. The course plays 5.Qc2, which attacks the e4 knight, and White wins 61% after it.

Black's natural 5...Bf5 defends the knight, and seven Black players in ten choose it. 6.Nc3 adds a second attacker. 6...Nxf2 uncovers the f5 bishop's attack on the c2 queen and hits the h1 rook, but 7.Qxf5 takes the bishop first. After 7...Nxh1, the knight on h1 has no way out. The course keeps it boxed in with 8.Nf3, trades queens with 11.Qxd7+, and White collects the knight later with two minor pieces for a rook.

The course also covers 5...Nc5 and 4...b6. 4...Bc5, about one game in five after 4.a3, and 4...Nc6 have no line.

The Black sample line: the Adler with ...Re8

The queen lands on g4 with material level after 1.d4 Nf6 2.c4 e5 3.dxe5 Ng4 4.Nf3 Bc5 5.e3 Nc6 6.Nc3 O-O 7.Be2 Re8 8.Nd2 Ngxe5 9.Nde4 Bf8 10.b3 d6 11.Bb2 Qh4 12.Ng3 Be6 13.Qd2 f5 14.Nd5 Rac8 15.f4 Ng4 16.Bxg4 Qxg4.

4.Nf3, the Adler Variation, is White's most common answer to 3...Ng4, more than half of games. The course plays 4...Bc5, a little more than a third of Black's choices, which develops and eyes f2; half of Black players prefer 4...Nc6. White almost always plays 5.e3. After 5...Nc6 6.Nc3 O-O 7.Be2 Re8, three Black pieces aim at e5, and White cannot hold it for long.

8.Nd2 heads for e4 to hit the c5 bishop, and 8...Ngxe5 takes the pawn back. After 9.Nde4 Bf8, the bishop retreats to guard the kingside. 10.b3 d6 11.Bb2 Qh4 brings the queen over, and Black gains space with 13...f5. When White kicks the e5 knight with 15.f4, it jumps to g4, and after 16.Bxg4 Qxg4, material is level, White's king is still on e1, and Black's queen and rooks are active.

The course has two more Adler lines. Against 6.Be2, it takes with the c6 knight, 6...Ncxe5, and later swings the rook along the sixth rank with ...a5 and ...Ra6. Against 7.a3, 7...a5 stops b4 before Black takes on e5.

The sample line is rare past move seven. After 7...Re8, about four White players in five castle with 8.O-O, which has no line; Black wins 52% there and most often takes on e5 with the g4 knight, as in the sample line. After 5...Nc6, 6.Qd5, 6.h3 and 6.a3 together come up about four games in ten, and none of them has a line.

Black's answers to 4.Bf4, 4.e4, 4.e3, 4.Qd4 and the declined lines

4.Bf4, the Rubinstein Variation, is the line to learn carefully. After 4...Nc6 5.Nf3 Bb4+, White blocks with 6.Nc3 slightly more often than with 6.Nbd2. Against 6.Nbd2 Qe7, the course covers 7.e3 and 7.a3, and in both Black takes on e5 and gives up the bishop for the d2 knight with ...Bxd2+. Against 6.Nc3, the course has 6...Qe7, about seven Black players in ten, and the immediate 6...Bxc3+. In both, Black doubles White's c-pawns, then plays ...f6 and stays a pawn down for quick development. After 6...Qe7, the course follows 7.Qd5, about half of White's choices. The other seventh moves have no line, and 7.Qb3, about one game in fourteen, stands out because White wins 68%.

Against 4.e4, the Alekhine Variation, Black takes with 4...Nxe5, and after 5.f4 the course covers both knight retreats, 5...Ng6 and 5...Nec6, which are about equally common. 5.Nf3 and 5.Nc3, together about four games in ten after 4...Nxe5, have no line. Against 4.e3, Black also takes on e5, and the course follows 5.Nh3 g6 with a kingside fianchetto. 5.Nh3 is only about one White reply in six there, Black rarely answers it with 5...g6, and 5.Nf3, 5.Nc3 and 5.f4 have no line.

Against 4.Qd4, Black plays 4...d6 about seven times in ten and wins 60% after it. The course line ends with a knight fork shown in the traps section.

When White declines the pawn, the course has three lines. Against 3.d5, about one game in five, it plays 3...Bc5, Black's most common choice, then ...d6, castles, and attacks the kingside with ...Ng4, ...Qh4 and ...f5. Against 3.Nf3, the course pushes 3...e4 and meets 4.Nfd2 with 4...d5. Against 3.e3, Black takes with 3...exd4 and checks on b4 after 4.exd4. 3.Nc3, about one game in nine, has no line; most Black players take with 3...exd4.

Traps and common mistakes

Smothered mate after 1.d4 Nf6 2.c4 e5 3.dxe5 Ng4 4.Bf4 Nc6 5.Nf3 Bb4+ 6.Nbd2 Qe7 7.a3 Ngxe5 8.axb4 Nd3#.

The best-known Budapest trap ends in mate on move eight. After 4.Bf4 Nc6 5.Nf3 Bb4+ 6.Nbd2 Qe7, about half of White players play 7.a3 to question the bishop. Black leaves the bishop where it is and plays 7...Ngxe5, and about half of White players then take it with 8.axb4. 8...Nd3 is mate: the e2 pawn cannot capture because the e7 queen pins it, and White's own pieces and pawns fill the king's other squares. White wins only 29% after 7.a3. With White, the course plays 7.e3 first; with Black, it meets 7.a3 with the same 7...Ngxe5.

The g4 knight can also be the victim. When White's e-pawn moves and no knight stands on f3, the d1 queen sees g4. After 1.d4 Nf6 2.c4 e5 3.dxe5 Ng4 4.Bf4 Bc5 5.e3 Nc6 6.Qxg4, Black has lost a knight. About half of White players find 6.Qxg4, and White wins about seven games in ten after it. The same shot appears after 4.e3 Nc6 5.Qxg4 and 4.e4 Bc5 5.Qxg4. In the 4.Nf3 lines the f3 knight blocks the diagonal, so ...Bc5 and ...Nc6 are safe there. Against 4.e3 or 4.e4, move the g4 knight first, as the course does with 4...Nxe5.

With Black, 4.Qd4 gives you a tactic to know. The course line runs 1.d4 Nf6 2.c4 e5 3.dxe5 Ng4 4.Qd4 d6 5.exd6 Bxd6 6.Bd2 O-O 7.h3 Nc6 8.Qe4 Re8 9.Qc2 Nxf2 10.Nc3 Nd4 11.Qa4 Nd3+ 12.Kd1 Nxb2+. The e2 pawn cannot take on d3 because the e8 rook pins it, so 12.Kd1 is forced, and 12...Nxb2+ forks the king and the queen on a4.

With White, beware 4.f3 against the Fajarowicz. It kicks the knight but opens the e1-h4 diagonal: after 1.d4 Nf6 2.c4 e5 3.dxe5 Ne4 4.f3 Qh4+ 5.g3 Nxg3 6.hxg3 Qxh1, Black has won a rook. Black wins about three games in four after 4.f3, and the course's 4.a3 avoids the problem.

What to train first

With White, start the Budapest Defense course for White with the 4.Bf4 sample line and its branches after 9.Be2, then the Fajarowicz lines, since 5...Bf5 is Black's usual answer to 5.Qc2 and the trap that follows wins material. Then add the 4...Bb4+ and 4...g5 lines. Before your first game, decide what you play against 4...Bc5 and against 6...Qe7 after 5...Bc5 6.e3, and play 7.e3 in the main line before you question the bishop. If your opponents often play 12...Be6 or 10...a5, or answer 4.a3 with ...Bc5 or ...Nc6, expect positions the course does not train.

With Black, start the Budapest Defense course for Black with the Adler sample line, since 4.Nf3 is White's most common fourth move, and then the 4.Bf4 lines with the 7.a3 trap, because 4.Bf4 is the harder test. Add the 4.Qd4 fork and the 3.d5 line next. Before your first game, decide what you play after 7...Re8 8.O-O, and prepare replies to 6.Qd5, 6.h3 and 6.a3 in the Adler and to 3.Nc3. The course starts after 2.c4 e5, so if your opponents often play 1.d4 Nf6 2.Bf4 or 1.d4 Nf6 2.Nf3, expect positions the course does not train.

Master the Budapest Defense

Turn the Budapest Defense from something you recognize into moves you can recall on the board.

Start training