1. A nonvolatile memory device comprising: a first electrode; a second electrode; and a variable resistance layer provided between the first electrode and the second electrode and containing impurity of a nonmetallic element, the impurity being at least one selected from the group consisting of S, Se, Te, F, Cl, Br, and I.