Thibaut Courtois is getting his dream move to Real Madrid in a deal that will see Mateo Kovacic head to Chelsea on a season-long loan.

After months of speculation surrounding the Belgium goalkeeper, the 26-year-old has got wish to swap Stamford Bridge for the Bernabeu.

Courtois only had a year left on his deal and has been absent from training this week as he looked to push through a move before the transfer window ended for Chelsea on Thursday.

We have tonight agreed terms with Real Madrid for the transfer of Thibaut Courtois, subject to the agreement of personal terms and a medical. As part of the deal, Mateo Kovacic will join Chelsea on a season-long loan.https://t.co/WXhHzEdf6D

The imminent world-record deal for Athletic Bilbao goalkeeper Kepa Arrizabalaga has paved the way for his exit, allowing him to move for a reported £35million as Croatia midfielder Kovacic heads the other way.

A statement from Chelsea read: “Chelsea and Real Madrid have tonight agreed terms for the permanent transfer of Thibaut Courtois subject to the agreement of personal terms and passing a medical.

“Subject to the completion of the deal Mateo Kovacic will join the Blues on a season-long loan.”

Real Madrid have confirmed that Courtois will undergo a medical on Thursday morning, before signing a six-year deal and being presented at 1pm local time.

A statement on Athletic’s official website read: “On Wednesday, August 8, 2018 at 1202 hours (CET), the Professional Football League confirmed to us that the player, Kepa Arrizabalaga, has met the requirements for the valid unilateral termination of the work contract that linked him to Athletic Club.

“The amount of the compensation established in the contract has been deposited.

“Athletic thanks the player for his contribution during the time he has remained in our club.”

Chelsea open their Premier League campaign at Huddersfield on Saturday, having suffered a 2-0 defeat to Manchester City in the Community Shield last weekend.

Napoli midfielder Jorginho made his debut in the Wembley defeat, while former England goalkeeper Robert Green is the only other notable first-team signing so far this summer.