There is provided a semiconductor device having a ferroelectric capacitor formed
on a semiconductor substrate covered with an insulator film, wherein the ferroelectric
capacitor comprises: a bottom electrode formed on the insulator film; a ferroelectric
film formed on the bottom electrode; and a top electrode formed on the ferroelectric
film. The ferroelectric film has a stacked structure of either of two-layer-ferroelectric
film or three-layer-ferroelectric film. The upper ferroelectric film is metallized
and prevents hydrogen from diffusing in lower ferroelectric layer. Crystal grains
of the stacked ferroelectric films are preferably different.