Pele has joked that he is ready to play for Brazil after being released from hospital in Sao Paulo.
The 74-year-old admitted he had a "scare" after spending several days in intensive care.
After successful treatment for a urinary tract infection, the three-time World Cup-winner talked about helping his country to Olympic football gold in Rio in 2016.
He said: "I'm well and recovered, and now I am preparing for the Olympics."
Pele has only one kidney, having had one removed towards the end of his playing career.
He was admitted to Sao Paulo's Albert Einstein Hospital on 24 November after being diagnosed with a urinary tract infection that stemmed from surgery to remove kidney stones 11 days earlier.
The former Santos and New York Cosmos striker will continue recovering at home.
Pele at his news conference in Sao Paulo
He told a news conference: "I'd like to thank the doctors that took care of me. It was a real fight.
"I would like to thank God - and all friends that have sent me messages and were worried about me.
"It was something I was not expecting, but I was not afraid to die.
"I've had messages from China, Pakistan, from almost all the European countries.
"It is gratifying and good to know that I had the support of so many people around the world who were hoping the situation improved."
Pele continued with a joke, adding: "Now I am preparing for the Olympics. Three professionals can play in the Olympics and I'm one of the three!"
Latest Stories
-
Two in police grip for suspected ritual murder in Akatsi North District
3 minutes -
Who heads the National Insurance Commission (NIC)?
17 minutes -
Outlook of Sub-Saharan African countries to be neutral in 2025 – Fitch
28 minutes -
GH₵490m unaccounted for by ECG in three months – Audit report
29 minutes -
ICS students use theatre to amplify call against illegal mining in Ghana
33 minutes -
From despair to triumph: EDUCARE Trust Fund beneficiary becomes medical doctor
39 minutes -
Chief Moomen to unveil Mansa Musa Epic Theater
1 hour -
Academic City is chartered: Redefining tertiary education in Africa takes full force
1 hour -
Financing challenges to remain in Ghana, Zambia – Fitch
1 hour -
GUSA president calls for government aid amid funding crisis
1 hour -
Cote d’Ivoire gets state of the art Technical Centre thanks to FIFA Forward
2 hours -
Kwasi Kwarteng: Exposing the inconsistencies in NDC’s promise on no academic fees for first-year students
2 hours -
NDC begins interview for MMDCE aspirants in Ashanti Region
2 hours -
Government to release feeding funds for 31 days to senior high schools – CHASS
2 hours -
Tap into reserves for debt repayment amid growing international pressure – Prof Peprah to gov’t
3 hours