In this work, by analyzing the properties and dynamics of defects in detail, the role of nitrogen in improving the endurance of ferroelectric field-effect transistors (FeFETs) is clarified. First, the properties of defects (trap energy level ${E}_{text {T}}$