The 32-year-old's deal was due to expire at the end of the season but coach Carlo Ancelotti repeatedly stated his desire to keep the Spain international, and he now appears to have got his wish.
Alonso posted a picture from inside the Bernabeu on Twitter, accompanied by the words: "This will be my home for two years. Very, very happy!"
Get the best features, fun and footballing frolics straight to your inbox every week.
Thank you for signing up to Four Four Two. You will receive a verification email shortly.
There was a problem. Please refresh the page and try again.