The invention discloses a
semiconductor device and a manufacturing method thereof, relates to the technical field of semiconductors, and is used for increasing the thickness of at least partial region of a gate side wall along the thickness direction of a
semiconductor substrate, so that the region with larger thickness in the gate side wall has a stronger protection effect, a
process window is expanded, and the yield is improved. The risk of generating defects in the
semiconductor device is reduced, and the yield of the
semiconductor device is improved. The
semiconductor device includes a semiconductor substrate, and a
transistor disposed on the semiconductor substrate. In the
transistor, gate side walls are at least arranged on the two sides of a
gate stack structure in the length direction. In the thickness direction of the semiconductor substrate, the surfaces of different areas in the side faces, away from the
gate stack structure, of the gate side walls are roughly aligned, and the thickness of partial areas of the gate side walls is larger than that of other areas of the gate side walls. The manufacturing method of the
semiconductor device is used for manufacturing the semiconductor device.