Ask a new soccer fan what confuses them most, and the answer is almost always the same: offside. It is the sport’s most misunderstood rule, the source of countless disallowed goals and heated arguments. But the offside in soccer explained properly is actually quite logical once you break it down. Here is the rule in plain English, with clear examples of when it applies and when it does not.
The Rule in One Sentence
A player is offside if they are nearer to the opponent’s goal line than both the ball and the second-to-last defender at the moment a teammate passes them the ball. In practice, because the goalkeeper is usually the last defender, this typically means a player is offside if they are behind the last outfield defender when the ball is played to them. The rule exists to stop attackers from simply camping next to the opposing goal and waiting for a long pass, which would ruin the flow and strategy of the game.
The Key Detail: Timing Is Everything
Here is the single most important thing to understand: offside is judged at the exact moment the ball is passed, not when it is received. An attacker can be in an onside position, then sprint past the last defender to collect the ball, and it is completely legal, because they were level or behind the defender when the pass was made. Conversely, a player standing behind the defense who receives a pass is offside even if they only stepped past the line by an inch a split-second before the ball was kicked.
This timing element is why offside calls are so difficult for the human eye and why they generate so much controversy. A striker and a defender can be separated by mere centimeters at the precise frame the ball leaves a teammate’s foot.
Being in an Offside Position Is Not Automatically an Offense
This trips up almost everyone. Simply standing in an offside position is not against the rules. A player is only penalized if they are in an offside position and become actively involved in the play. That means one of three things: interfering with play by touching or playing the ball, interfering with an opponent by blocking their line of vision or challenging them, or gaining an advantage by playing a ball that rebounds off the goalpost or a defender.
So an attacker can stand in an offside position all day, and as long as they do not touch the ball or interfere with a defender, no offense has occurred. The referee’s assistant keeps the flag down until that player actually gets involved.
When Offside Does Not Apply at All
There are important exceptions where a player can never be offside, no matter their position:
A player cannot be offside if they are in their own half of the field when the ball is played. A player cannot be offside directly from a throw-in, a corner kick, or a goal kick. And a player level with the second-to-last defender, or level with the last two defenders, is considered onside, because the rule requires them to be clearly nearer to the goal line. The benefit of the doubt, in other words, goes to the attacker.
| Situation | Offside Possible? |
|---|---|
| Receiving a pass behind the last defender | Yes |
| In your own half | No |
| Directly from a throw-in | No |
| Directly from a corner or goal kick | No |
| Level with the last defender | No (onside) |
How VAR and Technology Decide Close Calls
At the top level, offside is now policed by technology. Video review, or VAR, allows officials to draw precise lines to check whether an attacker was ahead of the last defender at the moment of the pass. The 2026 World Cup uses semi-automated offside technology, which tracks the ball and players with sensors and cameras to render tight decisions in seconds rather than minutes. It has made calls more accurate, though the razor-thin margins it exposes, a goal disallowed for an armpit or a toe, have sparked their own debates about whether the rule has become too literal.
The Bottom Line
The offside in soccer explained simply: an attacker cannot be behind the last defender when a teammate passes to them, the call is judged at the instant of the pass, and merely standing offside is fine until the player gets involved in the play. Master those three ideas and the flag will stop being a mystery. For more of the sport’s rules that decide big matches, see our explainer on World Cup extra time and penalties. The full Laws of the Game are maintained by FIFA and IFAB.
A Simple Way to Picture It
Imagine a horizontal line running across the field at the position of the last defender, moving up and down the pitch as that defender moves. At the instant a teammate passes the ball, any attacker ahead of that line, closer to the goal, is in an offside position. If the pass is played while the attacker is level with or behind the line, they are onside and free to run onto the ball. Coaches drill defenses to move up the field together precisely to push that line forward and catch attackers offside, a coordinated tactic known as the offside trap.
Frequently Asked Questions
Can you be offside from a pass by an opponent?
No. Offside only applies to the ball being played by a teammate. If the ball comes off an opponent through a deliberate play, the attacker is not penalized, which occasionally produces surprising onside goals.
Why do some offside goals take so long to review?
Because officials must pinpoint the exact frame the ball was played and then measure whether any part of the attacker’s body that can score was ahead of the defender. With margins of a few centimeters, that measurement takes time, though semi-automated systems at major tournaments now speed it up dramatically.
Is the goalkeeper always the last defender?
Usually but not always. The rule refers to the second-to-last defender, which is normally the last outfield player because the keeper is deepest. If the goalkeeper comes off their line, an outfield defender can become the deepest player, and the offside line moves accordingly.