The visitors, who slip into the bottom three, had looked on course for a valuable point with a resolute defensive display.
But on 83 minutes Pierre-Emerick Aubameyang found the room at the back post and deftly chipped across the six-yard box for Torreira to acrobatically volley in.
Lucas Torreira scored a sublime bicycle kick late on to break Huddersfield’s resistance and move Arsenal into the Premier League top four with victory at Emirates Stadium.
The France striker was replaced at half-time, with a slightly improved Arsenal scoring their 26th second-half goal of the season to extend their unbeaten run to 21 games in all competitions.
The Gunners are third, a point in front of rivals Tottenham, who face Leicester at 19:45 GMT, with Chelsea two points further back before their match at home to Manchester City at 17:30 GMT.