Liverpool edged a closely-contested Europa League play-off first leg thanks to an own goal by Hearts' Andy Webster.
Both sides spurned first-half chances, with Fabio Borini the main culprit.
Hearts gave a good account of themselves but were made to pay for their own profligacy in front of goal when Webster put past his own keeper.
Martin Kelly fired in a dangerous cross and the Hearts defender looked on in horror as the ball rebounded off him and into the net.
On balance, it was harsh on Hearts, who had given as good as they got against their more-fancied opponents, who, despite not being at full strength, fielded a multi-million pound team.
Hearts were keen to avoid a repeat of the scenario at this stage of last season's competition, when they found themselves two goals down inside the opening quarter of an hour.
On that occasion the Scottish Premier League side were knocked out after a 5-0 first-leg defeat by Tottenham.
Though Jamie MacDonald had to make an early save down to his left from a Charlie Adam drive, it was Pepe Reina who was busier in the opening stages.
The Spaniard was forced off his line to clear from the onrushing John Sutton before a full-stretch save to keep an Arvydas Novikovas effort from finding the top corner from 25 yards.
Sutton and David Templeton both had efforts just off target as Hearts' tactics of high-tempo, pressing football ruffled the English side's feathers.
The pace of Raheem Sterling down the left for Liverpool looked a potent weapon and Darren Barr almost knocked the ball past his own keeper as he slid in to prevent the winger getting a shot on goal.
And, as the visitors began to make their presence felt, Sterling stung the palms of MacDonald with a fierce effort as he cut inside onto his right foot.
Liverpool should really have taken the lead on 33 minutes. A lightning quick counter-attack was led by Jordan Henderson down the right.
His cross for Borini was inch-perfect, but with the goal gaping, the Italian slid the ball wide.
Hearts' threat had not evaporated, though, and Templeton fired a yard over the bar before the home fans and players made vociferous handball claims against Jamie Carragher, which were ignored by referee Florian Meyer.
Borini missed another glorious opportunity to give his side the lead after brilliant set-up play by Sterling, but with only the exposed keeper to beat, he struck the post.
The second half began at a slower pace than had been evident for most of the first period, but a vicious effort from a tight angle by Callum Paterson almost had the home crowd in delirium.
Adam and Novikovas swapped long-range efforts, neither of which troubled the respective keepers.
But with just 12 minutes remaining, the visitors made the breakthrough.
Kelly powered down the right, and though his cross was missed by Borini, the luckless Webster could not avoid the ball rebounding off him and into the back of the net.
Sterling was still looking lively in the closing stages, but on the two occasions he found room to shoot, his efforts failed to test MacDonald.
Paterson tried in vain to grab an equaliser, but Reina was equal to a powerful shot on the turn and the English side side emerged with a first-leg lead to take back to Anfield.
Liverpool manager Brendan Rodgers revealed afterwards that Andy Carroll missed the tie because of a hamstring problem, but hopes the striker will be fit for Sunday's visit of Manchester City.
He said: "Andy was due to start. He had a slight twinge on his hamstring. We had a scan on it and it didn't show a tear, just a slight disruption.
"We tried to give him 48 hours, let him travel and he trained yesterday to see how it was.
"It was still a bit tight and the medics' advice was it was too much of a risk for him to play."
Heart of Midlothian
- 01 MacDonald
- 03 Grainger
- 04 McGowan
- 05 Barr Booked (Robinson - 87' )
- 06 Webster
- 26 Zaliukas
- 33 Paterson
- 07 Templeton (Driver - 79' )
- 10 Taouil
- 09 Sutton
- 18 Novikovas (Carrick - 84' )
- 21 Enckelman
- 19 McGowan
- 29 McHattie
- 11 Driver
- 08 Robinson
- 12 Smith
- 37 Carrick
- 25 Reina
- 05 Agger
- 23 Carragher
- 34 Kelly
- 49 Robinson (Downing - 62' )
- 14 Henderson
- 20 Spearing (Allen - 67' )
- 26 Adam
- 31 Sterling
- 33 Shelvey
- 29 Borini (Morgan - 90' )
- 01 Jones
- 16 Coates
- 38 Flanagan
- 19 Downing
- 21 Lucas
- 24 Allen
- 50 Morgan
Live Text Commentary
Full Time The referee ends the match.90:00 +3:13
Free kick awarded for a foul by Jordan Henderson on Daniel Grainger. Direct free kick taken by Daniel Grainger.90:00 +2:37
Callum Paterson has an effort at goal from long range that misses to the right of the target.90:00 +1:04 Substitution
Substitution Fabio Borini goes off and Adam Morgan comes on.90:00 +1:04
The ball is delivered by Andy Webster.89:20
Callum Paterson takes a shot from 12 yards. Save by Jose Reina.89:06
Centre by Mehdi Taouil, Daniel Agger makes a clearance.87:32
Shot by Andrew Driver. Save made by Jose Reina.86:44 Substitution
Substitution (Hearts) makes a substitution, with Scott Robinson coming on for Darren Barr.85:53
Fabio Borini is ruled offside. Free kick taken by Marius Zaliukas.85:10
Raheem Sterling takes a shot. Save by Jamie MacDonald.83:28 Substitution
Substitution Dale Carrick is brought on as a substitute for Arvydas Novikovas.83:28
Shot from just outside the box by Raheem Sterling goes over the bar.78:19 Substitution
Substitution David Templeton leaves the field to be replaced by Andrew Driver.77:08
Martin Kelly provided the assist for the goal.77:08 Goal scored
Goal! - Andy Webster - Hearts 0 - 1 Liverpool Andy Webster puts the ball into his own goal from 6 yards. Hearts 0-1 Liverpool.77:06
Centre by Martin Kelly, Andy Webster gets a block in.72:12
Stewart Downing produces a cross, clearance made by Marius Zaliukas. The ball is crossed by Stewart Downing, save by Jamie MacDonald.71:26
Jonjo Shelvey challenges Mehdi Taouil unfairly and gives away a free kick. The free kick is delivered left-footed by Daniel Grainger from left wing, save by Jose Reina.71:00
David Templeton produces a cross, clearance by Jamie Carragher.
Outswinging corner taken from the left by-line by Arvydas Novikovas, Jonjo Shelvey makes a clearance.70:13
Ryan McGowan sends in a cross.69:41
Joe Allen delivers the ball, Jamie MacDonald makes a save.69:26
Martin Kelly sends in a cross, clearance made by Andy Webster.69:09
Raheem Sterling delivers the ball, Marius Zaliukas manages to make a clearance.67:55
Charlie Adam takes a shot. Jamie MacDonald makes a comfortable save.66:42
Free kick taken by Arvydas Novikovas.66:42 Substitution
Substitution Jay Spearing goes off and Joe Allen comes on.66:42
Free kick awarded for a foul by Martin Kelly on Arvydas Novikovas.65:36
Daniel Grainger gives away a free kick for an unfair challenge on Charlie Adam. Charlie Adam restarts play with the free kick. The ball is delivered by Jonjo Shelvey, save made by Jamie MacDonald.63:49
Fabio Borini fouled by Andy Webster, the ref awards a free kick. Daniel Agger takes the free kick.63:40
The ball is delivered by Daniel Grainger, clearance by Jay Spearing.61:58
Darren Barr handles the ball and concedes a free kick. Jonjo Shelvey takes the free kick.60:48 Substitution
Substitution Stewart Downing is brought on as a substitute for Jack Robinson.60:48
Mehdi Taouil takes a shot. Blocked by Jay Spearing.59:13
Raheem Sterling gives away a free kick for an unfair challenge on Ryan McGowan. Free kick crossed by David Templeton, clearance by Daniel Agger. Corner taken by Arvydas Novikovas from the left by-line, Daniel Agger manages to make a clearance.58:34
Effort on goal by Arvydas Novikovas from outside the area goes harmlessly over the bar.57:45
Charlie Adam produces a right-footed shot from outside the box and misses left.57:12
The referee blows for offside against Raheem Sterling. Andy Webster takes the indirect free kick.55:40
Shot from inside the six-yard box by Callum Paterson goes wide right of the target.53:10
The ball is delivered by Ryan McGowan.51:47
Corner taken right-footed by Jonjo Shelvey from the left by-line, save by Jamie MacDonald.50:27
Fabio Borini is flagged offside by the assistant referee. Free kick taken by Jamie MacDonald.48:57
Unfair challenge on Martin Kelly by Daniel Grainger results in a free kick. Direct free kick taken by Jordan Henderson.47:31
Daniel Grainger crosses the ball, clearance by Daniel Agger. Ryan McGowan takes a shot from 25 yards. Jay Spearing gets a block in.46:41
Free kick awarded for a foul by Charlie Adam on Mehdi Taouil. Mehdi Taouil restarts play with the free kick.45:01
The referee blows his whistle to start the second half.45:00 +0:10 Half time
Half Time The ref blows to signal half-time.44:45
Fabio Borini has an effort at goal from deep inside the box hitting the post.42:45
Charlie Adam takes a shot. Blocked by John Sutton. Charlie Adam takes a inswinging corner to the near post, Foul by Daniel Agger on Marius Zaliukas, free kick awarded. Direct free kick taken by Jamie MacDonald.42:12
Inswinging corner taken left-footed by Charlie Adam from the right by-line, Jamie MacDonald makes a save.40:55
Floated corner taken from the right by-line by David Templeton, clearance by Jamie Carragher.39:56
The ball is swung over by Ryan McGowan, Shot on goal by Callum Paterson from just inside the area goes over the target.38:16
Fabio Borini is caught offside. Jamie MacDonald restarts play with the free kick.35:41
Foul by Fabio Borini on Mehdi Taouil, free kick awarded. Mehdi Taouil takes the direct free kick.34:18
Foul by Jack Robinson on Arvydas Novikovas, free kick awarded. Free kick crossed by Arvydas Novikovas, clearance made by Jordan Henderson.33:36
Jordan Henderson produces a cross, Fabio Borini produces a right-footed shot from deep inside the area which goes wide of the left-hand post.31:54
Fabio Borini takes a shot. Blocked by Andy Webster. Charlie Adam takes the inswinging corner, Fabio Borini challenges Andy Webster unfairly and gives away a free kick. Jamie MacDonald restarts play with the free kick.29:31
Callum Paterson delivers the ball, blocked by Jay Spearing. Outswinging corner taken right-footed by David Templeton played to the near post, Jonjo Shelvey manages to make a clearance.28:49
Free kick awarded for a foul by Raheem Sterling on Ryan McGowan. Andy Webster restarts play with the free kick.28:30
Raheem Sterling takes a shot. Save by Jamie MacDonald.26:51
Raheem Sterling sends in a cross, Andy Webster makes a clearance. Corner taken by Jonjo Shelvey, Darren Barr manages to make a clearance.24:02
Outswinging corner taken left-footed by Charlie Adam, Marius Zaliukas makes a clearance.23:05
Charlie Adam takes the direct free kick.23:05 Booking
Booking Darren Barr is booked.23:02
Foul by Darren Barr on Charlie Adam, free kick awarded.21:39
Raheem Sterling takes a shot. Andy Webster gets a block in. The assistant referee signals for offside against Raheem Sterling. Andy Webster restarts play with the free kick.19:44
Free kick awarded for an unfair challenge on Jordan Henderson by Mehdi Taouil. Jay Spearing takes the direct free kick.18:33
Fabio Borini gives away a free kick for an unfair challenge on Andy Webster. Andy Webster takes the free kick.17:00
Shot on goal by David Templeton from just inside the area goes over the target.15:50
Arvydas Novikovas takes the outswinging corner, Shot by Darren Barr. Jonjo Shelvey gets a block in.13:10
Jonjo Shelvey is ruled offside. Jamie MacDonald takes the indirect free kick.12:17
Effort from the edge of the area by John Sutton goes wide of the left-hand post.10:42
Arvydas Novikovas has an effort at goal. Save by Jose Reina. Outswinging corner taken by Arvydas Novikovas from the left by-line, Charlie Adam makes a clearance.9:45
David Templeton decides to take a short corner, The ball is sent over by Arvydas Novikovas, Charlie Adam manages to make a clearance.8:16
Charlie Adam takes a shot. Save by Jamie MacDonald. Jonjo Shelvey takes the outswinging corner, Darren Barr manages to make a clearance. Corner from the right by-line taken by Jonjo Shelvey, Darren Barr manages to make a clearance. Jamie Carragher concedes a free kick for a foul on David Templeton. Daniel Grainger restarts play with the free kick.5:43
Ryan McGowan concedes a free kick for a foul on Raheem Sterling. Charlie Adam takes the direct free kick.2:59
John Sutton is flagged offside by the assistant referee. Jose Reina restarts play with the free kick.2:35
Foul by Jonjo Shelvey on Mehdi Taouil, free kick awarded. Direct free kick taken by Mehdi Taouil.1:23
The ball is swung over by Charlie Adam.0:00
The match has kicked off.
Live data and text provided by our data suppliers