Jurgen Klopp's side collected their first home league win in 2021 after right back Alexander-Arnold scored with a curling effort from the edge of the box at the death.
The win moved Liverpool up to fourth, on 52 points, above West ham United on goal difference, yet their stay in the top four will be short-lived if Chelsea beat Crystal Palace in the final game of the day.
Having suffered a humiliating 7-2 defeat at Villa Park in October, defending champions Liverpool enjoyed a better start at Anfield as Mohamed Salah and Diogo Jota tested visiting goalkeeper Emiliano Martinez with early attempts.
But Villa, against the run of play, found the breakthrough in the 43rd minute when John McGinn slotted a neat pass into striker Ollie Watkins, whose drilled effort slipped under Liverpool keeper Alisson's right arm.
Liverpool responded almost immediately through Roberto Firmino but his goal was chalked off by VAR as Jota was adjudged to be marginally offside in the buildup.
Yet the hosts deservedly equalised 12 minutes into the second half through a Salah header after left back Andy Robertson's initial strike was palmed away by Martinez.
It was Liverpool's first goal in open play at Anfield since December 27 - a run of run of 12 hours and 44 minutes since Sadio Mane found the net against West Bromwich Albion. They netted one home goal from the penalty spot during that time.
Klopp's side stepped up the intensity and Alexander-Arnold's sublime effort secured all three points.
"We have lost a couple of games here and mentally it was like 'oh no, not again' but we did a good job second half," Salah told Sky Sports.
"It's really important to win. I think there are only seven games left? We want to play Champions League next year but we just need to focus on each game and try and win them all and hopefully, we can be in that fourth place."
Villa boss Dean Smith, who was once again without the injured playmaker Jack Grealish, conceded his players struggled to create enough goalscoring opportunities in the second half as they remain 10th in the table.
"We had some good opportunities but didn't have that final pass," Smith said.
"We've come to Liverpool, knew how they would play and how determined they were to put things right at Anfield but it's disappointing to concede so late." (Reuters)

D’Tigress begin US tour with historic Sparks clash
Tinubu congratulates basketball star Anosike on NBL title, MVP award in China
NSC announces UK trials for diaspora athletes
Adams calls for urgent reset in Nigerian football
Playing for Nigeria felt like playing for Real Madrid – Arokodare
Playing for Nigeria felt like playing for Real Madrid – Arokodare
NFF opens talks with Osula over Eagles switch
Brume, Okezie join global stars for Kip Keino Classic
NPFL confirms May 24 season end date
NCF proposes elite cricket league
Trump envoy wants Italy to replace Iran at World Cup — Report
Gala intensify Osimhen’s special recovery plan
Rangers International going, going . . . (63,726 views)
Amaju Pinnick: A cat with nine lives (55,051 views)
Second Term: Amaju Pinnick, Other NFF Heavyweights Home to Roost •How Pinnick Broke the Jinx (52,983 views)
Current issues in Nigerian sports: Matters arising (52,575 views)
Sports Development: Zenith Bank on the zenith (52,503 views)
Missing $150,000 IAAF Grant: Solomon Dalung’s Hide and Seek game (52,403 views)
Gov. Abdullahi Ganduje’s solid footprints, commitment to sports development in Kano State (52,253 views)
NFF Presidency: Pinnick, Maigari, Ogunjobi, Okoye in Battle for Supremacy (51,799 views)
Olopade, BET9A wave of revolution in NNL (50,988 views)
Commonwealth Games 2018: Shame of Muhammadu Buhari, Solomon Dalung (49,496 views)
Ibrahimovic’s Man U exit: Whose decision is it? And in whose interest? (47,912 views)
John Mikel Obi: Segun Odegbami’s Outrageous Call! (47,375 views)