We often find illegal immigrants moving from one country to another. By means of land these illegal immigrants move over the fence cut the border wires and moves to the other part of the land. What do you think our soldiers are not doing their job? It is not that actually. It is very difficult to watch consistently over the border. Soldiers have a limited vision to check around the whole land mass. So for them we have come up with a solution that we have built a device that will sense the presence of an intruder (illegal immigrant). This device will be installed over the fences. When an intruder passes over the fence this device will transmit the signal to the soldiers Smartphone app (BLYNK app). The soldier will be notified with the signal and after receiving the signal, the soldier can switch on the alarm and the emergency lights via the app. By this the soldiers in the camp will be alerted and can take their respective positions and arrest the intruder which was passing the border illegally. By this device we can alert the soldiers in the border to take more safety precautions to keep our country safe. Index Terms-Node MCU ESP32, infrared sensor, Blynk app.