What Is the 3-Second Rule in Basketball? (Offensive & Defensive)

If you’ve ever seen a coach screaming at a center to “get out of the paint,” they weren’t just being loud: they were trying to avoid one of the most frustrating turnovers in the game: The 3-Second Rule.

It sounds simple, right? Just don’t stand in the box for too long. But in reality, the difference between a legal play and a whistle often comes down to a split second. Let’s break down why this rule exists and how it changes between the NBA and the rest of the world.

An offensive player cannot stay in the lane (the paint) for more than three seconds in a row while their team has the ball. The NBA also has a defensive 3-second rule: a defender cannot stay in the lane for more than three seconds unless guarding an opponent within arm’s reach.

The Offensive 3-Second Rule

This is the one you’ll see in every league, from the local gym to the EuroLeague. An offensive player cannot stay in the opponent’s “key” (the painted area) for more than three consecutive seconds while their team has control of the ball.

The Goal: To prevent “camping.” Without this rule, a 7-foot giant could just stand under the rim all day, making it impossible to defend.

How to reset the clock? You must step out with both feet. Just touching the line with one toe doesn’t count: you’ve got to clear the paint completely.

The “Defensive 3 Seconds” (The NBA Special)

Here is where things get tricky. In FIBA (international) basketball, a defender can stand in the paint as long as they want. But in the NBA, that’s illegal.

The NBA has a Defensive 3-Second Rule to keep the game fast and open for dunks and drives. A defender cannot stay in the paint for more than three seconds unless they are actively guarding an opponent (within arm’s reach).

Pro Tip: If you see an NBA defender “tapping” an offensive player and then stepping out, they are resetting their 3-second clock. It’s a constant game of cat and mouse!

The Penalty: What Happens?

  • Offensive violation: Turnover. The other team gets the ball.
  • Defensive violation (NBA): A technical foul is called. The offensive team gets one free throw and keeps the ball. It’s a huge momentum killer!

See it in Action:

Where exactly is the lane?

The lane, also called the key or the paint, is the painted rectangle between the baseline and the free throw line. In the NBA it is 16 feet wide, and in FIBA it is 4.9 meters, almost the same. The lines around it count as part of the lane, so standing on the line still counts as being inside.

When the count does not run

  • The count only starts once the offense has control of the ball in its frontcourt.
  • It stops while a shot is in the air and during a rebound scramble.
  • It pauses while a player in the lane is moving toward the basket to shoot.
  • It does not run while the ball is dead, for example during a free throw setup or a timeout.

Referees also tend to give a little leeway to a player who is clearly trying to get out of the lane, but a player who sets up camp under the basket will hear the whistle.

Why the NBA added defensive 3 seconds

The NBA introduced the defensive 3-second rule in the 2001-02 season, the same year it allowed zone defenses. Without it, a center could stand under the basket all game and wall off every drive.

Keep learning

FAQ

What is the penalty for defensive 3 seconds?

A technical foul. The offense gets one free throw and keeps the ball.

Does the 3-second count stop when a player shoots?

Yes. In the NBA the count is paused while a player in the lane is moving toward the basket to shoot. If that motion stops, the count continues.

Does FIBA have a defensive 3-second rule?

No. FIBA only has the offensive 3-second rule, so defenders can stay in the lane as long as they want.

Sources