How the offside rule works: the line, the moment of the pass and VAR

An offside position and an offside offence are not the same thing. The three conditions, the situations people confuse, the offside trap and what the VAR line measures, with a diagram.

DDreamerBuild4 min read

The striker puts the ball in the net, the stand rises, and then the assistant's flag appears. Television shows the same moment four times and the pundits split. Offside is the most argued-over rule in football because it looks at a single instant and a few centimetres. The rule itself is less complicated than it seems; what gets confused is usually the difference between a position and an offence.

Offside position: three conditions

A player is in an offside position if, at the moment a team-mate plays the ball, all three of these are true:

  1. 1He is in the opponent's half. A player in his own half cannot be offside.
  2. 2He is ahead of the ball. Level with it or behind it is not offside.
  3. 3He is ahead of the second-last opponent. Usually the goalkeeper is last and a defender second-last; an attacker level with that defender is onside.

Arms and hands do not count; only the parts of the body that can score, the head, body and feet, are measured.

The offside linedreamerbuild.com1Raya9Havertz11Tzolis7Saka10Guimarães8Rice6Zubimendi2Timber3Calafiori4Saliba5Gabriel
An example attacking shape. The striker waits highest, on the shoulder of the defensive line, with the left winger a step deeper. If the second-last opponent is between the two when the pass is played, the striker is in an offside position and the winger is not.
Build a lineup with this shape

Open this setup, then change the players and make it your own.

A position is not an offence

Standing in an offside position is allowed. The offence comes when that player becomes involved:

  • Playing the ball or touching it.
  • Interfering with an opponent: blocking the goalkeeper's view, preventing a defender from reaching the ball or challenging for it.
  • Gaining an advantage: finishing a ball that rebounds from the post or the goalkeeper.

So if a player in an offside position takes no part, play continues. It is also why assistants raise the flag late: they wait to see whether the player becomes involved.

When there is no offside

There is no offside directly from three restarts: a goal kick, a throw-in and a corner. At a corner the ball is already on the goal line, so nobody can be ahead of it; the throw-in is an explicit exception. That is why teams with a long throw can send players behind the defence.

Another exception is a ball deliberately played by an opponent. If a defender plays the ball in a controlled way and it reaches an attacker in an offside position, there is no offence. A save, or the ball simply striking the defender, does not count.

Everything depends on the moment of the pass

The most forgotten part of the rule is time. The referee looks at the moment the pass is played, not when the ball arrives. A forward who was behind the line when the pass was struck and then accelerated past everyone is onside. A player who looks ‘yards off’ on television is usually ahead in the frame where he receives the ball, not the one where it was played.

Good forwards use this: they run sideways along the line and break forward as the pass leaves. They stay onside and are already at speed before the defender.

The offside trap

A back line can step up together to leave a forward offside on purpose. When it works, it ends an attack with one step; when it fails, the forward is through on goal. It needs all four defenders to move at once and pressure on the ball: a passer left alone plays it over the top as the line steps.

The trap is therefore a natural part of a high line and pressing. The higher the line, the bigger the space behind; quick centre-backs and a goalkeeper who comes off his line balance the risk.

What the VAR line measures

In a VAR check the footage is wound back to the frame where the pass was played and two lines are drawn: one from the second-last defender, one from the furthest forward point of the attacker that can score. If the attacker's line is ahead, the goal is ruled out. The semi-automated system used in some competitions speeds this up by tracking points on players' bodies.

The argument usually comes from the choice of frame: exactly when did the ball leave the foot? Even at fifty frames a second, a running player covers ten to twenty centimetres between frames. That is why decisions measured in centimetres will always be disputed.

Offside in the simulator

In the DreamerBuild match simulator some goals are ruled out for offside after a VAR review. The picture returns to the moment of the pass and shows the defensive line and the attacker's position. If you play with forwards who run in behind, you will see it more often; it is the natural price of that style.

Set your back line and try it

Place your four defenders, move the line up or back and see how it works in a match.

Build your squad

More articles

Positions & Tactics•15 November 2026

Penalty shootouts: who should take them, and in what order?

Luck or preparation? We simulated 2,000 knockout matches: how many go to penalties, what share of kicks are scored and how to order your five takers.

4 min readRead
Barcelona · 4-2-3-1dreamerbuild.com1García9Raphinha11Gordon7Yamal10López8Pedri6de Jong3Balde2Koundé4Cubarsí5García
Positions & Tactics•15 November 2026

Striker types: target man, false nine, runner and poacher

Four different centre-forwards, four different teams. What each type does, who should play alongside and which one suits your squad, with a comparison table.

4 min readRead
Real Madrid · 4-3-3dreamerbuild.com1Courtois9Mbappé11Junior7Diomande8Valverde10Camavinga6Tchouaméni3Cucurella2Alexander-Arnold4Huijsen5Konaté
Positions & Tactics•15 November 2026

Midfield roles: what the 6, the 8 and the 10 actually do

The holding midfielder, the box-to-box player and the playmaker do three different jobs in the same area. Their tasks, the common trios and how to pick a balanced midfield, with a diagram.

4 min readRead