More about Machu Picchu.... it is located in Cuzco, Peru.
All visits to Machu Picchu at some point leave from Cusco, which can be reached via a domestic flight from Lima, or international flight from La Paz, in Bolivia. Taking the tourist train from Cusco (which takes 3.5 hours to get to Machu Picchu), you have several options.
The most common way is to take the train to Machu Picchu in the morning, explore the ruins for a few hours and return to Cusco in the afternoon. The train terminates at Puente Ruinas station, where buses take tourists up the mountain to Machu Picchu. Strangely, Machu Picchu station is at Aguas Calientes (2km before Puente Ruinas station) but is not the station used by tourists on a day trip.