The France striker broke the deadlock in the third minute to score his seventh Premier League goal of the season against the promoted side in north London.
However, Wenger replaced Lacazette with Olivier Giroud at half-time ahead of the visit of title rivals Manchester United at The Emirates in the Premier League this weekend.
The France centre-forward made it 2-0 in the 68th minute before Alexis Sanchez and Mesut Ozil extended the home side’s lead to four goals to secure three points.
Giroud netted a fifth in the final minute of normal time but Lacazette’s withdrawal was a big concern for Arsenal despite their landslide win over Huddersfield.
Speaking to BBC Sport following the 5-0 win, Wenger appeared to rule Lacazette out of Arsenal’s home clash against Manchester United in the Premier League this weekend.
“It is an injury, it looked like a groin injury so he might be out for a while,” Wenger said.
Arsenal signed Lacazette in a club-record £52m deal from Ligue 1 side Lyon in the summer transfer window.
The Gunners have won their last three Premier League games since a 3-1 loss to leaders Manchester City.
MORE: Man United latest news
MORE: Arsenal latest news
MORE: Chelsea latest news
MORE: Liverpool latest news