The prolific striker was involved in all five goals as the Gunners defeated Nottingham Forest 5-3 at Emirates Stadium.
The visitors went ahead early on but Afobe struck twice before the break to give Steve Bould's side a deserved lead.
They were pegged back shortly after the hour mark but Afobe then converted a penalty he had won himself to complete his hat-trick.
The star man wasn't done there though. Minutes later he won a penalty for Luke Freeman to convert. The former Gillingham striker then assured the Gunners victory after substitute Sean McCashin had given Forest hope.