“The Box” was the last song Ricch made for Please Excuse Me for Being Antisocial. It was recorded in the early morning hours in New York after Ricch had been recording all night. The song begins with a “triumphant introduction that amounts to an orchestral swell”, which many listeners attributed as a sample of the intro on “Love Sex Magic” by Ciara. However, the song’s producer, 30 Roc, has insisted that though similar, the “swell” is not a sample of “Love Sex Magic”, explaining: “It is not a sample. It’s really a VST [plug-in] using Omnisphere [production software].”The song’s intro contains a “squeaky sound”, known as the “eee err” sound, which is also heard throughout the rest of the song. According to Atlantic Records A&R Keefa Black, after the song was finished, Ricch said “Wait let me add something”, and came up with the sound himself. The squeaky sound has inspired many memes online.
Vulture’s Paul Thompson said Ricch “raps with verve”, calling the song “strange and eccentric”, while noting Ricch’s vocal versatility in the song, writing, he “moves easily between vocal modes, sounding defiant (‘I won’t ever sell my soooooouuuuuullllll, and I can back that‘), conspiratorial (‘Got a bitch that’s looking like Aaliyah — she a model‘), or playful — like when he cackles unnervingly at the beginning of the second verse”. The song’s title has been noted as being a possible reference to jail (“the box” being a slang term for “jail”).