Manali does not have a railway station. To reach Manali by railways you have to get down at the nearest railway station to Manali which is Joginder Nagar Railway Station at a distance of 162.6 km from Manali.
There is no direct rail connectivity of this station to major cities in India. You have to first take a train to Pathankot and then take another train from Pathankot to Joginder Nagar Railway Station. You can take a taxi from the railway station which will take around 4.5 to 5 hours for you to reach Manali.
Also, there is an alternative if you are planning to come by train. Chandigarh Railway Station is at a distance of 315 km from Manali. You can take a train till Chandigarh Railway Station and then opt for a cab or a bus from there. It is a better option as there are a number of trains going to Chandigarh Railway Station connecting a number of major Indian cities such as Delhi, Jaipur, Indore, Kolkata, Madurai, Lucknow and many more. The journey from the station to Manali will take about 8 to 8.5 hours.