Edinho is a retired footballer who played goalkeeper for Pele's old club, Santos, in the 1990s.
He was first arrested in 2005 and has served a sentence for drug trafficking offences and links with a notorious drug dealer in the city of Santos.
He admits he had a drug problem but denies the trafficking charges.
The ruling was issued by a judge in the nearby coastal city of Praia Grande, in Sao Paulo state.
Brazilian media have not been able to contact Edinho, whose real name is Edson Cholbi do Nascimento, but they say he is expected to appeal.
Edinho, 43, works as a goalkeeping coach at Santos.
Pele, or Edson Arantes do Nascimento, played all his professional career in Brazil for Santos.
Playing for Brazil, he won the World Cup in 1958, 1962 and 1970 and was acclaimed as the greatest footballer of his generation.
He retired in 1974, but made a comeback a year later for New York Cosmos.
Edinho is Pele's third son from his first marriage. He was five when Pele was signed to play for Cosmos and the family moved to New York.
When he returned to Brazil he decided to pursue a career in professional football - as a goalkeeper, much to his father's surprise.
He was Santos' goalkeeper in 1995 when the team reached the Brazilian league final, losing the title to Botafogo.
His detention and alleged involvement with drug gangs took most people in Brazil by surprise.
Pele, now 73, went to visit his son several times in jail.
"God willing, justice will be done. There is not a shred of evidence against my son," he said in 2006.
Edinho said that his father was his idol.
Four other people have also been convicted for many laundering, including a man accused of controlling much of the drug trafficking in the region - Ronaldo Duarte Barsotti, known as Naldinho.

Pawel Lupa, 41, of Gleneagles Drive in Kirkby-in-Ashfield killed his partner Aleksandra Mrozik, 47, at their home in July, Nottingham Crown Court heard.
A jury found him guilty of the murder of Ms Mrozik and guilty of the attempted murder of Wojcek Bocek, 32.
Lupa attacked his two victims after an altercation at their flat in a "callous attack", Judge Gregory Dickenson said.
The judge said Lupa had shown a "total disregard" for his partner's fate, adding: "You did not lift a finger to try to help or to comfort Aleksandra (after the attack)."
Updates on this story and more from the East Midlands
Lupa's barrister Peter Joyce said all three of the people involved in the argument on 16 July 2016 were "heavy drinkers".
"I've never seen a greater consumption of alcohol in any case," he said.
The court heard that Lupa threw a meat cleaver at Mr Bocek and then used a different knife to stab Ms Mrozik in the chest and through the arm.
She was treated by paramedics in the front garden of their home but died on the way to hospital.
Lupa was sentenced to 12 years for attempted murder and will serve the term concurrently with his murder sentence.
Det Ch Insp Hayley Williams of East Midlands Special Operations Unit said: "Both victims were subjected to frenzied attacks.
"There was blood in every room of the house, on several neighbours' doors as Mr Bocek frantically tried to get help."

The Portrush golfer, starting on the back nine on the Californian course, birdied the par-five 17th and hit more two birdies on the front nine.
He also bogeyed the par-three seventh and is tied for 30th place, five shots behind American leader Sam Saunders.
Padraig Harrington is tied for seventh place on four under alongside Phil Mickelson.
Shane Lowry will struggle to make the weekend cut, having shot three over through 16 holes on a fog-delayed first round.
Dustin Johnson's bid to overtake Jason Day as world number one continued with a first-round five-under-par 66.
The son of the Brazilian football legend Pele has been sentenced to 33 years in jail for laundering money raised from drug trafficking.
[NEXT_CONCEPT]
A man who stabbed his partner to death in a "frenzied attack" after a drunken argument has been jailed for 23 years.
[NEXT_CONCEPT]
Graeme McDowell carded a two-under par round of 69 at the opening round of the weather-interrupted Genesis Open.