King Charles III has attended the traditional Ceremony of the Keys at the Palace of Holyroodhouse.
In a symbolic gesture, the King has been offered the keys of the city by Edinburgh's Lord Provost Robert Aldridge.
Thousands of people watched in near-silence as the Queen's coffin made its journey up the Royal Mile in Edinburgh.
The Queen's children, led by King Charles III, walked behind the hearse as it drove from the Palace of Holyroodhouse to St Giles' Cathedral.
A service of remembrance was then held in the cathedral, where the Queen will lie at rest until Tuesday afternoon.
It is estimated that 20,000 people are in a mile-long queue to pay their last respects.
All four of the Queen's children - King Charles, Princess Anne, and Princes Andrew and Edward - later held a vigil for 10 minutes around the coffin of their late mother at the cathedral.
Earlier they had walked behind the hearse, along with Princess Anne's husband, Vice Admiral Sir Tim Laurence.
A car behind them carried Camilla, the Queen Consort, and Sophie, the Countess of Wessex, Prince Edward's wife.
Meanwhile, many people have spent hours queuing through the night to file past the coffin, ahead of its journey to London.
Source BBC News