The 2017 NEC code book is the current edition. It was published in September 2016 by the National Fire Protection Association (NFPA). The NEC is a model code, which means that it is not mandatory unless adopted by a governmental jurisdiction.