Question: are electrical outlets allowed in closets?
Answer: Although receptacle outlets within closets are permitted, they are not required. ... Receptacles must be installed so that no point measured horizontally along the floor line in any wall space is more than 6 feet or 1.8 meters from an outlet in that space.