"Diamonds" was written by Edgar Machuca, Jule Styne, Kameron Glasper, Leo Robin, Louis Bell, Madison Love, Megan Thee Stallion, Mike Arrow, Normani, Santeri Kauppinen, and Tayla Parx; it was produced by Bell and MD$.