Zone defense became legal in the NBA in the 2001-02 season. The NBA Board of Governors approved the change on April 12, 2001.
Before that, the league had illegal defense guidelines. NBA.com describes them as complicated rules that had coaches shouting "Illegal!" at referees from the bench when they thought the other team's defense broke them.
The Board of Governors approved four rule changes together. The illegal defense guidelines were eliminated. A defensive three-second call was added. The time to bring the ball into the frontcourt went from 10 seconds to 8. And the rules against hand-checking were relaxed. All four took effect for the 2001-02 season.
The trade the league made was the defensive three-second rule. A defender cannot camp in the lane, so an NBA zone cannot simply park a big man under the rim the way a high school or college zone can.
That is the coaching point for anyone studying NBA film. NBA zones look different from what you run in a school gym, because the lane rule forces the middle defender to keep moving. High school and college rules do not have a defensive three-second rule, so check your own rulebook before you copy an NBA coverage.
More Defense questions
Free playbook
Get the free flex offense playbook
Every flex cut, starting set, counter, special and drill, with all 30 diagrams, in one printable PDF.