Football Ball In and Out of Play Rules: IFAB Law 9 Fully Explained

Football sitting exactly on the white goal line — ball in and out of play rules

Every restart in football — every throw-in, goal kick, and corner — begins with a single judgment: is the ball still in play? Law 9 of the IFAB Laws of the Game answers that question, and its core principle is one of the most misunderstood in the sport: the ball is out only when the whole of the ball has wholly passed over the whole of the line. A ball sitting on the line is still in play. A ball that has crossed the line by 99% is still in play.

This guide explains exactly when the ball is in and out, what happens on rebounds off the woodwork and officials, the 2019 law change about referee deflections, the 2025/26 update for substitutes and officials touching the ball, and which restart follows every out-of-play situation.

The Golden Principle: Wholly Over the Line

Law 9 states it plainly:

The ball is out of play when it has wholly passed over the goal line or touchline on the ground or in the air.

Three words do all the work here:

  • Wholly — every millimetre of the ball must be beyond the line. If any part of the ball is still above the line, even the curved edge, the ball is in play.
  • Goal line or touchline — the two long touchlines and the two goal lines. Crossing any of them ends play.
  • On the ground or in the air — the line extends upward as an invisible vertical wall. A ball that flies over the touchline three metres in the air is out, even though it never touched the ground beyond the line.

The lines themselves belong to the field: a ball touching the line is in play, because it has not wholly passed over it. This is the single most common misconception in football — fans regularly scream “out!” at balls that are clearly still touching the line.

There is a subtlety that even seasoned watchers miss: the ball is a sphere, not a flat disc. What matters is the ball’s curvature, not just the patch touching the grass. A ball can look completely beyond the line from a side camera while a sliver of its curve still overhangs the line — and in that case it is still in play. This is exactly what happened in Japan’s famous World Cup goal against Spain in 2022, covered in the case studies below.

Ball curvature over the goal line — overhanging the line means still in play

Top-down pitch diagram: ball wholly over the touchline marked OUT vs ball on the line marked IN PLAY

The Ball Stays In: Rebounds Off the Frame, Flags, and Officials

Law 9 then lists the situations where the ball remains in play:

  • It rebounds off a goalpost, crossbar, or goal frame back onto the field.
  • It rebounds off a corner flagpost back onto the field.
  • It rebounds off the referee or an assistant referee and stays on the field (with one important exception — see below).

The logic is consistent: none of these objects are “outside” the field of play for this purpose. A shot that smacks the crossbar and bounces back to an attacker is live — the attacker can score from the rebound, and regularly does. A ball that strikes the corner flag and spins back into play is live too, which is why you occasionally see wingers deliberately use the flag area to keep the ball alive.

Match officials are treated the same way: the referee is, in the eyes of Law 9, part of the field. If a pass strikes the referee’s legs and falls to an opponent, play continues — the unlucky team has no grounds for complaint. At least, that was the complete picture until 2019.

There is one more way the ball goes out that has nothing to do with lines: Law 9 also declares the ball out when play has been stopped by the referee. If the referee blows for an injury while the ball is sitting in the middle of the pitch, the ball is out of play from that whistle — even though it never crossed a line. The restart then depends on why play was stopped, not on any line.

The 2019 Exception: When the Ball Hits the Referee

In June 2019, IFAB amended Law 9 with a targeted exception. If the ball touches the referee (or another match official) and then:

  • goes directly into the goal, or
  • team possession changes, or
  • a promising attack starts,

play is stopped and restarted with a dropped ball.

The change was made because it is, in IFAB’s words, “very unfair if a team gains an advantage or scores a goal because the ball has hit a match official, especially the referee.” Before 2019, a referee deflection that led directly to a goal simply counted — play on, goal stands. The amendment removed that lottery element while keeping the general principle (referee as part of the field) for harmless deflections. Our guide to football drop ball rules covers the full procedure.

One clarification matters: if the ball touches a match official and then goes out of play, the game restarts as if it had not touched the official at all — a throw-in, goal kick, or corner as normal. The dropped ball only applies when the ball stays on the field and one of the three consequences follows.

Football striking the referee during open play — ball in and out of play rules

The Dropped Ball: How It Actually Works (Law 8)

