Flooding has become one of the most serious problems for Indonesians, particularly in flood-prone areas. Floods can be hazardous to the community, particularly if they occur suddenly, at night, or at unpredictable times. The answer to these problems is the installation of a flood detection system and a flood barrier door control system. In this paper, a flood detection system and flood door control based on will be presented. Ultrasonic sensors monitor the air level, a SIM800L module delivers signals, a stepper motor operates the door, an LCD shows the air level, and a buzzer offers an immediate warning. The accuracy and precision of the ultrasonic sensor are 98.83% and 99.40%, respectively. Based on the accuracy and precision of the system, it can be concluded that the system can be used for flood control systems.