♞
Portuguese Gambit Traps
Opening traps · Rama Chess blog
← Articles
Opening traps

Portuguese Gambit Traps: 5 Real Traps for Black (and the Safe Line)

The Portuguese Gambit, 1.e4 d5 2.exd5 Nf6 3.d4 Bg4, is a sharp way for Black to meet 1.e4. The bishop hits the white queen on move 3, and if White chases it with 4.f3, Black gives one or two pawns for a fast attack on the white king. This page has five real traps for Black from that attack: the d4 pin, the e3 rook sac with 11...Bc2!!, the queen hunt with 12...Ng4+!!, the d3 mate and the royal fork. Each trap is on its own board with the side lines and a Stockfish evaluation. At the end you get the safe line for Black when White plays the calm 4.Be2, and an honest look at how good the gambit really is.

9 min readPublished November 2026By 5 traps · 6 boards
▶ Start with trap 1Gambit TrainerScandinavian trapsFree bots
In this article

Watch: Portuguese Gambit, 5 deadly traps for Black

Our video shows all five traps and the safe line on one board, with the voice of our engine. It is on our Facebook page. Watch it, then replay every trap below at your own speed.

▶ Watch the video

The 5 Portuguese Gambit Traps at a glance

#TrapForThe mistakeStockfish after itWhat it wins
1The d4 pinBlack12.Kf2?-4.6 for BlackA pawn, then the a1 rook or the e3 bishop
2The e3 rook sac (11...Bc2!!)Black12.Qxc2??Forced mateThe game (mate)
3The queen hunt (12...Ng4+!!)Black12.Qd2?-8.3 for BlackThe queen
4The d3 mateBlack11.Ne2??Mate in 1The game (mate)
5The royal fork on f2Black10.Ne2?-5.8 for BlackThe h1 rook

How to use the boards: press ▶ Play or tap a move. The buttons above each board switch to the side lines (what if the other player plays something else). Arrows show the threats; draw your own with a right-click drag. The numbers are Stockfish evaluations: + means White is better, - means Black is better.

The main line: 4.f3 and the e3 pin

After 4.f3 Bf5 5.c4 e6 6.dxe6 Nc6 7.exf7+ Kxf7 the white bishop often goes to e3 to guard d4. That is the mistake behind three traps: once a black rook lands on e8, the bishop is pinned to the white king, and everything near the king starts to fall.

BLACK TRAPTrap 1: The d4 pin (10...Qxd4!)

1.e4 d5 2.exd5 Nf6 3.d4 Bg4 4.f3 Bf5 5.c4 e6 6.dxe6 Nc6 7.exf7+ Kxf7 8.Be3 Bb4+ 9.Nc3 Re8White plays 10.Qd2 and 12.Kf2?12...Nc2 - a fork of the a1 rook and the e3 bishop
Analyse
Stockfish 19Stockfish 19commentary
Press play, or step through the moves with the arrows. The commentary changes on every move.
Trap 1: The d4 pin (10...Qxd4!): moves and commentary as text

White guards d4 with the bishop on e3. But after 8...Bb4+ and 9...Re8 the black rook pins that bishop to the king. So the bishop does not really guard d4 at all, and Black takes the pawn for free. Press Play.

1.e4 White puts a pawn on e4 and claims space in the centre.

1...d5 This is the Scandinavian Defence. Black puts a pawn on d5 and claims space in the centre.

2.exd5 White takes on d5 with the e-pawn.

2...Nf6 Black does not take back at once. White can keep the extra pawn for a moment.

3.d4 White puts a pawn on d4 and claims space in the centre.

3...Bg4 The Portuguese Gambit. The bishop hits the white queen at once.

4.f3 The sharpest answer. The pawn chases the bishop.

4...Bf5 The bishop drops back to f5, out of danger.

5.c4 White plays the c-pawn to c4 to fight for the centre.

5...e6 The gambit. Black gives a pawn to open the centre.

6.dxe6 White takes on e6 with the d-pawn. Not the most accurate: Stockfish prefers Nc3.

