Soccer Rules Explained: Offside, Fouls, Cards and Restarts
Football (soccer) is played under the Laws of the Game, written by the International Football Association Board (IFAB). There are 17 Laws, and the current edition, 2026/27, took effect on 1 July 2026. Most of the arguments in a match come from a handful of them: when the ball is out, offside, fouls, cards and how play restarts. This guide covers those in plain terms. Youth, school and recreational leagues often modify the Laws (smaller fields, fewer players, no offside for the youngest players), so check your own league's rules.
The basics
- Players. Eleven per team, one of them a goalkeeper. A match cannot start or continue if a team has fewer than seven.
- Length. Two halves of 45 minutes for adults, with time added for stoppages. Youth matches are shorter.
- Substitutes. Top competitions allow up to five substitutes, used in no more than three stoppages plus half time. Other competitions set their own numbers, and many youth leagues allow free substitution.
- Scoring. A goal is scored when the whole ball crosses the goal line between the posts and under the crossbar, provided no offense was committed.
In and out of play
The ball is out of play only when the whole ball has crossed the touchline or goal line, on the ground or in the air, or when the referee stops play. A ball on the line is still in. A ball that rebounds off the referee, a post or the corner flag and stays on the field is still in play, although if it hits a match official and goes into the goal, changes which team has it, or starts a promising attack, play is stopped and restarted with a dropped ball.
Restarts
| Restart | When | Can a goal be scored directly? |
|---|---|---|
| Kick-off | Start of each half and after a goal | Yes, against the opponents |
| Throw-in | Ball crosses the touchline; awarded against the team that touched it last | No |
| Goal kick | Ball crosses the goal line (not a goal), last touched by an attacker | Yes, against the opponents |
| Corner kick | Ball crosses the goal line (not a goal), last touched by a defender | Yes, against the opponents |
| Free kick | After a foul or other offense | Direct free kick yes; indirect free kick only after another player touches it |
| Penalty kick | Direct free kick offense by a defender inside their own penalty area | Yes |
| Dropped ball | Play stopped for another reason, such as an injury | No, it must touch two players first |
A throw-in is taken with both hands, from behind and over the head, with part of each foot on the touchline or the ground outside it. Opponents must be at least 2 meters (2 yards) away at a throw-in and 9.15 meters (10 yards) away at a free kick or corner. Under the 2026/27 Laws, if the referee decides a team is delaying a throw-in or goal kick, a visible five-second countdown starts; a late throw-in goes to the opponents and a late goal kick becomes a corner. A goalkeeper who holds the ball in the hands for more than eight seconds also concedes a corner kick.
Offside
Offside is a two-step rule: being in an offside position is not an offense on its own.
Step one, the position. A player is in an offside position if, at the moment a teammate plays or touches the ball, any part of the head, body or feet is in the opponents' half (excluding the halfway line) and nearer to the opponents' goal line than both the ball and the second-last opponent. The goalkeeper usually counts as one of the last two. Hands and arms are not counted. Level with the second-last opponent, or level with the ball, is onside.
Step two, the offense. A player in an offside position is only penalized if they become involved in active play: playing or touching the ball, interfering with an opponent (blocking their line of vision, challenging them, or clearly trying to play a ball close to them), or gaining an advantage from a rebound or a deflection off the goal frame, an official or an opponent.
There is no offside offense from a goal kick, a throw-in or a corner kick. The penalty is an indirect free kick to the defending team where the offense occurred.
Walking through it. A midfielder passes forward. At the moment of the pass, the striker's shoulder is a step beyond the last defender (the goalkeeper is behind both). The striker is in an offside position. If the striker runs onto the ball, that is an offense. If the striker stands still and a teammate who was onside runs onto the ball and scores, the goal stands, unless the striker was blocking the goalkeeper's view or challenging a defender.
Fouls and free kicks
A direct free kick is awarded when a player, in a way the referee considers careless, reckless or using excessive force, charges, jumps at, kicks or tries to kick, pushes, strikes or tries to strike, tackles or challenges, or trips an opponent. It is also awarded for holding, for impeding an opponent with contact, for biting or spitting at someone, and for handball. If a defender commits one of these offenses inside their own penalty area, the kick becomes a penalty kick, taken from the penalty mark 11 meters (12 yards) from goal.
Handball is touching the ball with the hand or arm (the arm starts at the bottom of the armpit) deliberately, or with the hand or arm making the body unnaturally bigger. A player also may not score directly from their own hand or arm, even accidentally. The goalkeeper may handle the ball inside their own penalty area, but not from a deliberate kick to them by a teammate or straight from a teammate's throw-in; that gives an indirect free kick.
An indirect free kick is given for less serious offenses such as playing in a dangerous manner without contact, impeding without contact, offside, and some goalkeeper offenses. The referee raises an arm to show it is indirect.
The referee can also play advantage, letting play continue when stopping it would help the team that committed the foul, and can still show a card at the next stoppage.
Yellow and red cards
A yellow card (a caution) is shown for offenses such as unsporting behavior, including a reckless tackle or a deliberate handball that stops a promising attack, dissent, persistently committing offenses, delaying the restart, not retreating the required distance, and entering or leaving the field without the referee's permission. Two yellow cards in one match make a red.
A red card (a sending-off) is shown for serious foul play (a tackle that endangers an opponent's safety or uses excessive force), violent conduct, biting or spitting, offensive or abusive language or gestures, a second yellow, and denying an obvious goal-scoring opportunity by a foul or a deliberate handball. If a defender denies an obvious goal-scoring opportunity inside their own penalty area with a genuine attempt to play the ball, a penalty is awarded and the card drops to yellow. A sent-off player cannot be replaced, so the team plays a player short.
A penalty, start to finish
An attacker is tripped inside the penalty area. The referee points to the spot. The ball is placed on the penalty mark; the goalkeeper stays on the goal line, between the posts, until the ball is kicked, with at least part of one foot touching, in line with or behind the line. Everyone else stays outside the penalty area and the arc, behind the ball. The kicker must kick the ball forward and may not touch it again until another player has. If a goalkeeper's early movement saves the kick, it is retaken; if the kick is scored, it stands.
Injuries
The referee stops play for a serious injury. The 2026/27 Laws add that a player who is assessed or treated on the field must, with some exceptions, leave and stay off for one minute after play restarts. A player who is hurt should come off and be checked, whatever the score, and in youth soccer a parent should be told.
Where to go next
Once you know how a single match works, the next question is usually how results turn into a table: see how league tables work and the title race calculator. If you are kitting out a youth team, soccer ball sizes by age explains which ball each age group uses. For anything this guide does not cover, the IFAB's Laws of the Game are free to read, and your league's rules come first wherever they differ.