Dharampur is a town located in Solan district of Himachal Pradesh. It is located in Kasauli tehsil, about 65 km from Shimla and 15 km from Kasauli on the National Highway 22. It is also connected by the Kalka Shimla Railway Line. It houses the first tuberculosis sanatorium in North India. C R.P.F. camp on N.H. 22 on Shimla Road.
Dharampur is situated on the Chandigarh - Shimla Highway.
It is also connected to Kalka through toy train. The toy train is one of the narrow gauge trains and so is a tourist attraction also as Dharampur is located near to Kasauli and bus connectivity to Kasauli is majorly through Dharampur.