"Eternal Sunshine" is three minutes and thirty seconds long. The song is described as a "skittering" and "comforting" mid-tempo R&B and trap song.[3][4][5] Grande wrote the song herself and worked alongside Max Martin, Shintaro Yasuda, and David Park with its composition. Yasuda also worked on "Intro (End of the World)" and "The Boy Is Mine", with Park also working on the latter track.[6]Ilya, a long time collaborator of Grande, is featured in the song's production, as well as programming and instrumentation. In an interview for the parent album, Grande mentioned that this was one of the first two songs she wrote for the album's track list, along with the opening track "Intro (End of the World)".[6]
The song transitions from "Saturn Returns Interlude", which ends with the words "wake up" being repeated, alluding to increased mental clarity, presumably from a relationship.[7] Lyrically, Grande is coming to terms with the fate of a past relationship, listing her personal grievances to an ex, and alluding to having wiping her mind of the relationship.[8] There are many references to the film of the same name with Grande labeling her ex as her own "eternal sunshine".[1][2] The song's lyrics also mentions the Atari video game console, including an 8-bit sound effect in the production.[9] The bridge of the song interpolates "Just for Now" by Imogen Heap.[10]
^Zoladz, Lindsay (March 8, 2024). "Ariana Grande Spins Heartbreak Into Gold on 'Eternal Sunshine'". The New York Times. Archived from the original on March 8, 2024. Retrieved March 8, 2024. "I try to wipe my mind, just so I feel less insane," Grande, 30, sings on its skittering, mid-tempo title track. The potent melancholy that suffuses the song, and much of the album, tells you about how well that went.
^Yeung, Neil Z. (March 8, 2024). "Eternal Sunshine - Ariana Grande | Album". AllMusic. Archived from the original on March 9, 2024. Retrieved March 9, 2024. It's anything but boring; rather, these tracks hypnotize, comfort ("Eternal Sunshine"), and nourish the soul like the titular rays of light.