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)

President’s death forces aquatic federation calendar shake-up
Diamond League announces Amusan for Prefontaine Classic
Chelle receives Agu, Nwaiwu injury boost
Lagos schools gear up for TASG athletics showcase
D’Tigress open W’Cup qualifying campaign with Colombia clash
Onigbide's contributions helped shape Nigeria’s football, NSC mourns ex-Super Eagles coach
Joshua career-earnings per punch recorded at £172k
Onuachu breaks 14-year Trabzonspor goal record
Musa dedicates derby win to Pillars fan
Rivers United’s scoring run thrills Finidi
How Arsenal can win Premier League
NWFL player Ihotu regains freedom after N1.5m ransom
Rangers International going, going . . . (63,605 views)
Amaju Pinnick: A cat with nine lives (54,932 views)
Second Term: Amaju Pinnick, Other NFF Heavyweights Home to Roost •How Pinnick Broke the Jinx (52,837 views)
Current issues in Nigerian sports: Matters arising (52,464 views)
Sports Development: Zenith Bank on the zenith (52,383 views)
Missing $150,000 IAAF Grant: Solomon Dalung’s Hide and Seek game (52,290 views)
Gov. Abdullahi Ganduje’s solid footprints, commitment to sports development in Kano State (52,165 views)
NFF Presidency: Pinnick, Maigari, Ogunjobi, Okoye in Battle for Supremacy (51,709 views)
Olopade, BET9A wave of revolution in NNL (50,887 views)
Commonwealth Games 2018: Shame of Muhammadu Buhari, Solomon Dalung (49,403 views)
Ibrahimovic’s Man U exit: Whose decision is it? And in whose interest? (47,795 views)
John Mikel Obi: Segun Odegbami’s Outrageous Call! (47,270 views)