Group B of the 2017 Africa Cup of Nations was played from 15 to 23 January 2017 in Gabon. The group consisted of Algeria, Tunisia, Senegal and Zimbabwe.
Senegal and Tunisia advanced to the round of 16 as the top two teams.
Notes
In the quarter-finals:
All times are local, WAT ().
<section begin=Match 3 /><section end=Match 3 />
<section begin=Match 4 /><section end=Match 4 />
<section begin=Match 11 /><section end=Match 11 />
<section begin=Match 12 /><section end=Match 12 />
<section begin=Match 19 /><section end=Match 19 />
<section begin=Match 20 /><section end=Match 20 />