 Following the release of her two studio albums Music of the Sun ( 2005 ) and A Girl like Me ( 2006 ) , in late 2006 Rihanna started working with songwriters and producers on her third studio album . She worked with some of the producers who were involved on her previous albums including Evan Rogers and Carl Sturken , Ne @-@ Yo , J.R. Rotem , Sean Garrett and Norwegian duo Stargate . Rihanna also collaborated with new music producers on the album such as Timbaland and will.i.am. Most of the album tracks were recorded in Westlake Recording Studios in Los Angeles , California , parallel to the recording sessions of her second studio album , A Girl like Me . Rihanna began working on the album in late 2006 and was almost finished recording in late February 2007 . On June 4 , 2007 she released the album under the name Good Girl Gone Bad . During an interview with MTV News , Rihanna explained the meaning and reasoning behind the album 's title : 
