Badami is the nearest place where you can get some reasonable quality accommodation. See Badami Hotels for both budget type and upscale hotel accommodation in and around Badami town.
Also checkout Facilities in Pattadakal for more .
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.