The Spaniard spent the last three years on loan at the Stadio Meazza, but will no longer play with the Rossoneri after the end of his loan spell.
Real Madrid have confirmed with an official statement that Brahim will permanently return to the club next season. The Spaniard will be unveiled at a press conference on June 13 at the Ciudad Real Madrid.
The Merengues highlight that Brahim played a key role at Milan, winning the Serie A title in 2022 and reaching the Champions League semis this term.
Brahim, a former Manchester City Academy player, scored 18 goals in 124 games with Milan during his three-year spell at the club.
The Rossoneri were thought to have an option to make Brahim’s move permanent, but Spanish media reported over the last few months that the 23-year-old was at Milan on a dry loan deal, meaning he’d return to Madrid in the summer.
His contract in the Spanish capital expires in June 2027.