How Offside Works When the Goalkeeper Is Out of Position
Many spectators assume the goalkeeper is a special entity under the laws of the game, but the rules treat them like any other player. When a goalkeeper rushes out to challenge an attacker, they remain one of the two players required to keep the opposition onside. If the goalkeeper is out of the penalty area, the offside line simply shifts to the next deepest defender, usually a center-back or fullback.
At a glance
| Feature | Rule Status |
|---|---|
| Goalkeeper status | Treated as a defender |
| Offside line | Second-to-last opponent |
| Penalty area | Irrelevant to offside |
| Number of players | Two required for onside |
How is the second-to-last defender defined when the goalkeeper is positioned outside the penalty area?
The second-to-last defender is simply the player nearest to the goal line, excluding the goalkeeper if the goalkeeper has vacated the goal or is otherwise not the deepest player. If the goalkeeper is upfield, the two deepest outfield players define the offside line. A lot of people assume the goalkeeper must always be one of the two players, but the rules only require two opponents. If the goalkeeper is the deepest player, they count as one; if they aren't, they are ignored entirely in the calculation.
What criteria determine if an attacking player is in an offside position during a breakaway situation?
An attacking player is in an offside position if any part of their head, body, or feet is nearer to the opponents' goal line than both the ball and the second-to-last opponent at the moment the ball is touched by a teammate.
- Ball position: If the ball is closer to the goal line than the attacker, the attacker is onside regardless of the defenders.
- Body parts: Only parts of the body that can legally score a goal are considered for offside measurements.
- Halfway line: Players cannot be offside if they are in their own half of the field.
- Active play: Being in an offside position is only an offense if the player interferes with play or an opponent.
How does the offside rule apply if the goalkeeper is caught out of position during a pass from a teammate?
When a goalkeeper wanders far from the goal, the offside line shifts to the position of the two deepest defenders. If a striker receives a pass while behind the goalkeeper but ahead of those two defenders, the assistant referee must flag for offside. For instance, if a goalkeeper sprints to the center circle to intercept a clearance, the entire defensive line effectively becomes the goalkeeper for the purpose of the offside calculation.
A key nuance involves the timing of the pass. If the attacker is behind the second-to-last defender when the ball is kicked, they are onside even if they sprint past the goalkeeper immediately afterward. The rule freezes the state of the field at the exact moment the teammate makes contact with the ball. Once that pass is released, the striker’s subsequent movement toward the empty goal is entirely legal.
Are there specific exceptions to the offside rule when the goalkeeper is involved in active play far from the goal line?
No, the rules remain identical regardless of the goalkeeper's location. Whether the goalkeeper is standing on the goal line or 40 yards away, an attacker must still account for the two deepest opponents. FIFA Law 11 confirms this, as the goalkeeper is treated as any other player under these specific conditions.
How do officials determine the offside line when all opposing defenders are behind the ball?
If all defenders are behind the ball, the offside rule effectively disappears because the ball itself becomes the offside line. In this scenario, the attacker only needs to make sure they are behind the ball when it is played to remain onside. For example, during a counter-attack where a lone striker dribbles past the final defender and squares the ball to a teammate who is closer to the goal than the ball, the teammate is offside.
However, if the teammate is behind the ball when the pass is delivered, they are onside even if they are standing between the goalkeeper and the goal line. This is a common tactical setup during breakaways. The nuance here is that the ball acts as the ultimate boundary; as long as the attacker stays level with or behind the ball, they cannot be penalized for offside.
How is the offside rule interpreted when an attacker is behind the goalkeeper but in front of the ball?
No, an attacker is not automatically offside just by being behind the goalkeeper. If the attacker is behind the ball when it is played, they remain onside regardless of their proximity to the goal line. The 2-player rule only applies if the ball is closer to the goal than the attacker.
Common mistakes
- Ignoring the second defender. People often focus only on the goalkeeper, but the second-to-last defender is the real benchmark for the offside line.
- Assuming the goalie is special. The rules don't grant the goalkeeper immunity or different status; they are just another player on the field.
- Misjudging the goal line. Fans frequently forget that the goal line itself acts as a boundary, but the offside position is determined by the player's proximity to it.
Mastering the offside line positioning
Focus your attention on the position of the second-to-last defender whenever the goalkeeper abandons the goal. This simple shift in perspective clarifies most confusing offside calls during high-pressure breakaway sequences.