A semiconductor device, wherein an increase of a capacity between wiring
layers is suppressed, reliability of wiring and property of withstand
voltage of a diffusion prevention insulation film can be improved and the
wiring resistance can be maintained low, is provided by comprising an
interlayer insulation film formed on a substrate, a wiring formed on a
trench pattern formed on the interlayer insulation film, and a diffusion
prevention insulation film formed on an upper surfaces of the interlayer
insulation film including the wiring and preventing diffusion of metal
from the wiring; wherein the diffusion prevention insulation film has a
middle layer between a lowermost layer and an uppermost layer, wherein
the lowermost layer is formed so as to contact the upper surfaces of the
interlayer insulation layer including the wiring, the uppermost layer
constitutes an uppermost portion of the diffusion prevention insulation
film, and the middle layer has a lower relative dielectric constant than
those of the lowermost layer and the uppermost layer.