The track was produced in part by BadBadNotGood, who are a four-piece instrumental group from Canada. They frequently record with such rappers as Ghostface Killah, Earl Sweatshirt and Danny Brown, as well as jazz greats like Roy Ayers.
BadBadNotGood were assisted by DJ Dahi, who previously produced good kid, m.A.A.d City
highlight "Money Trees
" and Top Dawg in house producer Sounwave. Dahl recalled to Spin
"I've known BADBADNOTGOOD for a couple years, I've been a huge fan of their music. They had sent Kendrick some music, and I knew that Sounwave had started a template of what the record was going to sound like. When I got my hands on it, it was just a loop. Me and Kendrick just talked like, 'Yo, what if we tried this? What if we tried that?' We just wanted this record to be the one that has a feel like, 'I haven't heard this before.' That was kind of the goal. I love the record, that's probably one of my favorite records I've done ever. It kinda keeps you on your toes, but it just moves—it's great.
It definitely went through stages of trying different things, but for some reason, this record wasn't really as difficult for us to place it. Kendrick is a really great editor when it comes to his music. He's always like, 'OK, that's enough' or whatever. We were just kinda in a room like, 'Oh, let's try this,' or 'Oh, let's do that.' So really, it was a constant—even though it sounds like madness, it really wasn't as hard as people would assume."