Leanos was born on September 6, 1996 in Redlands, California to Mexican parents. Growing up, Leanos was poor and lived in motels most of his childhood. He attended Redlands East Valley High School, but dropped out of high school in his freshman year, and spent several years at home unemployed. Leanos took a job as a street cleaner and sold drugs before he began rapping. Leanos later pursued a photography career in support of several friends who were rappers. He eventually had his camera stolen, and chose to begin rapping in lieu of investing in a new camera.
Leanos began to gain recognition through platforms such as SoundCloud and YouTube. His popularity grew after the release of the music video for his song "Betrayed" in August 2017. The song peaked at no. 64 on the Billboard Hot 100. In an interview with XXL, Leanos announced his debut album Total Xanarchy. The album includes collaborations with artists such as Diplo and Swae Lee. In December 2017, Leanos announced his Total Xanarchy tour, which sold out in five hours according to Billboard. In 2018, Leanos announced that he would change his stage name to "Diego" in order to support his anti-drug message, though he later said in an interview he was not sure if he would change his name.
In the wake of Mac Miller's death, Leanos announced his retirement from music in September 2018.
According to Pigeons & Planes, Leanos' music started off as "typical trap" and later shifted towards "a murkier, dream-like sound".The New Yorker has described Leanos as part of a "sad rap" movement.
Leanos made headlines in 2018 when during an interview he rated the late rapper Tupac Shakur only a "2" [out of 9] and called his music boring. After the incident fellow rapper Waka Flocka Flame claimed on Twitter that Leanos is "banned from hip hop". However, Leanos later paid tribute to Tupac by playing the song "California Love".
Leanos started dating singer and actress Noah Cyrus on June 30, 2018. The couple released the collaboration "Live or Die" in August 2018. They broke up in September 2018 after Noah jokingly sent a photo of singer, Charlie Puth, photoshopped on a naked porn star's body to Leanos, prompting him to accuse her of being unfaithful. Leanos later asserted that the relationship was forced by the couple's record label, Columbia.
Leanos was formerly addicted to Xanax, along with opiates and other benzodiazepines, but he was able to quit the drug after two years of addiction. Leanos currently speaks out against Xanax abuse and urges people to stop using the drug altogether.
On September 28, 2018, Leanos was hospitalized and was treated for stomach pain after "eating too many Flamin' Hot Cheetos". According to a CNN report, Frito-Lay said that Flamin' Hot Cheetos meets all food safety regulations.