The South African government has estimated around 100,000 passed by Nelson Mandela's coffin while it laid in state for three days at the Union Buildings in Pretoria, including more than 50,000 on the final day.
A statement said: "(The) government reiterates its appreciation to all the people of our country for taking time off from their daily schedules to travel to the Union Buildings to bid President Mandela farewell.
"The expression of love and support has brought immense comfort to the family and loved ones of Tata Madiba."
Final preparations are being made at Nelson Mandela's home ahead of his funeral, ITV News Africa Correspondent Rohit Kachroo has reported:
Inside Mandela home today. Family making final plans, staff rushing around with trays of food. Like prep for any funeral, except this isn't
Nelson Mandela's body has been moved after lying in state in Pretoria for three days, with many South African mourners denied the chance to see their former leader for a final time.
Tens of thousands of mourners have been turned away after flocking to say a personal goodbye to Nelson Mandela on the final day of his lying in state.
At one of the gathering points to board buses in Pretoria the crowd broke through the metal entrance gate when officers tried to stop people coming through.
Some fell to the ground and hundreds streamed past before order was restored.
ITV News Africa correspondent Rohit Kachroo reports from South Africa:
12,000 people turned up for Nelson Mandela's lying in state on Wednesday. Today, the final day, there are at least 50,000.
Thousands of mourners have lined the streets of Pretoria to pay their respects to Nelson Mandela where he is lying in state for a third and final day.
Despite the intense midday heat, South Africans have been queuing patiently for their turn to see Nelson Mandela as he lies in state for a second day in Pretoria.
South Africans are waiting to view the body of former President Nelson Mandela for a second day at the Union Buildings in Pretoria.
Mourners gathered on the streets of the South African capital Pretoria as the funeral cortege carrying the coffin of former South African President Nelson Mandela was driven through the streets.
South African police outriders escorted the cortege to the Union Buildings from 1 Military Hospital, where the body of the former South African Presdient is held overnight, ahead of his burial on Sunday.