A series of specifications for protecting commercial and residential buildings from electrical hazards. The National Electric Code (NEC) is published by the National Fire Protection Association (NFPA), an international organization that advocates standards for fire safety and related issues.
The NEC is one of hundreds of standards documents produced by the NFPA. The NEC, which is NFPA standard number 70, deals with how to properly install and maintain electrical and electronic equipment in order to minimize fire hazards.
In the area of computer networking, the NEC covers the proper installation and construction of copper cabling and fiber-optic cabling, as well as issues relating to the powering of network devices, such as proper grounding.
The NEC is legally enforced in every state in the United States and in a number of other countries. Most U.S. municipalities have adopted NEC recommendations in local building codes. Testing of electrical equipment for compliance with NEC standards is performed by Underwriters Laboratories (UL).