Ewan McGregor congratulated Mo Farah on "being an inspiration to so many people" before they posed for the cameras with their medals.
Olympian Mo Farah has played down reports that he broke Wimbledon rules by filming play from the Royal Box and posting footage on social media.
Farah said after collecting his CBE, "I was filming but I took the film down from Twitter".
The double Olympic gold medallist also gave Andy Murray his backing to become the first British man to win the title at the All England Club for 77 years, saying, "I believe this year he can win it".
Olympian Mo Farah posed with a group of Beefeaters outside Buckingham Palace after receiving his CBE.
Actor Ewan McGregor has received his OBE from Prince Charles at Buckingham Palace.
Mo Farah and Ewan McGregor have arrived at Buckingham Palace for today's investiture ceremony.
Double Olympic-gold medallist Farah is to receive a CBE, while McGregor will be awarded an OBE.
This morning I will be wearing my kilt for a special occasion. First time in a long time. #lovethekilt
Olympic gold medallist Mo Farah and actor Ewan McGregor have arrived at Buckingham Palace to receive their honours:
McGregor is to be awarded an OBE.
Mo Farah will be awarded with a CBE for services to athletics in a ceremony at Buckingham Palace today.
Ewan McGregor will also be honoured, for services to drama and charity.