The singer was already on the transplant list when she went into kidney failure, with TMZ reporting that she was rushed to hospital in Chicago with boyfriend Abel "right by her side" through the entire ordeal.
In an fantastic act of friendship and kindness, Selena's actress friend Francia Raisa donated her kidney to the Bad Liar singer. Yes, you read it!
Selena and Francia have been friends for more than a decade.
The superstar said the transplant was "what I needed to do for my overall health".
Raisa starred in "The Secret Life of the American Teenager", the ABC Family series that brought a welcome, though melodramatic, dose of pregnancy and puberty-driven life from the perspective of the youth involved and their parents.
Socceroos tumble down the Federation Internationale de Football Association world rankings
Coach Dennis Lawrence gives instructions during T&T's 0-3 World Cup qualifying loss to Panama in Panama City on September 5. The Africa Cup of Nations champions dropped 10 places from 35th to 45th and are now ranked 6th in Africa.
Gomez added: "There aren't words to describe how I can possibly thank my attractive friend Francia Raisa". She has had a kidney transplant, and her gift of life came from the best possible source. "Until then I want to publicly thank my family and incredible team of doctors for everything they have done for me prior to and post-surgery".
How they became best friends? This was revealed through her social media post in order to shed light regarding what had transpired, why she had to go through the operation, and why she has not been active in her music career.
She made her first public appearance after her recent surgery last Friday. Selena Gomez' struggle to lupus has been nearly 2 years since her confirmation to having diagnosed with the auto-immune disease and that she had canceled a tour and entered rehab to undergo chemotherapy.
There were about 19,000 kidney transplants in the USA a year ago.
During her recovery, she's worked with Netflix for the show "13 Reasons Why", which she said was a way to help foster discussion on mental health and depression.
Lupus is an autoimmune disease, where the body mistakenly attacks its own tissues, sometimes including the kidneys.
Selena Gomez closed her remarks by relating that "Lupus is very misunderstood".