"Rack City" was written by Tyga and DJ Mustard, with the latter also handling the song's production. The song originally appeared on Tyga's mixtape, Well Done 2 (2010). On November 19, 2011, Rap-Up announced that "Rack City" would be released to the iTunes Store in the United States as the second single from Careless World: Rise of the Last King.
For the chart dated December 10, 2011, "Rack City" debuted at number ninety-four on the BillboardHot 100. On its eighth charting week, dated January 28, 2012, the single rose fifteen places to number eight - marking Tyga's first solo top ten single. The single spent two non-consecutive weeks in the top 10 before reaching a current peak of number seven on the week ending February 18, 2011. "Rack City" has also reached the top ten on the Hot R&B/Hip-Hop Songs chart and Rap Songs chart - having debuted at number ninety-one on the former for the chart dated November 26, 2011. On the week ending February 4, 2012, "Rack City" made its debut on the UK Singles Chart, landing in at position number one hundred and fifty-eight. On its third charting week, the single rose twenty-four places to number ninety-eight. The track also charted on the R&B chart, reaching a peak of number twenty-seven for the week ending February 18, 2012.
The music video for "Rack City" directed by Chris Robinson has been on YouTube since September 8, 2011. It has received over 25 million views since. Tyga's former girlfriend, Blac Chyna, played the main female role. Tyga released another video for "Rack City" on January 9, 2012 with over 31 million views. The music video to the official remix of "Rack City" that features rappers Wale, Fabolous, Young Jeezy, Meek Mill and T.I. has officially aired on MTV Jams as of February 24, 2012 and was directed by Alex Nazari, this video has over 9 million views on YouTube. It contains his then, girlfriend, Blac Chyna, who is stripping on him.
The official remix consists of freestyles taken from rappers who made their own remixes, Wale's verse comes from his Rack City remix which features Black Cobain. Fabolous's verse comes from his Black City remix, Young Jeezy's verse comes from his Rack City remix and Meek Mill's T.I.'s verses were arranged especially for the remix. Gucci Mane released a freestyle of the track. Rye Rye released a remix of the song as well with her female side of the rack city song. Yelawolf released a LA Lakers remix of the song. B.o.B released a video for his remix to exclusivley promote his Mixtape E.P.I.C. (Every.Play.Is.Crucial) and Trae Tha Truth also released a freestyle to the track. Honey Cocaine also freestyled to the song. Tory Lanez released a freestyle to the song. Former Missy Elliott protégée Brianna Perry also freestyled off this record for her 2011 mixtape Face Off.
YouTube personality Jack Douglass wrote a parody called "Jack City" about his videos; lifecasteriJustine created a parody called "Mac City"; IFHT also created a parady called "Cat City".
Wrestler Brock Lesnar was caught insulting Roman Reigns with “Suplex City, bitch!” on a ringside microphone at Wrestlemania 31 after hitting him with a number of German suplexes during their bout. Cleveland-based hip hop artist PFV remixed this quote into a wrestling version of Rack City.
The music video for "50 Ways To Say Goodbye" by Train contains scenes of an obsessed audience fan holding up various signs of grief support throughout the video, the final sign humorously saying "Rack City, Bitch!" 
A local United States newspaper reported on an incident in which a woman fled from police officers after she was caught applying graffiti to buildings that contained the words "Rack City Bitch." The newspaper reported that, while the woman fled, she shouted "ten ten ten twenties on ya titties bitch" to the pursuing officers. After receiving widespread media attention the woman in question later clarified that the report was a hoax, published as a joke in a satirical university publication (similar to The Onion or The Harvard Lampoon).