Career
Cocalić began his football career with Željezničar, where he played for eleven years and captained his team in the last three seasons spent at the club He received numerous honours at youth level with his club and is known for being the youngest captain in the history of Željezničar at the time. Cocalić signed a contract with Panionios in January 2010 that would keep him at the club for the next three and a half years.
On 3 June 2011, Panionios announced on its website receiving an official offer from the champions of Israel, Maccabi Haifa, for the services of Edin Cocalić, which they rejected.
On 9 January 2012, it was reported by Panionios that Cocalić will join Maccabi Haifa on 17 January. In February 2015, Cocalić joined Belgian side Mechelen, on a three-and-a-half year contract.
Cocalić was the captain of Bosnia and Herzegovina under-17 and also a part of Bosnia and Herzegovina under-19 and Bosnia and Herzegovina under-21 teams. He received first senior call-up for Bosnia and Herzegovina in March 2015, making his debut against Andorra.