Karius has been the subject of much speculation in recent weeks, with a number of European clubs thought to be interested in his services.
Arsenal, Valencia, as well as Mainz's Bundesliga rivals Borussia Dortmund and Schalke, have all been said to be keen on luring Karius away from the Coface Arena.
But Karius has pledged his future to Mainz, for whom he has made 41 Bundesliga appearances.
He will now try to help transform the fortunes of a Mainz side that sits 12th in the German top flight following a run of nine games without a win.
Mainz return to Bundesliga action on January 31 when they host Paderborn.
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.