Because the referee-deflection exception ends in a dropped ball, it is worth knowing the procedure, which changed in 2019 and was refined in 2025/26:

  • If play was stopped inside the penalty area, or the ball was last touched inside it, the ball is dropped for the defending team’s goalkeeper in their penalty area.
  • Otherwise it is dropped for one player of the team that last touched it — or, under the 2025/26 wording, the team that has or would have gained possession, if that is clear to the referee.
  • The ball is dropped at the position where play was stopped (or where it last touched a player, official, or outside agent).
  • All other players of both teams must be at least 4 metres (4.5 yards) away.
  • The ball is in play when it touches the ground. Crucially, a goal cannot be scored directly from a dropped ball: if it goes into the opponents’ goal without another touch, the restart is a goal kick; if it goes into the dropped team’s own goal, it is a corner kick.
  • The 2026/27 clarification adds that “would have gained possession” includes the team that would have taken the restart if the ball had otherwise gone out of play, and that interference restarts happen at the point of interference.

The Exact Moment: When Does “Out” Happen?

The ball becomes out the instant the whole ball crosses the whole line — not when the referee blows the whistle, not when a player stops chasing it. The whistle merely confirms what has already happened. This matters in two practical ways:

  • Everything after the moment is dead. If the ball wholly crosses the touchline and a player then smashes it into the net, there is no goal — play ended at the crossing. VAR routinely disallows goals for exactly this reason, sometimes rewinding the whole attacking phase of play to the moment the ball went out in the build-up.
  • A ball that crosses and comes back is still out. A curling cross can cross the goal line in the air beyond the far post and then swerve back onto the pitch. It does not matter that it came back — it was out the moment it crossed, and the restart is a goal kick or corner depending on who touched it last.

Assistant referees are trained to watch the line, not the ball’s eventual destination, and to flag the instant the whole ball is over.

Which Restart Follows? The Complete Map

Once the ball is out, Law 9 hands over to the restart laws. The restart depends on which line was crossed and who touched the ball last:

What happened Restart Awarded to
Ball wholly over a touchline Throw-in Opponents of the player who last touched it
Ball wholly over the goal line, last touched by an attacker, no goal Goal kick Defending team
Ball wholly over the goal line, last touched by a defender, no goal Corner kick Attacking team
Ball wholly over the goal line between the posts and under the bar, no prior offence Goal —
Ball touches referee then goes in / changes possession / starts attack Dropped ball Team that last touched it (or goalkeeper in the area)
Ball stopped by the referee (e.g. injury) while in play Dropped ball Per Law 8 (goalkeeper or last-touch team)

Football rebounding off the goalpost back into play — ball in and out of play rules

For the full mechanics of each restart, see our guides to throw-ins in football, goal kick rules, and corner kick rules.

What Is New: The 2025/26 Change for Substitutes and Officials

Law 9 is otherwise unchanged in 2025/26 and 2026/27, but one 2025/26 addition is worth knowing because it corrects a common assumption. If a team official, substitute, substituted or sent-off player, or a player temporarily off the field (for injury or an equipment issue) touches the ball while it is still in play but clearly leaving the field of play — typically to speed up the restart or stop the ball rolling away — and there was no intention to interfere unfairly, the restart is an indirect free kick to the opponents, with no disciplinary sanction. A caution only follows repeated offences, such as persistently leaving the technical area.

Do not confuse this with an outside agent. A ball boy, spectator, or stray object is not covered by this rule: if an outside agent interferes with play, the referee stops play and restarts with a dropped ball — unless the ball was going into the goal and the interference did not prevent a defender from playing it, in which case the goal stands. And if an extra ball is on the field but does not interfere, play continues and the extra ball is removed at the earliest opportunity.

Technology: Goal-Line Cameras and VAR Line Checks

Two technologies now judge the moments human eyes cannot:

  • Goal-line technology (GLT) answers only one question — did the whole ball cross the goal line between the posts? — and signals the referee’s watch within one second. It cannot judge touchlines, offside, or anything else.
  • VAR checks the attacking phase of play for every goal, including whether the ball went out at any point in the build-up. But VAR has no sensor for touchlines: it relies on camera angles, and camera angles mislead. A side-on broadcast view can show green grass between ball and line while the goal-line camera shows the ball’s curve still overhanging it. That gap between “looks out” and “is out” is where most line controversies live.

Common Misconceptions

“The ball was over the line!” — Probably not wholly. Television angles mislead constantly; only the assistant referee’s line of sight, goal-line technology, or the goal-line camera settles it. Fans routinely mistake a ball overlapping the line for a ball beyond it.

“It crossed the line in the air, so it’s still in.” — Wrong. The line extends vertically. A ball three metres above the touchline but beyond it is out.

