A method, comprising forming a first electrode, a memory layer, and a second electrode in this order, wherein the memory layer includes:
- (a) a resistance change layer containing an oxide, and
- (b) an ion source layer comprising a stacked structure of two or more unit ion source layers, each unit ion source layer including a first layer and a second layer, the first layer containing (i) one or more chalcogen elements selected from the group consisting of tellurium (Te), sulfur (S), selenium (Se) and any combination of them and (ii) an easy-to-move element that is easy to move in the memory layer, the first layer having a non-uniform distribution of the easy-to-move element proceeding from the first electrode to the second electrode, the second layer also containing a difficult-to-move element that is difficult to move in the memory layer, the easy-to-move element being able to diffuse more easily into the memory layer than the difficult-to-move element.