This document proposes a secured railway system based on GPS tracking to prevent train accidents. Each train would be equipped with a GPS module to track its location. When two trains approach each other on the same track, the central station would automatically compare the GPS values and send a warning signal to both trains. The system could also identify the track a train is on using GPS and notify the station master and approaching trains of the free track. This would prevent accidents caused by trains colliding on the same track or a stationary train, like the 2010 Sainthia train collision in India. The proposed system aims to increase railway safety through real-time GPS tracking and communication between trains and the central control station.