The Turkey international is set to make the move to his homeland after failing to impress at the Bernabeu last season.
Altintop appeared just nine times for the Primera Liga champions after joining from Bayern Munich on a free transfer last summer, signing a four-year deal.
He announced at the end of May he had agreed a move to Galatasaray and the Turkish outfit confirmed the deal on Friday.
A statement on the club's official website said: "We have reached an agreement for four seasons with Real Madrid player Hamit Altintop, starting from 2012-2013 season."
Reports suggest Galatasaray will pay the Spanish giants €3.5million for Altintop, whose twin brother Halil plays in the Super Lig for Trabzonspor.
It will mark the first time the German-born midfielder has played for a Turkish club.
Neymar's move from Santos to Barcelona is no doubt the biggest summer transfer.
Manchester City will try and win back the Premier League title with this new soccer jersey from Nike!
England will debut their new away jersey against Brazil at the Maracana Stadium on Sunday. Get in the Gear
Barcelona will wear this new home soccer jersey next season. They also have a new away jersey. Get them both.
The Nike Hypervenom is the latest cleat silo from Nike. It will change your game and is worn by the game's top players.
The hoop soccer jersey is classic and cool. The USA hooped jersey is perfect for every fan. Get in the Gear.
Germany is one of the top teams ever and they will play the US on Sunday.
Jamaica is in need of a win against the U.S. Get the jersey of the Reggae Boyz.
The adidas Nitrocharge is the most talked about new cleat in years. It was released on May 15 and will take your pitch by storm.
Support the USA national team with an official 2013 Centennial soccer jersey from Nike. Its Official.