Badami , located about 22 km (14 miles) southwest of Pattadakal is the nearest railway station for Pattadakal. Badami (Station Code:BDM ) itself is on the less busy Solapur-Gadag route. Checkout Bangalore to Badami Trains for train timings.
This means, there are not many long distance trains connect Badami directly with other metro cities in the region. However there are a few convenient express and local train connections for Badami.
Selecting the right train of course depends on your larger travel plan and also from which city you are traveling to.
If you are traveling from the north ( or any where from north of Bijapur district in Karnataka ) can look for a suitable connection train to Solapur Junction (Station code :SUL) in Maharastra. Solapur is a major railway junction with a large number of long distance trains passing through it.
From Solapur Junction change for one of the few train heading towards Gadag Junction. There are two express trains the Golgumbaz Express (Train No: 6536 , operates on Tuesday ,Friday & Sunday ) and the Solapur Bagalkot Express ( Train No 1423 , Operates daily ).
The express trains takes about 4½ hours to cover the 233 km (145 miles) distance between Solapur and Badami. While the Golgumbaz Express leaves Solapur by 3.30 pm and reaches Badami around 8 in the evening, the Solapur Bagalkot Express leaves Solapur early in the day (6.20 am) and reaches Badami by 11 in the noon.
Gadag Junction (Station Code :GDG ) is the transit station for Badami for those of you traveling from south and west of Pattadakal (that is from Mumbai, Pune, Goa,Hubli, Hospet, Chennai, Bangalore etc ). Gadag Junction is on the relatively busy Hubli - Guntakal route.
Gadag to Badami is a little over 1 hour by train ( 68km / 42miles ). This is comparable with the more frequent road options, considering waiting time for a train towards Badami. However if you are traveling from Bangalore , consider the Golgumbaz Express (Train No:6535, operates on Monday, Thursday and Saturday ) that connects Bangalore ( that is ,Yesvantpur Junction ) with Solapur Junction.
Other connections are the Hubli (UBL) to Bijapur express (Train No:0693) that goes via Gadag, Badami and Bagalkot and the Gadag - Sholapur Express (Train No:1424 ) that goes via Badami, Bagalkot and Bagalkot.
In short, there are a few long distance trains that goes via Badami, your nearest railhead for Pattadakal. If that's not an option look for a train that can get you to Solapur or Gadag, two main junctions located north and south of Badami respectively. Further you can get a different train or bus connection.
Note: For accurate and up-to-date details, please check all the details with the official website of Indian Railways.
Train Route Map for Badami, Pattadakal and Aihole. Badami is the nearest railway station
See Also : How to Reach Pattadakal
Golgumbaz Express (Train Number 6535 / 6536) is a tri-weekly express train between Solapur and Bangalore( Yesvantpur Junction). In the Yesvantpur to Solapur route it is called Solapur Express and in the return route it is called Golgumbaz Express.