Next, read: The 8 Most Common National Electric Code Violations DIYers Make. Indoor nonmetallic boxes are typically plastic or fiberglass ... depth flush with the wall treatment.