The city of his former club was the scene of a large gathering of mourners.
The public was allowed to pay their respects to the man in the center of the pitch at the stadium.
A crowd of people crowded the streets on Tuesday as his coffin was carried on a fire truck.
The three-time World Cup winner died at the age of 22.
He had been getting treatment for colon cancer.
Brazil's government declared three days of national mourning after his death, and the country's new president traveled toSantos to pay his respects
The Brazilian flag covered the coffin as it was carried through the crowd of fans.
The house where his mother lives is where the procession passed by.
A steady stream of mourners continued through the night after the wake at the Vila Belmiro stadium.
The funeral cortege will end at the port city's Memorial Cemetery, where a Catholic funeral service will be held before he is buried in the tallest cemetery on the planet.
The South America correspondent for the British Broadcasting Corporation is in the area.
Fans accompanied the cortege chanting "Pel, 1,000 goals" as it passed through the city.
He made a shirt with the number 10 and hundreds of people wore it.
It was a day of mourning for the man Brazilians call their king, but it was also a time to celebrate him.
There was a lot of joy and happiness on the streets of Brazil.
Deofilo de Freitas was first in line at the stadium on Monday and wanted to see his idols before he died.
"Pele was the leader of the group, he was with us all the time," he said. It will be difficult to find someone like him.
He was the best player in the world and a wonderful person.
"Our eternal King Pele says goodbye in Vila Belmiro, his home, with his people," said the team on their official account.