In 1948, Guevara entered the University of Buenos Aires to study medicine. But in 1951, he took a year off from studies to embark on a trip traversing South America by motorcycle with his friend Alberto Granado, with the final goal of spending a few weeks volunteering at the San Pablo Leper colony in Peru, on the banks of the Amazon River. On the way to Machu Picchu high in the Andes, he was struck by the crushing poverty of the remote rural areas, where peasant farmers worked small plots of land owned by wealthy landlords. Later on his journey, Guevara was especially impressed by the camaraderie among those living in a Leper Colony, stating "The highest forms of human solidarity and loyalty arise among such lonely and desperate people." Guevara used notes taken during this trip to write an account entitled The Motorcycle Diaries, which later became a New York Times best-seller, and was adapted into a 2004 award-winning film of the same name
By trip's end, he came to view Latin America not as collection of separate nations, but as a single entity requiring a continent-wide liberation strategy. His conception of a borderless, united Hispanic America sharing a common 'Latino' heritage was a theme that prominently recurred during his later revolutionary activities. Upon returning to Argentina, he completed his studies and received his medical degree in June 1953, making him officially "Dr. Ernesto Guevara". Guevara later remarked that through his travels of Latin America, he came in "close contact with poverty, hunger and disease" along with the "inability to treat a child because of lack of money" and "stupefaction provoked by the continual hunger and punishment" that leads a father to "accept the loss of a son as an unimportant accident". It was these experiences which Guevara cites as convincing him that in order to "help these people", he needed to leave the realm of medicine, and consider the political arena of armed struggle.