“The ball hit the referee, so play must stop.” — Only since 2019, and only if a goal, possession change, or promising attack directly follows. Ordinary deflections off officials remain in play.

“Play stopped when the whistle blew.” — For line crossings, no: play stopped when the ball crossed the line, and the whistle is confirmation — which is why goals scored after the ball went out never count, whistle or not. But when the referee stops play for another reason (an injury, for example), the ball is out from the whistle itself.

“A substitute who stops a ball going out is cheating.” — Not necessarily: since 2025/26, a substitute or official who touches a ball clearly leaving the field with no unfair intent concedes only an indirect free kick, with no card.

What If? Tricky In-and-Out Scenarios

What if the ball crosses the touchline in the air and a player catches it before it lands? It is out — a throw-in. The line’s vertical plane was crossed, so the ball is out of play the moment it passes that plane, regardless of height.

What if the ball hits the corner flag and stays in? Play continues. The corner flag is specifically listed in Law 9: rebounds off it keep the ball in play.

What if the ball bursts mid-flight? The ball is no longer a proper ball, so play stops and restarts with a dropped ball where it burst (per Law 8). This is a defect, not an out-of-play situation.

What if a defender deliberately steps off the field to play an attacker onside, and the ball goes out? Two separate laws apply. The ball-out judgment is unchanged: wholly over the line means out, whoever is standing where. And under Law 11, a defender who deliberately leaves the field is considered to be on the goal line for offside purposes — and is cautioned at the next stoppage.

What if the ball rebounds off the referee straight to a striker who scores? Since 2019, the goal cannot stand. Play is stopped the moment the promising attack develops from the deflection, and the game restarts with a dropped ball.

What if the whole ball crosses the goal line but the referee doesn’t see it? In law, a ball wholly over the goal line between the posts and under the bar is a goal — a referee who misses it has made an error, not applied a different rule. That is precisely what goal-line technology and VAR now exist to correct.

What if a ball boy catches a ball that hasn’t fully crossed the line? A ball boy is an outside agent: the referee stops play and restarts with a dropped ball — unless the ball was going into the goal and the interference did not prevent a defender from playing it, in which case the goal stands. Ball boys are reminded to wait until the ball is clearly dead.

What if the ball is on the goal line during a goalmouth scramble? It is in play — all of it must cross. Defenders are entitled to hack it clear, and attackers are entitled to force it over. This is precisely the chaos goal-line technology was built to judge.

What if a substitute stops a ball rolling out so their team can restart faster? Since 2025/26, that is an indirect free kick to the opponents, with no card — provided there was no intention to interfere unfairly. The old instinct to caution the substitute is outdated.

Real Match Case Studies

1. Japan 2–1 Spain, World Cup 2022 — the ball that stayed in by millimetres

Khalifa International Stadium, Doha, 1 December 2022. Japan trailed Spain 1–0 at half-time in their final Group E match and needed a win to be sure of the last 16. Ritsu Doan equalised in the 48th minute. Three minutes later, Kaoru Mitoma chased a ball to the byline that looked, from every broadcast angle, to have run out of play — and cut it back for Ao Tanaka to bundle home with his knee. The on-field decision was no goal; after a VAR review lasting more than two minutes, referee Victor Gomes awarded it. Japan won 2–1, topped the group, and Germany — despite beating Costa Rica 4–2 — were eliminated.

FIFA confirmed the next day that the goal-line camera had verified the ball stayed in play: “on the evidence available, the whole of the ball was not out of play.” Other cameras, FIFA said, “may offer misleading images.” The incident is the perfect Law 9 lesson in reverse: from the side, green grass showed between ball and line; from above, the ball’s curve still overhung it. A ball that looks out is not out until the whole of it is out.

2. Aston Villa 0–1 Brentford, Premier League 2026 — the 19-second rewind

Villa Park, Sunday 1 November 2026. Tammy Abraham thought he had marked his Aston Villa return — his second debut after rejoining from Besiktas — with a late equaliser against Brentford, following up after Caoimhin Kelleher parried Jadon Sancho’s shot. But a VAR check lasting around four minutes rewound the attack 19 seconds and 14 passes, and found that substitute Leon Bailey, introduced at half-time, had carried the ball wholly over the touchline near his own corner flag in the build-up before hooking it back into play. Referee Tim Robinson ruled the ball was “factually out of play,” the goal was disallowed, and Villa lost 1–0 — despite Brentford playing most of the second half with ten men after Kevin Schade was sent off for kicking Matty Cash, and despite Dango Ouattara’s opener coming in first-half stoppage time.

