On 4 March 2017, Aubameyang passed 20 Bundesliga goals for the second consecutive season with two goals in a 6–2 defeat of Bayer Leverkusen. Four days later, he scored a hat-trick in a 4–0 win over Benfica to put Dortmund into the quarter-finals of the Champions League. On 20 May, Aubameyang scored twice in Borussia's final day defeat of Werder Bremen to end the season as the Bundesliga's top scorer with 31 goals. In the final of the 2016–17 DFB-Pokal on 27 May 2017 he scored the winning goal, a penalty, as Dortmund beat Eintracht Frankfurt 2–1.