The invention discloses the application of protein M57 in regulating the resistance of rice to ammonium. A recombinant vector expressing protein M57 was introduced into Nipponbare to obtain T 0 Transgenic rice with OsMADS57‑R gene; T 0 Transgenic OsMADS57‑R gene rice was continuously selfed for three generations to obtain T 3 Generation of homozygous transgenic OsMADS57‑R rice. Compared with Nippon Clear, T 3 The generation homozygous OsMADS57‑R transgenic rice had stronger growth in the vegetative growth period, significantly increased leaf width, significantly thicker stems, more compact plant shape, significantly increased leaf angle, and significantly decreased plant height at the mature stage. Grain weight, grain width and yield increased significantly after harvesting, as did panicle length and grain number per panicle. It can be seen that protein M57 plays an important role in regulating rice resistance to ammonium, yield, plant height, grain weight, grain width, panicle length, grain number per panicle, leaf width, stem diameter and leaf angle. The invention has important application value.