The reaction split football. Unai Emery called the decision “not fair,” arguing too much had happened between the out-of-play moment and the goal; the Premier League Match Centre replied that the incident fell within the same attacking possession phase. Pundits debated whether the broadcast footage conclusively showed daylight between ball and line — Jamie Carragher said there was no doubt, others said the evidence shown to viewers was inconclusive — and Brentford later released their own footage citing Law 9.1: “The ball is out of play when it has wholly passed over the goal line or touchline on the ground or in the air.” The incident is the purest modern illustration of Law 9: the “out” happened 19 seconds before anyone realised, and everything after it was dead.

3. Harkemase Boys vs HSV Hoek, Dutch fourth tier 2019 — the referee who scored

Saturday 25 May 2019, in the Dutch fourth division, a match official became the cautionary tale that changed the law. As the ball bounced around inside the six-yard box during Harkemase Boys vs HSV Hoek, it ricocheted off the referee beyond the goal line; despite a Harkemase player’s attempt to clear it, the ball had crossed the line, and the referee had no choice but to award the goal, cutting Harkemase’s lead to 3–2. Under the Law 9 of that week, the referee was part of the field — the goal simply counted.

The timing made it historic: the new Laws took effect on 1 June 2019, exactly one week later, with the new exception that a ball touching a match official and going into the goal, changing possession, or starting a promising attack would stop play for a dropped ball. The incident is still cited whenever the exception is explained, because it proved the old rule was logically consistent but produced an outcome nobody could defend.

Frequently Asked Questions

When exactly is the ball out of play in football?

When the whole of the ball has wholly passed over the whole of the goal line or touchline, on the ground or in the air. Partially over the line — even 99% — means the ball is still in play.

Does the ball have to touch the ground beyond the line to be out?

No. The line extends vertically, so a ball that crosses the plane of the touchline in mid-air is out of play.

What happens if the ball hits the referee?

Play normally continues — the referee is part of the field. But since 2019, if the deflection leads directly to a goal, a change of possession, or a promising attack, play stops for a dropped ball.

Is the ball out if it hits the post and comes back?

No. Rebounds off the goalpost, crossbar, or corner flag keep the ball in play, and attackers can score from them.

Who decides the restart after the ball goes out?

It depends on which line was crossed and who touched it last: touchline means a throw-in to the opponents of the last toucher; over the goal line means a goal kick (last touch by attacker) or corner (last touch by defender).

Can VAR disallow a goal if the ball went out earlier in the move?

Yes. VAR checks the attacking phase, and if the ball wholly crossed a line at any point in the build-up, the goal is disallowed — as Aston Villa discovered on 1 November 2026, when a goal was chalked off for an out-of-play moment 19 seconds earlier.

What if the ball bursts during play?

Play stops because the ball is defective, not because it is out of play. The restart is a dropped ball where the ball burst.

What if a substitute touches a ball that is rolling out?

Since 2025/26, if there was no intention to interfere unfairly, the opponents get an indirect free kick and there is no card. Only repeated offences bring a caution.

Conclusion

Law 9 comes down to one sentence: the ball is out only when the whole of it has wholly passed over the whole of the line, on the ground or in the air. Everything else — rebounds, referee deflections, VAR rewinds, dropped balls — flows from that sentence and its two great exceptions: the 2019 referee-deflection rule and the 2025/26 substitute-touch rule. Learn to judge the whole ball, not the part you can see, and almost every “was it out?” argument in football starts to resolve itself.

Keep learning: football basic rules for beginners · how VAR reviews work · throw-ins in football · goal kick rules · corner kick rules · football drop ball rules · football kickoff rules · football field dimensions · GameGuidelines homepage · about us.

Sources

Avatar photo
Written by David Okafor
David has coached football for 12 years, from grassroots youth teams in London to academy-level development squads. He holds a UEFA B coaching licence (earned 2019) and a FA Youth Award, and he's completed the IFAB's official Laws of the Game education modules. His coaching philosophy is simple: players who understand the rules play better football. David started writing rule explanations for his own players' parents — tired of touchline arguments about throw-ins and offsides — and discovered he had a knack for making complex laws click. At GameGuidelines, he covers match rules, set pieces, and the laws as they apply to different formats of the game, always with a coach's eye on the practical side. He currently coaches an U14 side on Saturday mornings and still gets asked about the handball rule at least once a month.