6...Nc6 Black does not take back. The knight joins the attack on d4.

7.exf7+ White takes on f7 with the e-pawn, with check.

7...Kxf7 The king takes. Now a rook can reach the open e-file fast.

8.Be3? White guards d4 with the bishop. It looks natural, but the bishop now stands on the open e-file. Stockfish -2.5.

Variation

8.Ne2 The best defence. The knight guards d4 and keeps the e-file closed. Stockfish -0.4, close to level.

8...Bb4+ Black develops the bishop to b4, with check.

9.Nc3 White develops the knight to c3.

9...Re8 The rook pins the e3 bishop to the white king.

10.Qd2 The queen guards d4. It is White's best try here, but the pin is still there. Stockfish -2.7.

10...Qxd4! Black takes d4 for free. The e3 bishop cannot take back because it is pinned.

11.Qxd4 The queens come off: White takes back on d4.

11...Nxd4 Now the knight wants to jump to c2.

12.Kf2? The king leaves the e-file, but c2 is left alone. Stockfish -4.6.

Variation

12.O-O-O The best move. The king guards c2. Black is still clearly better, Stockfish -2.5.

12...Nc2 A fork. The knight hits the a1 rook and the e3 bishop. Stockfish: Black is winning (-4.1).

How to avoid it: as White, do not put the bishop on e3 while the e-file is open. Play 8.Ne2: the knight guards d4 and the game is close to level. If you are already in this line, castle long with 12.O-O-O so the king guards c2.

BLACK TRAPTrap 2: The e3 rook sac and 11...Bc2!!

Same line, then 10.Kf2? Rxe3! 11.Kxe3Black plays 11...Bc2!!, White falls for it with 12.Qxc2??16...Qe3# - checkmate
Analyse
Stockfish 19Stockfish 19commentary
Press play, or step through the moves with the arrows. The commentary changes on every move.
Trap 2: The e3 rook sac and 11...Bc2!!: moves and commentary as text

The king steps up to f2 to guard the pinned bishop. Black gives the rook for that bishop, and the white king has to take it and stand on e3. Then comes the quiet 11...Bc2!!: the bishop hits the queen, and the queen cannot leave the d4 pawn. Press Play.

1.e4 White puts a pawn on e4 and claims space in the centre.

1...d5 This is the Scandinavian Defence. Black puts a pawn on d5 and claims space in the centre.

2.exd5 White takes on d5 with the e-pawn.

2...Nf6 Black does not take back at once. White can keep the extra pawn for a moment.

3.d4 White puts a pawn on d4 and claims space in the centre.

3...Bg4 The Portuguese Gambit. The bishop hits the white queen at once.

4.f3 The sharpest answer. The pawn chases the bishop.

4...Bf5 The bishop drops back to f5, out of danger.

5.c4 White plays the c-pawn to c4 to fight for the centre.

5...e6 The gambit. Black gives a pawn to open the centre.

6.dxe6 White takes on e6 with the d-pawn. Not the most accurate: Stockfish prefers Nc3.

6...Nc6 Black does not take back. The knight joins the attack on d4.

7.exf7+ White takes on f7 with the e-pawn, with check.

7...Kxf7 The king takes. Now a rook can reach the open e-file fast.

8.Be3? White guards d4 with the bishop. It looks natural, but the bishop now stands on the open e-file. Stockfish -2.5.

Variation

8.Ne2 The best defence. The knight guards d4 and keeps the e-file closed. Stockfish -0.4, close to level.

8...Bb4+ Black develops the bishop to b4, with check.

9.Nc3 White develops the knight to c3.

9...Re8 The rook pins the e3 bishop to the white king.

10.Kf2? The king steps up to guard the e3 bishop. Stockfish -5.2.

Variation

10.Qd2 The best try, but Black is still better. This is trap 1. Stockfish: Black is winning (-2.3).

10...Rxe3! The rook takes the bishop.

11.Kxe3 White takes back on e3 with the king.

11...Bc2!! A quiet bishop move with the white king in the open. The bishop hits the queen. If the queen leaves d1, the d4 pawn falls with check.

