Beating FC Dallas'Jimmy Maurer from the penalty spot, the Spaniard scored his 66th MLS regular-season goal to put New York City FC up 2-1 (watch video above), his 400th career goal across club and worldwide competition.
It was the goal that took Villa to number 400, while he added another with 21 minutes remaining to take his NY tally to 68 since arriving from Atletico in 2014.
Spain's all-time leading scorer Villa netted his 400th and 401st career goals as the 36-year-old forward inspired NY to victory on Monday (AEST).
The home crowd immediately erupted in cheers and Villa was mobbed by teammates following his historic goal.
Goal No 300 was a direct free kick for Barcelona, so perhaps it was no surprise to see his 400th come courtesy of a penalty.
The New York City captain helped set up the opening goal with less than three minutes expired when he pulled a ball back for Jo Inge Berget, whose shot hit the post.
Orlando City 2, Rapids 1: Yoshimar Yotun scored on a penalty kick and Cristian Higuita added his first goal since 2016 and Orlando City beat Colorado for its franchise-record tying fifth consecutive win in Commerce City, Colorado. An alert Jesus Medina pushed in the rebound for his second goal of the season just 2 minutes, 38 seconds into the match.
The remarkable achievement puts Villa in rare company, as only five other active players have accomplished the feat: Cristiano Ronaldo (652), Lionel Messi (610), Zlatan Ibrahimovic (433), Luis Suarez (416) and Samuel Eto'o (407).
Santiago Mosquera answered for FC Dallas (3-1-3) in the 10th minute, rolling a feed from Maximiliano Urruti past goalkeeper Sean Johnson.
Sensex, Nifty Register Best Month In Over 2 Years
The gains were led by financial and technology stocks as investors widened their exposure ahead of key corporate results. Sectoral indices led by banking, Teck and IT were trading in the positive zone with gains up to 1.89 percent.