1. A variable resistance element comprising: a first electrode, a layer in which its resistance is variable by applying an electric pulse thereto, the layer being formed on the first electrode, and a second electrode formed on the layer; wherein: the layer has a perovskite structure; and the layer has at least one selected from depressions and protrusions in an interface with at least one electrode selected from the first electrode and the second electrode.