12.Qxc2?? White takes the bishop. Now Black has a forced mate.

Variation

12.Nge2 The best defence: the knight guards d4. Black is still winning, Stockfish -5.3.

12...Qxd4+ The only king move is to e2.

13.Ke2 The king steps out of check to e2.

13...Re8+ The other rook joins with check.

14.Ne4 The best block, but it only slows the mate down.

14...Nxe4 The knight takes the knight on e4. Black threatens mate with the knight on c3.

15.fxe4 White takes back on e4 with the pawn.

15...Rxe4+ Black takes back on e4 with the rook, with check.

16.Kf3 The king steps out of check to f3.

16...Qe3# Checkmate. The queen and the rook do it together.

How to avoid it: as White, never take the bishop on c2 while your king stands on e3: the d4 pawn falls with check and the attack is mating. Bring a knight to guard d4 with 12.Nge2 and fight on a pawn down. Better still, play 8.Ne2 and never let the rook pin the bishop.

Advertisement

BLACK TRAPTrap 3: The queen hunt (12...Ng4+!!)

Same line to 11...Bc2White plays 12.Qd2?12...Ng4+!! and 15...Qxd2+ wins the queen
Analyse
Stockfish 19Stockfish 19commentary
Press play, or step through the moves with the arrows. The commentary changes on every move.
Trap 3: The queen hunt (12...Ng4+!!): moves and commentary as text

This time White does not take the c2 bishop. The queen steps up to d2 to guard d4. It looks safe, but a knight check on g4 opens a path for the black queen to g5, with check, right at the queen on d2. Press Play, then try the king walk to f4.

1.e4 White puts a pawn on e4 and claims space in the centre.

1...d5 This is the Scandinavian Defence. Black puts a pawn on d5 and claims space in the centre.

2.exd5 White takes on d5 with the e-pawn.

2...Nf6 Black does not take back at once. White can keep the extra pawn for a moment.

3.d4 White puts a pawn on d4 and claims space in the centre.

3...Bg4 The Portuguese Gambit. The bishop hits the white queen at once.

4.f3 The sharpest answer. The pawn chases the bishop.

4...Bf5 The bishop drops back to f5, out of danger.

5.c4 White plays the c-pawn to c4 to fight for the centre.

5...e6 The gambit. Black gives a pawn to open the centre.

6.dxe6 White takes on e6 with the d-pawn. Not the most accurate: Stockfish prefers Nc3.

6...Nc6 Black does not take back. The knight joins the attack on d4.

7.exf7+ White takes on f7 with the e-pawn, with check.

7...Kxf7 The king takes. Now a rook can reach the open e-file fast.

8.Be3? White guards d4 with the bishop. It looks natural, but the bishop now stands on the open e-file. Stockfish -2.5.

Variation

8.Ne2 The best defence. The knight guards d4 and keeps the e-file closed. Stockfish -0.4, close to level.

8...Bb4+ Black develops the bishop to b4, with check.

9.Nc3 White develops the knight to c3.

9...Re8 The rook pins the e3 bishop to the white king.

10.Kf2 The king goes to f2.

10...Rxe3 The rook takes the bishop on e3. Black threatens to take the knight on c3.

11.Kxe3 White takes back on e3 with the king.

11...Bc2 The bishop hits the queen.

12.Qd2? The queen steps up and guards d4. It looks safe. Stockfish -8.3.

12...Ng4+!! A knight check. The knight is free to take, but taking it opens the way for the black queen.

13.fxg4 Stockfish -7.7. The other king moves lose even faster.

Variation

13.Kf4 The king walks out.

13...Bd6+ The bishop drops back to d6, with check.

14.Kxg4 The king takes the knight on g4.

14...Bf5+ The bishop drops back to f5, out of danger, with check.

15.Kxf5 The king takes the bishop on f5.

15...Qh4 The king walked into a net. Black mates in two more moves.

13...Qg5+ Check, and the queen also hits the queen on d2.

14.Ke2 The king steps out of check to e2. White threatens to take the queen on g5.

