In a fin field effect transistor (FET), an active pattern protrudes in a
vertical direction from a substrate and extends across the substrate in a
first horizontal direction. A first silicon nitride pattern is formed on
the active pattern, and a first oxide pattern and a second silicon
nitride pattern are sequentially formed on the substrate and on a
sidewall of a lower portion of the active pattern. A device isolation
layer is formed on the second silicon nitride pattern, and a top surface
of the device isolation layer is coplanar with top surfaces of the oxide
pattern and the second silicon nitride pattern. A buffer pattern having
an etching selectivity with respect to the second silicon nitride pattern
is formed between the first oxide pattern and the second silicon nitride
pattern. Internal stresses that can be generated in sidewalls of the
active pattern are sufficiently released and an original shape of the
first silicon nitride pattern remains unchanged, thereby improving
electrical characteristics of the fin FET.