Andrich’s goal was helped by a goalkeeping mistake from Mainz’s Robin Zentner, who allowed the ball to slip through his hands and into the net.
Leverkusen were nervy and made a number of uncharacteristic errors, but the victory takes them 11 points clear of Bayern Munich in their bid for a first-ever Bundesliga title.