Real Madrid have reportedly reached a verbal agreement to sign Ibrahima Konate on a free transfer.
The France international will leave Liverpool when his contract expires at the end of this month.
Negotiations for a new deal at Anfield failed to produce an agreement.
According to transfer expert Fabrizio Romano, the 27-year-old centre-back is set to sign a four-year contract with Los Blancos.
The move is conditional on Florentino Perez winning his re-election bid to remain Real Madrid president.
Konate had received financial offers from Saudi Pro League clubs but delayed his decision hoping for an approach from the Spanish giants.
Real Madrid monitored Konate last year but their interest cooled after a dip in his performances early in the season.
Konate confirmed his Liverpool departure on social media, calling it an honor to represent the club and expressing sadness at missing the chance to say goodbye at the final home game.
He described the passing of teammate Diogo Jota as the most painful moment of his tenure and his father's death as one of the hardest periods of his life.
Konate joined Liverpool from RB Leipzig in 2021 for £36 million, winning the Premier League, FA Cup, and two League Cups, and starting in the 2021 Champions League final against Real Madrid.