A memory device including: a lower electrode; a ferroelectric layer formed
above the lower electrode; a charge compensation layer formed above the
ferroelectric layer and including an oxide having a composition differing
from a composition of the ferroelectric layer; and upper electrodes
formed above the charge compensation layer. The upper electrodes
includes: a saturated polarization forming electrode used for forming a
domain polarized to saturation in a predetermined direction in a
predetermined region of the ferroelectric layer; a writing electrode
disposed apart from the saturated polarization forming electrode; and a
reading electrode disposed apart from the writing electrode.