Pele, 78, was admitted to the hospital in Paris last Wednesday with a fever after attending an event in the city with French World Cup-winner Kylian Mbappe.
Pele, considered by many as the game's finest player and the winner of three World Cups, was treated with antibiotics and said on Friday he was feeling much better.
There was no immediate confirmation of the discharge from Pele's press office in Brazil.
(This story has been refiled to add dropped letter to Mbappe spelling in second paragraph)
News that makes sense
Your trusted source for staying up-to-date with the world around you. Get free daily news updates and analysis, straight to your inbox.
(Reporting by Jean-Stéphane Brosse in Paris; Writing by Marcelo Teixeira in Sao Paulo; Editing by Peter Cooney)
