Centre-back Duarte joined Milan in August 2019 in a reported €11million deal from Flamengo.
He made six appearances for the club last season – all in Serie A – and has appeared only three times this term across the Italian top flight and the Europa League.
A Milan statement read: "The club would like to thank Leo for his professionalism and wishes him the best for his personal and professional future."