In a third aspect of the invention, in a semiconductor device including a capacitor having of a dielectric film formed between first and second electrodes, the second electrode has a polycrystalline film including a noble metal as a main component and having an average crystalline grain size equal to or less than 50 nm.