Badami (BDM) is the nearest railway station for Pattadakal and Aihole. There are a few daily and weelky trains from Bangalore to Badami.
For some trains stop is at Bagalkot (BGK) which is about 25km north of Badami.
The best option is the Gol Gumbaz Express (Train No:16535) that leaves Bangalore by evening and reaches Badami in the morning.
The second direct train from Bangalore to Badami is the Yesvantpur Barmar AC Express (Train No: 14805) Though its a weekly once (Mondays) train and reaches Badami in late night.
Alternatively, if you are willing to break the journey in two, book in one of those Hubli (UBL) bound trains from Bangalore. Get down at Gadag Jn (GDG). There are many trains passing through Gadag towards Bagalkot (BGK) via Badami, Including a few passenger trains.
Checkout also your options to travel Bangalore to Badami by bus.
Mysore-Sainagar Shirdi Express
Yesvantpur Barmar AC Express
Gol Gumbaz Express
Also see the irctc.co.in website for updated and train timings.
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.
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. 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.
The history of Chalukyas is a bit complicated with controversies and ambiguities ; and often riddled with myths and legends. Complicated, because there were many dynasties ( to be specific three ) shared the name Chalukya. Before going further into this, let's first see where was this Chalukya Empire, as it is often referred, existed in India. Those of you with an understanding of the India's geography , imagine the Indian heartland bordered by two rivers - Narmada in the north and Kaveri in the south. Well, what lies between these two rivers was practically the span of Chalukyan Empire at its peak.
Dedicated after Shiva, Kadasiddheswara Temple is the first temple you will be visiting as you enter the Pattadakal site. In size this temple is much smaller than say the Virupaksha Temple or the Mallikarjuna Temple , located further deep in the site. Possibly this temple was constructed during the regime of the Chalukya king Vijayaditya (696 - 733 CE). And this temple remains as an example of one of the earliest experiments the Chalukya clans did in the temple architecture. Otherwise this is built in what is called the Nagara style of architecture.
The Virupaksha Temple of Pattadakal signifies the high watermark of the Early Chalykyan architecture. This temple was built in commemoration to the victory of the Chalykyas over the Pallavas of the Kanchipuram.