This document describes an automatic railway track crack detection system that uses IR sensors and a microcontroller. IR sensors transmit radiation patterns to detect cracks in railway tracks by comparing the received pattern to a threshold. When a crack is detected, a GPS system records the location and a GSM module sends an SMS alert with the coordinates to relevant authorities. The system aims to address derailments caused by undetected cracks that can result in loss of life and property.