This paper proposes an automatic irrigation system that uses soil moisture sensors and an Arduino board to control a water pump. The system senses the moisture content of the soil and only provides water when the soil is dry, conserving water and ensuring optimal crop growth. When the soil moisture is high enough, the pump is switched off. The system can be controlled remotely using a wireless module and mobile app. Testing showed the system effectively irrigated soils based on their moisture levels. The automatic irrigation system saves water, labor, and improves crop yields compared to manual irrigation methods.