What Is Offside in Soccer? The Rule Explained Simply
By the BrainSnail editorial team. How these articles are written and checked, and how to tell us when one is wrong.
A player can be penalised for becoming involved in play after being in an offside position at the moment a teammate plays or touches the ball toward them.
The key moment
Start with the moment the teammate plays or touches the ball. An attacking player is in an offside position if any part of the head, body, or feet that can legally score is in the opponents' half and nearer to the opponents' goal line than both the ball and the second-last opponent. Hands and arms are not used for this judgment.
Being in an offside position is not automatically an offence. The player must then become involved in active play, for example by playing the ball, interfering with an opponent, or gaining an advantage from certain rebounds or saves. A player can stand offside and receive no whistle if the play goes elsewhere.
This distinction is the heart of offside in soccer. Position is judged at one moment, when the teammate acts, while the offence depends on what happens next.
Timing matters more than where the player receives the ball
An attacker can start in an onside position, run beyond the defenders after the pass is made, and legally receive the ball close to goal. What matters is the attacker's position at the instant the teammate plays or touches the ball, not where the attacker is when the ball finally arrives.
That is why well-timed runs are so effective. Attackers try to stay level with or behind the second-last opponent until the pass is released, then accelerate into space. Defenders may step forward together in an offside trap, trying to leave an attacker beyond the legal line before the pass.
When learning about offside in soccer, imagine freezing the match at the instant of the pass. Draw a line across the field through the relevant defender and compare the attacker with that line and with the ball. The frozen picture is often more useful than watching where everyone ends up.
There are important exceptions
A player cannot be offside directly from a goal kick, throw-in, or corner kick. There is also no offside offence if the player receives the ball directly from an opponent who deliberately plays it, although a deliberate save is treated differently. These details matter in real matches and in rules questions.
A player is also not in an offside position if level with the second-last opponent or level with the last two opponents. Level is onside. Modern video review can make these decisions look extremely precise because officials may compare body positions frame by frame.
The offside rule exists partly to prevent attackers from simply waiting beside the opponent's goal for long passes. It encourages movement, timing, defensive organisation, and space between lines. A strong explanation of offside in soccer should therefore include both parts: the player's position when a teammate plays the ball and the later involvement that turns that position into an offence. Officials also judge whether an offside player interferes with an opponent even without touching the ball. Blocking an opponent's line of vision, challenging for the ball, or making an obvious action that affects an opponent can matter. This is why some offside decisions look strange if you watch only who touches the pass. Active involvement is broader than possession.
How the rule has changed
Offside is almost as old as organised football, but the rule has been rewritten several times. Early versions were stricter, and for decades an attacker needed three opponents between themselves and the goal line when the ball was played. In 1925 this was reduced to two, which made it much easier to stay onside. Scoring rose sharply in the following seasons, and teams responded by changing their defensive shapes. The episode shows how a single line in the laws can reshape tactics across a whole sport.
Later changes shifted the balance further toward attackers, including the principle that level is onside. The arrival of video review brought a new kind of debate. Lines can now be drawn across a frozen frame, but the frame itself captures a moment that may fall slightly before or after the exact instant the ball was kicked, and bodies must be marked by hand or by tracking systems. People still argue about whether decisions measured in centimetres match the rule's original purpose of stopping goal-hanging.
Situations that confuse viewers
People often say a player is offside if they are beyond the last defender, but the law refers to the second-last opponent. Usually the goalkeeper is the last, so the line is set by the deepest outfield defender. If the goalkeeper has come far off the line, two outfield players may be the last two, and the line moves. A player behind the ball also cannot be offside, which is why an attacker who receives a pass cut back from the byline is usually onside. When an offence is given, play restarts with an indirect free kick to the defending team.
Assistant referees use a particular technique. They try to stay level with the second-last defender throughout an attack, so their line of sight matches the offside line at the moment of a pass. In competitions that use video review, they are often told to delay raising the flag on close calls until the attack has finished. The reason is practical: a goal wrongly disallowed by an early flag cannot be restored, because play has stopped, whereas a goal scored from a late flag can still be checked and cancelled by the video officials.
How other sports handle the same problem
Football is not the only sport that worries about attackers lurking near goal. Rugby takes the idea much further. The ball may only be passed backwards or sideways, and a player who is in front of a teammate carrying or kicking the ball generally cannot join in play until put back onside. Ice hockey uses lines on the rink rather than defenders: an attacking player may not cross the blue line into the opponents' zone before the puck does. Each version stops players from simply camping in a scoring position.
Field hockey offers the opposite experiment. The sport abolished its offside rule in the 1990s, leaving attackers free to stand anywhere, and teams had to rethink how they used space and defended against long passes. American football uses the word quite differently: there, offside simply means a player crossing the line of scrimmage before the ball is snapped. Comparing these versions shows that offside rules are deliberate design choices, each tuned to keep a particular game balanced and worth watching. Any change to such a rule ripples through tactics, training and the kinds of players teams choose to pick.
Frame rates and semi-automated offside
Video review runs into a basic limit of cameras. Broadcast footage in much of the world runs at about 50 frames per second, so consecutive frames are 20 milliseconds apart. A sprinting attacker might move at around 8 metres per second, covering 16 centimetres between frames, while a defender stepping out in the opposite direction adds distance of their own. If the true moment of the pass falls between two frames, the chosen frame can misplace the two players relative to each other by 20 centimetres or more, which is larger than many of the margins that decide disputed goals.
Semi-automated offside technology, used at the 2022 men's World Cup, tackles both sides of the problem. Cameras mounted under the stadium roof track many points on every player's body dozens of times per second, so limbs are located by software rather than by an operator clicking on a screen. A sensor inside the ball reports its movement hundreds of times per second, pinpointing the instant it is kicked far more precisely than video frames can. The system alerts officials to a possible offside, a person still confirms the decision, and a 3D animation then shows spectators where everyone stood at the moment of the pass.
The takeaway
Offside is an offence based on position, timing, and involvement in play. Freeze the action when a teammate plays the ball, check the attacker against the ball and second-last opponent, then ask whether that player becomes actively involved. Being beyond defenders by itself is not enough.