To Pimp a Butterfly is the third studio album by American rapper Kendrick Lamar. It was released on March 15, 2015, by Top Dawg Entertainment and Aftermath Entertainment, and distributed by Interscope Records. The album was recorded in studios throughout the United States, with executive production from Dr. Dre and Anthony "Top Dawg" Tiffith. Boi-1da, Flying Lotus, Terrace Martin, Pharrell Williams, Knxwledge, Sounwave, Thundercat and several other hip hop producers also contributed.