“Cake by the Ocean” is the debut single by American pop-rock band DNCE, released on September 18, 2015, through Republic Records. It serves as the lead single from their debut EP SWAAY. The song has sold 500,000 copies as of February 2016.
“Cake by the Ocean” was written by Joe Jonas and Justin Tranter, while its production was handled by Mattman and Robin. Lyrically, the song originated from the producers’ misunderstanding of the phrase “sex on the beach”, which they mistakenly referred to as “cake by the ocean.”