Match ends, Raith Rovers 1, Hibernian 2.
Hibernian turned in a strong first-half display at Stark's Park to end Raith Rovers' run of seven home wins.
John McGinn crashed home a fabulous strike as the visitors dominated the early stages.
Jason Cummings then broke clear of the Rovers defence to loft a shot over advancing keeper Kevin Cuthbert for his 10th goal of the season.
Rovers improved after the interval and Jon Daly steered home a header but Hibs held firm to take maximum points.
It means Alan Stubbs' side are now unbeaten in 10 games, with nine victories along the way, ahead of next weekend's meeting with Championship leaders Rangers.
And the Edinburgh side are five points adrift in second place, with the Ibrox side visiting St Mirren on Sunday.
Stubbs played with three central defenders at Stark's Park and the visitors controlled much of the midfield play in the opening 45 minutes.
Dominique Malonga teed up McGinn for a thumping finish from distance and the home defence were caught out by a long kick from goalkeeper Mark Oxley for the second goal.
Liam Henderson flashed a shot wide early in the second half as Hibs looked to kill the game but the Kirkcaldy side found a way back as Daly connected with a Jason Thomas cross.
The hosts piled forward in the latter stages and there were several penalty appeals from players in blue and white as the ball spent more time in a congested Hibs' box but referee George Salmond, who added on eight minutes, was not moved.
- 2ThomsonBooked at 90mins
- 6BenedictusBooked at 83mins
- 12MatthewsSubstituted forMegginsonat 57'minutes
- 28CraigenSubstituted forWightonat 57'minutesSubstituted forAndersonat 69'minutes
- 16DalyBooked at 90mins
- 18McGinnSubstituted forFyvieat 87'minutes
- 3HendersonSubstituted forBartleyat 80'minutes
- 7MalongaSubstituted forKeatingsat 74'minutes
- George Salmond
- Shots on Target
Second Half ends, Raith Rovers 1, Hibernian 2.
Jason Thomson (Raith Rovers) is shown the yellow card.
Corner, Raith Rovers. Conceded by David Gray.
Jason Thomson (Raith Rovers) wins a free kick on the right wing.
Foul by Lewis Stevenson (Hibernian).
Mitchel Megginson (Raith Rovers) wins a free kick on the right wing.
Foul by David Gray (Hibernian).
Corner, Hibernian. Conceded by Kevin Cuthbert.
Attempt saved. Jason Cummings (Hibernian) right footed shot from the centre of the box is saved in the top centre of the goal.
Attempt saved. Kyle Benedictus (Raith Rovers) right footed shot from outside the box is saved in the centre of the goal.
Jason Thomson (Raith Rovers) wins a free kick in the defensive half.
Foul by Dylan McGeouch (Hibernian).
Rory McKeown (Raith Rovers) wins a free kick on the right wing.
Foul by James Keatings (Hibernian).
Jon Daly (Raith Rovers) is shown the yellow card.
Substitution, Hibernian. Fraser Fyvie replaces John McGinn.
Corner, Hibernian. Conceded by Jason Thomson.
Kyle Benedictus (Raith Rovers) is shown the yellow card for a bad foul.
Foul by Kyle Benedictus (Raith Rovers).