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.
|Raonic to assess knee injury, hopes to avoid surgery|
|Barcelona right to fine ´complicated´ Dembele, says Ter Stegen|
|Higuain and Piatek on the move on busy day for Milan|
|Philippe and Vince humble the Hurricanes|
|Nishikori: I couldn´t beat anybody on one leg|
|Boateng poised for debut as Barcelona axe Suarez|
|Shami sets record in crushing win after sun stops play|
|Sala search focused on possible use of life raft|
|Pouille exceeds own expectations with run to Aus Open semis|
|Nishikori retirement sees Djokovic through to semi-finals|
|A golden boy, a guy you want to love - Delecroix pays emotional tribute to Sala|
|Richardson, Patterson to make Australia debuts against Sri Lanka|
|Police resume search for missing Sala plane|
|Pouille upsets Raonic to reach Australian Open semis|
|Dunk sees Stars past Strikers|
|How Serena gave up 5-1 lead – the key moments of loss to Pliskova|
|Pliskova enjoys ´best comeback´ after stunning Serena|
|Serena not blaming ankle injury for Australian Open loss|
|Mavericks capitalise on Clippers´ turnovers, pick up win in Smith´s return|
|Pliskova saves four match points to stun Serena with comeback win|
|Anthony ´can only make´ a team better, says Iverson|
|Henry more worried about Monaco´s future than his own|
|Osaka powers past Svitolina in Melbourne|
|Harden on Anthony trade: It kind of sucks that it didn´t work out|
|Redskins remain ´optimistic´ QB Alex Smith will play again|
|Patriots coach Belichick says Rams´ Donald is ´pretty much unblockable´|
|PSG fined €100,000 by LFP over player-recruitment practices|
|I´m not his father - Guardiola demands Mendy matures|
|Sykes record in vain as Banvit claim victory|
|Usain Bolt calls time on football career|
|Otamendi not happy at Man City, says Guardiola|
|Workaholic Woods learning to rest as he prepares for 2019 debut|
|Henry´s Monaco dumped out of Coupe de France|
|Qatar can win Asian Cup, says Sanchez|
|Tim Howard to retire following 2019 MLS season|
|Koscielny backs Bellerin to return from injury ´stronger than before´|
|Chiefs fire DC Bob Sutton after AFC Championship loss to Patriots|
|Reyes returns to Spain with second-tier strugglers Extremadura|
|Emiliano Sala: Profile of Cardiff City striker missing after joining from Nantes|
|Messi rested for Sevilla trip, Boateng set for debut|
|Nuno fined over pitch celebration in Leicester win|
|Nadal unfazed by another Next Gen opponent in Tsitsipas|
|Ulster hand lifetime ban to spectator after Zebo abuse|
|Phehlukwayo´s career-best day inspires Proteas against Pakistan|
|Bournemouth pounce for Brentford´s Mepham|
|You say all signings are controversial – Valverde defends Boateng arrival|
|Search for missing Sala plane suspended|
|Kohli and Williamson display mutual respect as India and Black Caps prepare for battle|
|Qatar 1 Iraq 0: Al Rawi free-kick books quarter-final spot|
|Ba joins Adebayor and Robinho at Istanbul Basaksehir|
|BREAKING NEWS: Tottenham´s Alli out until March with hamstring injury|
|Fit-again Joseph added to England squad|
|It is very, very serious for us - Tuchel wants midfielder in January window|
|Lakers expect Rajon Rondo back Thursday as LeBron James continues rehab|
|Atletico Madrid boosted as Koke thigh injury revealed to be minor|
|South Korea 2 Bahrain 1 (after extra time): Kim Jin-su seals quarter-final spot|
|AC Milan confirm Zapata thigh injury|
|I miss him a lot - Guardiola confirms ´clever´ Mendy back in Man City squad|
|Tiafoe wants LeBron meeting after run to Australian Open quarters|
|Cardiff continue to ´pray´ for Sala|
|West Ham fined over Burnley clash chaos|
|Knicks star Enes Kanter frustrated by reduced role|
|Kvitova getting back to her best, says Barty|
|Kvitova revels in first semi of ´second career´|
|Messi´s the best player in every world – Boateng dismisses past Real Madrid comments|
|Thunder frustrations continue against Renegades|
|Alonso vows to clear name in tax fraud case|
|Classy Nadal downs Tiafoe to set up Tsitsipas semi|
|Hoedt leaves Southampton for Celta Vigo on loan|
|Melbourne City 4 Western Sydney Wanderers 3: Hosts edge thriller with two goals in last six minutes|