01NBA
What is illegal defense in basketball: what the rulebook says
The words "illegal defense" do not appear in the 2025-26 playing rules. What does appear is the Defensive Three-Second Rule, in Rule 10, Section VII. It covers the same ground, the way defenders may position themselves in and near the lane.
The rule has these parts:
- The count starts when the offensive team is in control of the ball in the frontcourt.
- Any defensive player positioned in the 16-foot lane, or in the area extending 4 feet past the lane end line, must be actively guarding an opponent within three seconds.
- Actively guarding means being within arm's length of an offensive player and in a guarding position.
- Any defensive player may play any offensive player. The defenders may double-team any player.
The third and fourth points are the answer to the common question about zone defense in the NBA. The rulebook places no restriction on which defender guards which opponent, and it expressly allows double teams, and the one requirement is that a defender who stands in the lane has to be guarding someone.
02NBA
When the count is suspended
| Situation | Count |
|---|---|
| A player is in the act of shooting | Suspended |
| There is a loss of team control | Suspended |
| The defender is actively guarding an opponent | Suspended |
| The defender completely clears the 16-foot lane | Suspended |
| It is imminent that the defender will become legal | Suspended |
A defender who is guarding the player with the ball may be located in the lane and is not required to be in an actively guarding, arm's-length position. If another defender actively guards the player with the ball, the original defender must actively guard an opponent or exit the lane, and the same applies once the offensive player passes the ball.
03NBA
The penalty
A technical foul is assessed. The offensive team retains possession on the sideline at the free throw line extended, nearest the point of interruption. The shot clock stays the same as when play was interrupted, or is reset to 14 seconds, whichever is greater. If a violation is whistled during a successful field goal attempt, it is ignored and play resumes as after any successful basket.
04NBA
The offensive three-second rule
The defensive rule has an offensive counterpart in Rule 10, Section VI. An offensive player may not remain for more than three seconds in that part of the free throw lane between the end line and the far edge of the free throw line, while the ball is in control of his team. A player who has been there for less than three seconds and is in the act of shooting at the end of the third second gets an allowance, and the count is paused while his continuous motion is toward the basket.
The three-second count does not begin until the ball is in control in the offensive team's frontcourt, and no violation can occur if the ball is batted away by an opponent. The penalty is loss of the ball, awarded to the opposing team on the sideline at the free throw line extended.
05NBA
How the rules were checked
The wording comes from Rule 10, Section VII of the official 2025-26 NBA playing rules. The statement that the term illegal defense does not appear rests on a search of the full rulebook text. This page quotes the rulebook and does not describe how the rule is applied in a particular game or how the league has changed its rules in earlier seasons.
The rules are reviewed each year. This page was checked against the 2025-26 edition. More basketball pages are collected on the NBA hub, and the page about contact in basketball covers the rules on defenders.
06NBA
Common questions about illegal defense
What is illegal defense in basketball?
The 2025-26 NBA rulebook has no rule by that name. Its rule for defenders in the lane is the defensive three-second rule.
Is zone defense allowed in the NBA?
The rulebook says any defensive player may play any offensive player and that defenders may double-team any player. The lane restriction is the defensive three-second rule.
How long can a defender stay in the lane?
Not more than three seconds without actively guarding an opponent.
What does actively guarding mean?
Being within arm's length of an offensive player and in a guarding position.
How wide is the lane?
16 feet.
What is the penalty for a defensive three-second violation?
A technical foul. The offensive team keeps possession on the sideline at the free throw line extended.
Does the count run when a player is shooting?
No. It is suspended when a player is in the act of shooting.
Does this apply in college or high school?
This page covers the NBA rulebook only.
