This system aims to prevent theft by using an IoT-based anti-theft detection and alarm system. The system uses a NodeMCU microcontroller connected to various sensors like a PIR sensor to detect motion and an ultrasonic sensor to detect distance. When motion is detected, it sends a message to a mobile phone via a Blynk application, lights up a bulb for illumination, and sounds an alarm using a buzzer. The system is designed to be inexpensive while providing effective theft detection and prevention for homes and buildings.