who wrote the song when i was your man

Bruno Mars and collaborators wrote "When I Was Your Man."
This heartfelt ballad from Bruno Mars' 2012 album Unorthodox Jukebox captures raw regret over lost love, drawing from Mars' own relationship fears.
Songwriters
The track credits four key creators who shaped its emotional piano-driven sound:
- Bruno Mars : Lead vocals, piano, and co-writer; he infused personal vulnerability, inspired by worries about losing girlfriend Jessica Caban.
- Philip Lawrence : Co-writer and producer (as part of The Smeezingtons); helped craft the stripped-down intimacy.
- Ari Levine : Co-writer, producer, and recording engineer; contributed to the production under The Smeezingtons banner.
- Andrew Wyatt : Co-writer who added lyrical depth to the regretful narrative.
Creation Story
Mars revealed in interviews that the song stemmed from real-life emotions—he worried about taking his partner for granted, channeling that into lines like "I shoulda bought you flowers." The Smeezingtons (Mars, Lawrence, Levine) produced it at Levcon Studios, aiming for a "naked and vulnerable" piano ballad that contrasted their upbeat hits. Despite its pain, Mars finds performing it tough, calling it "like bleeding."
"Those intimate moments when an artist is so naked and vulnerable; you can't help but be drawn to it." – The Smeezingtons on the song's origin
Cultural Impact
Released as a single in 2013, it topped charts worldwide, earning platinum status and Grammy nods. Fans on Reddit relate deeply, sharing breakup stories mirroring its themes of hindsight and small gestures missed—like not holding hands or dancing together. Even in 2026, it trends in covers (e.g., with Harry Styles vibes) and forums, resonating as a timeless self-reflection anthem.
Fun Facts
- Mars played all piano himself, mixed by Manny Marroquin.
- It marked a shift to genre-blending soul, defining Mars' versatility post-"Grenade."
- No major disputes over credits; consensus across Genius, Wikipedia, and song databases confirms the quartet.
TL;DR : Bruno Mars, Philip Lawrence, Ari Levine, and Andrew Wyatt wrote this 2012 regret-soaked hit, produced by The Smeezingtons—still breaking hearts in 2026.
Information gathered from public forums or data available on the internet and portrayed here.