This document describes a system to detect cracks and obstacles on railway tracks using sensors. The system uses an Arduino board along with an ultrasonic sensor to detect cracks, IR sensors to detect obstacles, and a GSM module and GPS module to send an SMS with the location if a crack or obstacle is detected. It aims to improve railway safety by automatically and quickly identifying track issues to prevent accidents. The system is designed to be low-cost and able to detect even small cracks not visible to the naked eye. If a crack or obstacle is found, an SMS is sent to the control room with the exact latitude and longitude from the GPS module.