Algeria join Senegal, who qualified on Sunday, in the 24-team field for the finals, to be held in Cameroon in early 2022, after a 2-2 draw in Harare against Zimbabwe.
The result guaranteed Algeria a top-two finish in Group H.
Algeria dropped their first points of the campaign despite opening the scoring though Andy Delort and Riyad Mahrez, who netted within four minutes of each other.
Knowledge Musona pulled a goal back just before halftime and Zimbabwe equalised through substitute Prince Dube with eight minutes remaining
Algeria have 10 points while second-placed Zimbabwe are on five.