Derail being the second biggest problem in our country, India, thus prepare crash and mischance, is one of the significant concerns. We must Prepare beforehand for the mishappenings due to human errors or mechanical error in trains, in tracks, or in the signal framework. Major and expensive accidents happen because of head-on crash of trains running on a similar track towards each other and if train is on wrong track. More than 85 accidents occurred from 1980 to 2011 in India. In most recent two years more than 27 accidents occurred in India. A few plans have been proposed by analysts in the past to distinguish the danger of conceivable impact and to take preventive measures. This project introduces the advancement of a framework to stay away from accident causes due to Derail caused by obstacles limiting the visibility of the signal, which at pole or obstruction on track and also of train is on wrong track will alert the driver using ultrasonic sensor RFID tag utilizing Radio frequency .i.e. rf module. Track checking instrument utilizes code and controlled by atmega chip and gives the output of the project.