The 41 year-old confirmed his decision after victory over Hellas Verona.
“So many memories and emotions inside this stadium," said Ibra.
“The first time I arrived you gave me happiness, the second time, you gave me love. I want to thank my family and those close to me for their patience. I want to thank my second family. The players, the coach and his staff for the responsibility they gave me. I want to thank the directors for the opportunity they gave me.
“Last but not least, from my heart, I want to thank you, fans. You welcomed me with open arms and I will be a Milanista my entire life. It's time to say goodbye to football, but not to you. It's too difficult, there are too many emotions. I'll see you around if you are lucky. Forza Milan and goodbye."