The invention provides a method for adjusting the height of a grid
electrode and a
semiconductor structure, and belongs to the field of semiconductors. The method of adjusting gate height includes providing a
semiconductor substrate. And
etching back the
hard mask layer in the NMOS region to reduce the thickness of the
hard mask layer in the NMOS region. And after back
etching, gate structures are respectively formed in the PMOS region and the NMOS region. And filling a
dielectric layer, wherein the
dielectric layer covers the gate structure of the NMOS region. And patterning a groove,
etching the groove in the PMOS region, and when the groove is etched in the PMOS region, the thickness lost by the
hard mask layer in the PMOS region is basically equal to the thickness lost by etching the hard
mask layer in the NMOS region. By depositing the hard
mask layer and etching the hard
mask layer, the thickness of the hard
mask layer in the PMOS region is basically equal to that of the hard
mask layer in the NMOS region, so that the height of the formed grid
electrode in the PMOS region is basically equal to that of the grid
electrode in the NMOS region, and the performance of the device can be improved.