Hampi is not a big city and is not served by any airport , railway station / train station or a bus station. The nearest train station and bus station is in Hospet , which acts as a gateway to Hampi. 

Getting To Hampi

Hospet to Hampi
The distance from Hospet to Hampi is just 14 kms. From Hospet, you can hire an auto rickshaw to Hampi (Rs 80-120 ) and the distance can be covered in 30 minutes.. If you want a cheaper option you can take a bus (Rs 10 per person). You can board the bus from Hospet’s bus station which is about one and half kilometer from the train station. A shared auto rickshaw from train to bus station would cost Rs 5. The first bus from Hospet to Hampi is at 6:30 am and the last one back from Hampi Bazaar is at 8:30pm.
The auto rickshaw drivers get commission from guest houses in Hampi. They would keep giving you suggestions to check out some guest house throughout the way. Don’t listen to them. Do your own research for accommodation before leaving.
Read about how to reach Hampi from major Indian Cities

Bangalore to Hampi
Goa to Hampi

Trains To Hampi 

There are overnight trains to Hospet from Bangalore, Hyderabad and Goa. These are the most comfortable and economical mode of transport to reach Hampi. 

Hyderabad to Hampi / Hospet 
7429 Rayalseema Express Dep: 5:25 pm Arr: 5:30 am 

Chennai to Hampi / Hospet
There are no direct trains from Chennai. One can go to Tirupati and catch the Rayalseema Express from there. 

Mysore to Hampi / Hospet
There is no direct connection. One can go to bangalore and catch the Hampi express from there.

Pune to Hampi / Hospet
6533 Jodhpur Ypr Express Dep 4:24 Am Arr:8:10 Pm (only Thursday)
6531 Garib Nawaj Express Dep: 4:24Am Arr:8:10 Pm (only Tuesday)

The Indian trains provide various classes of accommodation which fits in everyone’s pocket. If you can afford, it is advisable to travel in upper classes. This is the list of classes availiable ( upper to lower ) – 1st Ac, Ac 2 Tier , Ac 3 Tier , Sleeper Class 

By Road 

Karnataka State Tourism Development Corporation (KSTDC) runs deluxe bus services to Hospet from Bangalore , Mysore and Gokarana. It is advisable to book tickets in advance.  
KSRTC has a daily bus service between Hampi Bazaar and Banglaore (Rs 280, 9hrs) leaving at 8pm. There are also overnight buses from Goa.
Distances from Cities:
Goa to Hampi: 322 Km
Mysore to Hampi : 400 Km
Pune to Hampi: 565 Km
Hyderabad to Hampi: 366 Km

Hampi Airport

Hampi is not served by any airport. The nearest airport is at Hubli which is around 161 Kms (100 miles )from Hampi. It is served by Kingfisher airlines from Bangalore , Mumbai and Hyderabad ( via Mumbai ). From there you can catch a train / bus to Hospet or rent a taxi till Hampi. The train journey from Hubli to Hampi  is covered in approx. 3 hours.