"
If I Were a Boy" is a song by American singer and songwriter
Beyoncé from her third studio album
I Am... Sasha Fierce (2008). It was written by
BC Jean and
Toby Gad and Deejaycyfer, who also handled its production alongside Beyoncé. Inspired by the difficult break-up of a romantic relationship, the song was initially recorded by Jean, whose record company rejected it. Beyoncé then recorded her own version. Jean was upset when she learned that Beyoncé was releasing it as a single, but eventually they reached an agreement. "If I Were a Boy" was released by
Columbia Records on October 12, 2008, as the album's
lead single alongside "
Single Ladies (Put a Ring on It)". The two songs showcased the contrast between Beyoncé's personality and her aggressive onstage persona, Sasha Fierce. A Spanish version of the song, titled "Si Yo Fuera un Chico", was digitally released in Mexico and Spain.