The invention discloses a farmland irrigation and drainage control system which comprises a detection module, a manual control module, an irrigation module and a discharge module, wherein the detection module is mounted in a farmland, the irrigation module is mounted at a water inlet of the farmland, the discharge module is mounted at a discharge port of the farmland, a frequency converter A on anirrigation water pump is electrically connected with a processor, and a frequency converter B on a discharge pump is electrically connected with the processor. According to the system, the detectionmodule comprises a rainfall monitoring module and can detect rainfall in raining, irrigation and drainage are automatically implemented by the system when raining is absent, manual operation is omitted, automation degree is high, the control module controls the irrigation module to irrigate crops according to the rainfall in raining, the irrigation water pump is closed in advance, irrigation wateris reduced, water resources and power sources are saved, the system is more environmentally friendly, the power of a discharge water pump is increased to discharge water according to the rainfall when water is discharged, damage caused by high-level water to the crops is avoided, and growth of the crops can be facilitated.