14...Re8+ The rook takes the open e-file, with check.

15.Kf2 The king steps out of check to f2. White threatens to take the queen on g5.

Variation

15.Kf3 The king steps out of check to f3. White threatens to take the queen on g5.

15...Qxd2 The queen is gone, and Stockfish finds a mate in four.

15...Qxd2+ The white queen is gone. Stockfish sees a forced mate for Black.

How to avoid it: as White, after 11...Bc2 guard d4 with a knight (12.Nge2), not with the queen. With the king on e3, every check is dangerous.

The 8.d5 line: two more traps

White can also push 8.d5 and chase the c6 knight. Black answers with ...Nb4 and ...Bc5. Now the black knight looks at d3 and f2, the bishop covers the g1-a7 diagonal, and the white king cannot castle short. Two natural White moves lose at once.

BLACK TRAPTrap 4: The d3 mate (11...Nd3#)

1.e4 d5 2.exd5 Nf6 3.d4 Bg4 4.f3 Bf5 5.c4 e6 6.dxe6 Nc6 7.exf7+ Kxf7 8.d5 Nb4 9.Na3 Bc5White falls for it with 10.Bd2? and 11.Ne2??11...Nd3# - checkmate on move 11
Analyse
Stockfish 19Stockfish 19commentary
Press play, or step through the moves with the arrows. The commentary changes on every move.
Trap 4: The d3 mate (11...Nd3#): moves and commentary as text

In this line White pushes 8.d5 and chases the c6 knight. The knight jumps to b4 and the bishop goes to c5. If White now plays 10.Bd2 and blocks the rook check with the knight, the white king has no square left and a knight check on d3 is mate. Press Play.

1.e4 White puts a pawn on e4 and claims space in the centre.

1...d5 This is the Scandinavian Defence. Black puts a pawn on d5 and claims space in the centre.

2.exd5 White takes on d5 with the e-pawn.

2...Nf6 Black does not take back at once. White can keep the extra pawn for a moment.

3.d4 White puts a pawn on d4 and claims space in the centre.

3...Bg4 The Portuguese Gambit. The bishop hits the white queen at once.

4.f3 The sharpest answer. The pawn chases the bishop.

4...Bf5 The bishop drops back to f5, out of danger.

5.c4 White plays the c-pawn to c4 to fight for the centre.

5...e6 The gambit. Black gives a pawn to open the centre.

6.dxe6 White takes on e6 with the d-pawn. Not the most accurate: Stockfish prefers Nc3.

6...Nc6 Black does not take back. The knight joins the attack on d4.

7.exf7+ White takes on f7 with the e-pawn, with check.

7...Kxf7 The king takes. Now a rook can reach the open e-file fast.

8.d5? The pawn hits the c6 knight. Stockfish -2.8.

Variation

8.Ne2 The best defence, close to level. Stockfish -0.4.

8...Nb4 The knight looks at c2 and d3.

9.Na3 The knight guards c2.

9...Bc5 The bishop takes the long diagonal to g1. White cannot castle short now.

10.Bd2? White hits the b4 knight. But the bishop takes the d2 square from the king. Stockfish -7.8.

Variation

10.Be2 The best move, but Black is still much better. Stockfish -4.1.

10...Re8+ Stockfish likes the quiet capture on d5 even more, but this check sets the trap.

11.Ne2?? The knight blocks the check. Now the king has no square left.

Variation

11.Be2 The only good block.

11...Nd3+ The knight goes to d3, with check.

12.Kf1 The king steps out of check to f1.

12...Nf2 A fork of the queen and the h1 rook.

13.Qb3 The queen moves to b3, out of danger.

13...Nxh1 Black has won a whole rook. Stockfish -6.5.

11...Nd3# Checkmate. The knight gives check, the c5 bishop covers f2, and White's own pieces block the rest.

How to avoid it: as White, after 9...Bc5 play 10.Be2 and keep d2 free for your king. If the rook checks on e8, block with the bishop, never with the knight.

BLACK TRAPTrap 5: The royal fork on f2

Same 8.d5 line to 9...Bc5White falls for it with 10.Ne2?11...Nf2! - the knight forks the queen and the h1 rook
Analyse
Stockfish 19Stockfish 19commentary
Press play, or step through the moves with the arrows. The commentary changes on every move.
Trap 5: The royal fork on f2: moves and commentary as text

Here White plays 10.Ne2 to keep the e-file closed. But the knight check on d3 drives the king to d2, and then the knight hops to f2. From f2 it hits the queen on d1 and the rook on h1 at the same time. Press Play.

1.e4 White puts a pawn on e4 and claims space in the centre.

1...d5 This is the Scandinavian Defence. Black puts a pawn on d5 and claims space in the centre.

2.exd5 White takes on d5 with the e-pawn.

2...Nf6 Black does not take back at once. White can keep the extra pawn for a moment.

3.d4 White puts a pawn on d4 and claims space in the centre.

3...Bg4 The Portuguese Gambit. The bishop hits the white queen at once.

4.f3 The sharpest answer. The pawn chases the bishop.

4...Bf5 The bishop drops back to f5, out of danger.

5.c4 White plays the c-pawn to c4 to fight for the centre.

5...e6 The gambit. Black gives a pawn to open the centre.

6.dxe6 White takes on e6 with the d-pawn. Not the most accurate: Stockfish prefers Nc3.

6...Nc6 Black does not take back. The knight joins the attack on d4.

7.exf7+ White takes on f7 with the e-pawn, with check.

7...Kxf7 The king takes. Now a rook can reach the open e-file fast.

8.d5? The pawn hits the c6 knight. Stockfish -2.8.

Variation

8.Ne2 The best defence, close to level. Stockfish -0.4.

8...Nb4 The knight looks at c2 and d3.

9.Na3 The knight guards c2.

9...Bc5 The bishop takes the long diagonal to g1. White cannot castle short now.

10.Ne2? The knight blocks the e-file. But it also takes the e2 square from the king. Stockfish -5.8.

Variation

10.Be2 White develops the bishop to e2.

10...Re8 The e2 bishop is pinned to the king.

11.Bg5 Stockfish -5.9.

Variation

11.Kf1 The king goes to f1.

11...Nh5 Black is clearly better, Stockfish -4.2.

10...Nd3+ A knight check.

11.Kd2 The king steps to d2. Now look at f2.

11...Nf2! A royal fork. The knight hits the queen on d1 and the rook on h1.

12.Qb3 The queen moves to b3, out of danger.

12...Nxh1 Black has won a whole rook. Stockfish -5.4.

How to avoid it: as White, play 10.Be2 instead. Black is still better, but you keep your rook and your king has more room.

When White plays 4.Be2: the safe line for Black

Many players do not chase the bishop at all. Against 4.Be2 the traps above do not work, so here is the simple plan for Black.

SAFE LINEThe safe line: 4.Be2 (no trap)

1.e4 d5 2.exd5 Nf6 3.d4 Bg4 4.Be2White plays calmlyBlack gets the pawn back and an easy game
Analyse
Stockfish 19Stockfish 19commentary
Press play, or step through the moves with the arrows. The commentary changes on every move.
The safe line: 4.Be2 (no trap): moves and commentary as text

Not every opponent plays 4.f3. The calm 4.Be2 is the most common answer. There is no trap here, but Black still plays easily: trade the bishop, take back on d5 with the queen and castle long. Press Play.

1.e4 White puts a pawn on e4 and claims space in the centre.

1...d5 This is the Scandinavian Defence. Black puts a pawn on d5 and claims space in the centre.

2.exd5 White takes on d5 with the e-pawn.

2...Nf6 The opening is now the Scandinavian Defence, Modern Variation. Black develops the knight to f6.

3.d4 White puts a pawn on d4 and claims space in the centre.

3...Bg4 Black develops the bishop to g4. It attacks the queen on d1.

4.Be2 The calm answer. White trades the bishop and keeps a normal game. Stockfish +0.3.

4...Bxe2 The bishop takes the bishop on e2. Black threatens to take the queen on d1.

5.Nxe2 White takes back on e2 with the knight.

5...Qxd5 Black takes the pawn back. The queen hits g2.

6.O-O White castles kingside: the king is safe on g1 and the rook comes to f1.

6...Nc6 Black develops and hits d4.

7.Nbc3 The knight hits the queen.

7...Qh5 The queen goes to h5 and looks at the e2 knight.

8.Ng3 The knight hits the queen. Black can trade queens for a level endgame, or keep them.

Variation

8.Be3 White develops the bishop to e3.

8...O-O-O Long castle, and the rook joins the d-file. Black is fine, Stockfish -0.6.

8...Qg6 Black keeps the queens on.

9.Be3 White develops the bishop to e3.

9...O-O-O Black castles queenside: the king goes to c8 and the rook lands on the d-file.

10.Nce2 The knight drops back to e2.

10...e5 Black hits d4 again.

11.c3 White pushes the c-pawn to c3.

11...h5 The h-pawn runs at the g3 knight. Black is comfortable, Stockfish -1.0.

The plan: as Black, take back on d5 with the queen after the bishop trade, put the queen on h5 when the knight hits it, and castle long. Then push ...e5 and ...h5. White has no tricks against this set-up.

Is the Portuguese Gambit good? An honest look

The traps are real, but the gambit is sound, not winning. With the best moves White keeps a small edge: Stockfish gives White about +0.7 after 3...Bg4. The calm 4.Be2 is about +0.3, and after 4...Bxe2 5.Nxe2 Qxd5 Black gets an easy game.

In the sharp 4.f3 line the key moment is move 8. After 7...Kxf7 the best move for White is 8.Ne2: the knight guards d4, the e-file stays closed and Stockfish calls it close to level (-0.4). Both natural moves, 8.Be3 and 8.d5, already give Black a big advantage (-2.5 and -2.8). That is why the Portuguese Gambit works so well in fast games: the best defence is not the move most people want to play.

The gambit is also called the Portuguese Variation of the Scandinavian Defense (ECO B01). For the other Scandinavian ideas, read our Scandinavian and Alekhine Defense guide and the Scandinavian Defense traps, which has two more Portuguese traps.

The three ideas behind every Portuguese Gambit trap

Practise these lines in our Gambit Trainer, or press Play This Position Against Stockfish under any board and try to win the game from there. You can also play the gambit against the free bots.

Portuguese Gambit Traps FAQ

What is the Portuguese Gambit?

It is a sharp line of the Scandinavian Defense: 1.e4 d5 2.exd5 Nf6 3.d4 Bg4. The bishop hits the white queen at once, and after 4.f3 Bf5 5.c4 e6 Black gives a pawn for fast play.

Is the Portuguese Gambit sound?

It is playable but not winning. Stockfish gives White a small edge, about +0.7, after 3...Bg4. Black scores well in practice because the best defence for White is hard to find.

What is the best defence against the Portuguese Gambit?

The calm 4.Be2 avoids most traps. In the sharp 4.f3 line, play 8.Ne2 after 7...Kxf7: the knight guards d4 and the game is close to level.

What is the e3 rook sac in the Portuguese Gambit?

After 8.Be3 Bb4+ 9.Nc3 Re8 10.Kf2 Black plays 10...Rxe3! 11.Kxe3 Bc2!!. If White takes the bishop with 12.Qxc2, the d4 pawn falls with check and Black has a forced mate.

What is the queen hunt?

In the same line, if White plays 12.Qd2 instead of taking the bishop, 12...Ng4+!! opens the way for the black queen. After 13.fxg4 Qg5+ the white queen on d2 is lost.

Is the Portuguese Gambit the same as the Portuguese Variation?

Yes. Both names are used for 1.e4 d5 2.exd5 Nf6 3.d4 Bg4, a line of the Scandinavian Defense with the ECO code B01.

Set these traps in your own games

Play the Portuguese Gambit in the Gambit Trainer or against a free bot, and see who walks into the e3 rook sac first.