Leon Goretzka has passed a medical and agreed a deal to sign for Bayern Munich at the end of the season, Schalke sporting director Christian Heidel has confirmed.
Goretzka was out of contract at Schalke at the end of the season and, while the club tried to keep him in Gelsenkirchen, it was always likely he would move on.
Bayern declared their desire to take the 22-year-old to Bavaria last week, the Bundesliga champions' executive board chairman Karl-Heinz Rummenigge stating they would be "crazy" if they did not consider signing a free agent Germany international.
And the lure of playing at the Allianz Arena has proved key, despite reported interest from the likes of Liverpool, Arsenal and Juventus.
Speaking ahead of Sunday’s game with Hannover, Heidel told reporters: "Leon Goretzka has earlier this week informed us that he would like to leave the club and join Bayern Munich.
"We noted that with regret. Karl-Heinz Rummenigge has told us that Leon has passed his medical. We are losing a very good player.
"He has signed a contract from July 1, 2018 with Bayern. We did everything possible to keep Leon."
Losing Goretzka is a blow to Schalke but Heidel insists they were "prepared".
He added: "Last summer there was no agreement with him and his agent. He wanted more time to see the sporting development.
"We can deal with this situation, it was not a total surprise. We are prepared."
Schalke coach Domenico Tedesco described Goretzka as a "fundamental part of the squad" but urged fans to support the midfielder over the remaining months of his contract, starting at the weekend.
He said: "We are sad and disappointed that we lose Leon as a player and as a human. But we have to accept this decision. There is no question that Leon is a fundamental part of this squad.
"We hope the fans don't react negatively on Sunday. Our fans have always supported the team and Leon is a part of that team for the rest of the season.
"Leon is a professional and he will continue to give everything for Schalke. He remains a vital player for us."
Schalke go into the 19th round of fixtures in third place in the Bundesliga, a point behind RB Leipzig, with automatic qualification to next season's Champions League a clear target.
|Saints swoop for NRL star Naiqama|
|Zidane: Be careful when you criticise Ronaldo|
|It doesn´t get better - Stevens relishing best-of-three shootout for Celtics|
|Favre named new Dortmund boss|
|LeBron and Lue hail evergreen Kyle Korver|
|Kane named England captain for World Cup|
|Wright slams Arsenal over Emery: It´s like a sushi shop!|
|Pellegrini named new West Ham manager|
|Late drama and sustained Ronaldo magic - Real Madrid´s road to the Champions League final|
|Yankees´ home runs fuel win over Rangers|
|LeBron scores 44 points as Cavs level series against Celtics|
|Kaufusi re-signs with Melbourne Storm|
|LeBron James sets record for postseason field goals|
|Monchi: Alisson will only leave Roma if I come out of retirement!|
|No offers from Chelsea or Zenit, says Sarri´s agent|
|No Champions League pressure as PSG´s Tuchel calls for patience|
|Nationals´ Juan Soto hits homer in second career at-bat|
|Buffon to decide future in a week amid PSG speculation|
|Eli Apple embarrassed by 2017 antics, ready to move forward|
|Bills release Richie Incognito from reserve/retired list|
|Gentry and Pelicans want Cousins back in New Orleans|
|MLB extends Blue Jays closer Osuna´s administrative leave|
|Lloris, Jedinak and Kjaer ask FIFA to allow Guerrero to play at World Cup|
|Wolfsburg preserve Bundesliga status after play-off win over Kiel|
|Zidane was my idol and always will be - Wijnaldum|
|Liverpool ready to fly out of the blocks in Kiev - Henderson|
|Montreal Impact 0 LA Galaxy 1: Ibrahimovic sent off for slapping opponent|
|Real Madrid v Liverpool: Salah, Ronaldo lead the line in combined XI|
|Bertens keeps hat-trick hopes alive in Nuremberg|
|Monfils and Mannarino fail to fly the flag in Lyon|
|Morata, Fabregas, Herrera and more in Spain´s World Cup rejects XI|
|Reina to face FIGC hearing|
|Emery set to be appointed by Arsenal - reports|
|LeBron ´appreciative´ of hometown effort to put up statue of him|
|Cazorla leaves Arsenal after injury nightmare|
|Derby´s Rowett seeks permission for Stoke talks|
|Messi physically and mentally ready for the World Cup, Sampaoli proclaims|
|Murray expected to return at Rosmalen Grass Court Championships|
|More to Madrid than just Ronaldo - Robertson|
|Wolff: Red Bull and Ferrari favourites in Monaco|
|Iniesta hailed by Xavi as ´the most talented player in the history of Spain´|
|If you Googled ´European nights´, Liverpool would be top result - Klopp|
|Icardi cut from Argentina World Cup squad|
|Test recall a ´fantastic surprise´ for Buttler|
|Klopp needs Premier League to be a Liverpool great – Johnston|
|Salah is ´definitely´ world´s best - Lovren|
|Rhinos captain Watkins ruled out for eight months|
|No clue - Klopp defiant over Can to Juventus claims|
|Younis tips Babar for Pakistan greatness|
|Germany squad numbers hint at World Cup good news for Neuer|
|WATCH: Moto3 rider makes spectacular jump over crashed rival|
|Leaving out Morata ´painful´ for Spain boss Lopetegui|
|Gustard to leave England role for Harlequins|
|Nainggolan retires from Belgium duty after World Cup snub|
|Spain striker Morata misses out on World Cup selection|
|LeBron or Kawhi could lead Lakers to the Finals - World Peace|
|Serena steps up Roland Garros training ahead of French Open|
|Nainggolan left out of Belgium´s World Cup squad|
|The long goodbye: Iniesta sits alone in Camp Nou after final Barcelona match|
|Wane to leave Warriors at end of season|
|Dr Fury will see you now - Tyson plans future career in medicine|
|Harden, D´Antoni rue ´soft´ Rockets performance in Warriors drubbing|
|Liverpool players can change their lives in Kiev, says Gerrard|
|Real Madrid v Liverpool: Can great deeds of the past fuel the bid for Champions League glory?|
|Wash your mouth out! - Curry´s expletive outburst earns scolding from mother|
|Rakitic lost for words as Iniesta heads for Barcelona exit|
|Conte: Chelsea must overhaul squad to change style|
|Johnston: Liverpool can´t lose Suarez, Coutinho and Salah!|
|Messi: I like Griezmann, he´s one of the best|
|Ohtani says he´s not good enough for Home Run Derby yet|