Hyderabad to Hampi by train: There are a couple of Express trains connect Hospet with Hyderabad with Hospet.
Try Hyderabad-Kolhapur Express (Train No:11303 / 11304) which takes about 12 hours between Hospet and Hyderabad.
Another option is to go for the Triweekly Kacheguda-Hubli Express (Train No: 17603) and get down at Hospet Jn.
Secunderabad-Hubli Express (Train No:17320) travels to Hubli via Badami and Gadag. If you plan to cover Badami,Aihole, Pattadakal also as part of Hampi trip, take this train and get down at Badami.
You can not get a direct train from Badami to Hospet. But if you get down at Gadag Jn, it's on the relatively busy Hubli-Hospet route.
Hyderabad to Hampi by Road:
Hyderabad to Hampi distance is about 370km , takes about 7-8 hours of drive with halts.
Hyderabad-- 85Km ->Jadchelra-- 18km --> Mehbubnagar-- 105km-->Raichur--90km-->Sindhanur-- 50km-->Gangawati-- 6km-->Kampli--20km-->Kamalapur --4km-->Hampi
Hyderabad to Hampi by bus: KSRTC operates many daily services (about 7 hours travel time) from Hyderabad to Shimoga, via Hospet. Types range from Airavat (luxury Volvo bus) to Sarige type (express).
Check with SRE Travels. They operate daily overnight AC Sleeper bus (Volvo) service to Hospet from Hyderabad.
Bus drops you at Hospet bus station, from where you can board a local bus to Hampi or take an auto-rickshaw.
See also How to reach Hampi for other travel options.
Amaravati Express (Train No.18047 / 18048 ) is a cross-country train that connects east India to the west. That is, Goa (Vasco-da-Gama) in the west coast with Howrah Junction in the east.This train travels via Hospet Junction, the nearest railway station for Hampi. Those coming from the eastern parts of India to Hampi, this is a suitable train. The train covers its 2155 kilometers (1340 miles) journey in 2 days.
How to reach Hampi ?
Your gateway town to Hampi is Hospet , bustling town located very close to the Hampi village.This is the major travel hub from where you can get the travel connections as well as a variety of hotel options.