"Ring" was co-penned by Los-Angeles based songwriter Nija Charles, who has also worked with the likes of Boi-1da, Diplo, and DJ Mustard as well as helping to write Jason DeRulo's 2018 FIFA World Cup anthem "Colors
". She originally wrote a whole song, and Cardi ended up liking the hook, so the rapper and Kehlani added their own verses. Nija recalled to Genius
"I originally wrote 'Ring' as a full demo, it probably took me 30-45 minutes to make the whole song, but the hook came instantly. Once I got in the booth, it came out, so that took about 5-10 minutes to do."