A motorcyclist since his youth, McGregor undertook a marathon international motorbike trip with his best friend Charley Boorman and cameraman Claudio von Planta in 2004. From mid-April to the end of July, they travelled from London to New York via central Europe, Ukraine, Kazakhstan, Mongolia, Russia, Canada and the United States on BMW R1150GS Adventure motorbikes, for a cumulative distance of 22,345 miles (35,960 km). The trip included visits to several UNICEF programs along the route, and formed the basis of a television series and a best-selling book, both called Long Way Round.
McGregor is involved in charity work, including UNICEF UK since 2004 and GO Campaign. During the Long Way Round journey in 2004, McGregor and his travelling companions saw some of UNICEF's work in Ukraine, Kazakhstan, and Mongolia, and during the Long Way Down trip in 2007, he and Charley Boorman did some work for UNICEF in Africa. McGregor hosted the annual Hollywood gala for the GO Campaign in 2009 and 2010. He has worked with the Children's Hospice Association Scotland, as featured in Long Way Down. In 2012, he travelled with UNICEF immunization workers to remote parts of India, Nepal and the Republic of Congo for a BBC2 documentary entitled Ewan McGregor: Cold Chain Mission. In June 2015, McGregor read Hans Christian Andersen's "The Little Match Girl" for the children's fairytales app GivingTales in aid of UNICEF, together with other prominent figures such as Roger Moore, Stephen Fry, Joan Collins, Joanna Lumley, and Michael Caine.