Cocoa is a city in Brevard County, Florida. The population was 19,041 at the 2020 United States census, up from 17,140 at the 2010 census. Cocoa has a historic downtown shopping district with a variety of stores and restaurants with waterfront views and historic venues for any special occasion such as a wedding or anniversary party.