NewsLiverpool and West Ham's League Cup history
The Reds advanced to the competition’s last eight with a 2-1 win away at AFC Bournemouth on Wednesday night, and quickly learned their next opponents.
The Hammers will visit Anfield for a tie that is scheduled for the week beginning December 18.
They last faced off in the League Cup at the fourth-round stage in November 1988 – and Jürgen Klopp’s side will be aiming to avoid a repeat of that night’s 4-1 away defeat.
Liverpool have had the better of the teams’ seven previous League Cup matches overall, though, following a 2-1 loss at Upton Park in the first in October 1971.
The Reds won a second-round replay two years later and they then clashed in the 1981 final, with a replay again required to decide a winner.
Goals from Kenny Dalglish and Alan Hansen at Villa Park ensured it was Liverpool who clinched the first of four consecutive triumphs in the tournament.
And Bob Paisley’s side also saw off West Ham en route to glory in the 1983 edition, winning 2-1 at Anfield in the fifth round that season.
WatchWatch highlights of Liverpool U21s' Bristol Street Motors Trophy clash at Blackpool
Play nowName the starting XI: Liverpool 3-1 Aston Villa - 2006
On sale nowGet your Liverpool v Aston Villa matchday programme
NewsTrent Alexander-Arnold and Curtis Jones named in latest England squad
StreamFriday at 9am GMT: Watch Arne Slot's pre-Aston Villa press conference