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.
|Sock, Isner and Raonic crash out at Delray Beach|
|Rain sees Cilic-Monfils suspended at crucial stage|
|Djokovic steps up rehab as Federer leads the way|
|Cuban fined $600K for tanking comments|
|Fowler says PGA National demands full attention|
|Rory McIlroy curbing expectations before Masters|
|Shakhtar would´ve won by more if not for Roma´s Alisson – Fonseca|
|Popovich would be ´surprised´ if Leonard returns for Spurs this season|
|Championship Review: Wolves squander two-goal lead to Norwich, Cardiff City take advantage|
|Mourinho happy with ´big effort´ from Pogba|
|Benneteau ousts Bautista Agut in Marseille|
|Mourinho questions medical staff after ´bad´ Herrera injury|
|Sarri demands better from Napoli ´buffoons´|
|Mourinho hugs reporter for asking about McTominay instead of Pogba|
|Di Francesco slams Roma: I should have substituted half of them!|
|Curtains for Konta and Ostapenko in Dubai|
|De Gea happy with ´important´ wonder save|
|Woods eager to experience Masters ´rush´|
|Vazquez and Asensio important to Madrid, says Zidane|
|Shakhtar Donetsk 2 Roma 1: Fred stunner seals first-leg comeback|
|Sevilla 0 Manchester United 0: De Gea ensures Mourinho´s men stay level|
|Klaasen and Duminy half-centuries set up T20 decider|
|Herrera injury gives dropped Pogba chance for reprieve|
|Tindall urges England to ´hunt´ vulnerable Scotland|
|Firmino insists he did not abuse Holgate|
|Leganes 1 Real Madrid 3: Casemiro inspires comeback for Zidane´s men|
|Milan have everything to lose – Gattuso worried about complacency|
|United a big team in defeat - Mourinho aims dig at City|
|Firmino escapes punishment after Holgate allegation|
|Mourinho benches Pogba for Sevilla clash|
|Cavendish withdraws after Abu Dhabi crash|
|Rugby greats put on show in French Alps snow|
|Gremio refute claims of €40m Arthur agreement with Barcelona|
|Messi will sign another Barcelona contract, predicts Bartomeu|
|UEFA rejects PSG appeal over Rabiot´s Real Madrid booking|
|Hardaker sacked by Tigers after failed drugs test|
|James to miss ´a few days´ of Bayern training with calf injury|
|Bellew not feeling Haye love|
|Nantes not stopping Ranieri if Italy come calling|
|Milan owner Li slams ´fake news´ over financial woes|
|Italy make three changes for France encounter|
|Wenger still gunning for top four spot with Arsenal|
|AFC Champions League Review: Kanazaki braces inspires Kashima|
|Gloucester centre Scott to re-join Edinburgh|
|Ospina to get Wembley nod as Wenger waits on Ramsey|
|Pogba not struggling at United, claims Deschamps|
|No police action against Gloucester coach Ackermann or son after nightclub incident|
|Australia proved a point with tri-series dominance, says Warner|
|Escape Messi´s shadow? Change sport! - Henry´s advice to Neymar|
|Scotland unchanged for crucial Calcutta Cup clash|
|Horsing around: Muller takes tips from equine companion|
|Lynn set for further assessment on dislocated shoulder|
|Ronaldo jets off for a break as Madrid head to Leganes|
|Bastareaud back in one of five France changes|
|Mistake to let Kroos leave Bayern for Madrid - Sammer|
|Short´s fifty and Agar´s spin seal deserved Australian tri-series win|
|Spalletti tips Ancelotti for Italy job|
|I can´t wait for retirement - Federer|
|Mendy on course for World Cup, says Deschamps|
|Man Utd on dismal knockout run, Roma have Shakhtar curse - Champions League in Opta numbers|
|Azpilicueta hoping for greater fortune at Camp Nou|
|Out of nothing he can score goals – Heynckes hails Muller|
|CONCACAF Champions League Review: Giovinco inspires Toronto, Tigres held|
|Steelers LB Shazier says he´s ´best linebacker ever´|
|Ranieri: I´ll quit Nantes if offered Italy job|
|Thiem keeps title defence on track, Monfils saves match point in Rio|
|Barcelona are great even without Neymar – Willian|
|Del Potro, Raonic progress at Delray Beach|
|Dolphins place franchise tag on Landry|
|Colts QB Luck ´extremely optimistic´ about shoulder rehab|