The coffin was lifted out of the hearse and brought into the place of worship, with the King, the Queen Consort, the Princess Royal, her husband Vice Admiral Sir Tim Laurence, the Duke of York, and the Earl and the Countess of Wessex walking behind.
As the coffin made its way through the cathedral, the choir sang Thou Wilt Keep Him In Perfect Peace, Whose Mind Is Stayed On Thee.
Take a look through our picture gallery below.
. Collage Maker-12-Sep-2022-05.42-PM.jpg
A host of famous faces including First Minister Nicola Sturgeon and Prime Minister Liz Truss were in attendance at Edinburgh's St Giles' Cathedral on Monday to pay their respects to Queen Elizabeth III. Photo: Third Party
. First Minister Nicola Sturgeon
First Minister Nicola Sturgeon after greeting King Charles III and the Queen Consort as they arrived at Edinburgh Airport. Photo: Robert Perry
. Liz Truss
Prime Minister Liz Truss before the start of the Service of Prayer and Reflection for the Life of Queen Elizabeth II at St Giles' Cathedral, Edinburgh. Photo: Jane Barlow
. Scottish Secretary Alister Jack
Scottish Secretary Alister Jack during the Service of Prayer and Reflection for the Life of Queen Elizabeth II at St Giles' Cathedral, Edinburgh. Photo: Jane Barlow
. John Swinney
Deputy First Minister John Swinney (centre) arrives at St Giles' Cathedral, Edinburgh for a Service of Prayer and Reflection for Queen Elizabeth II. Photo: PA
. Gordon Brown
Former prime minister Gordon Brown ahead of the procession of Queen Elizabeth II's coffin from the Palace of Holyroodhouse to St Giles' Cathedral, Edinburgh, following her death on Thursday. Photo: Lesley Martin
1. First Minister Nicola Sturgeon
First Minister Nicola Sturgeon after greeting King Charles III and the Queen Consort as they arrived at Edinburgh Airport. Photo: Robert Perry
2. Liz Truss
Prime Minister Liz Truss before the start of the Service of Prayer and Reflection for the Life of Queen Elizabeth II at St Giles' Cathedral, Edinburgh. Photo: Jane Barlow
3. Scottish Secretary Alister Jack
Scottish Secretary Alister Jack during the Service of Prayer and Reflection for the Life of Queen Elizabeth II at St Giles' Cathedral, Edinburgh. Photo: Jane Barlow
4. John Swinney
Deputy First Minister John Swinney (centre) arrives at St Giles' Cathedral, Edinburgh for a Service of Prayer and Reflection for Queen Elizabeth II. Photo: PA