Teenage Hibee Ross Caldwell curled in a sensational 90th-minute winner to give Hibs their first derby win at Tynecastle since 2009.
With little at stake other than local bragging rights, with both sides in the bottom half of the SPL, the 300th derby in major competitions was a lively affair, eclipsing the three dreary draws served up in the previous league meetings during this campaign.
Jordon Forster enjoyed a solid debut in central defence for Hibs and Alex Harris caught the eye with a lively performance on the right wing but it was Caldwell, making just his second start, who was the toast of the Hibs teenagers.
The 19-year-old did not get too many glimpses of goal but staked a claim for a Scottish Cup final place with his excellent winning strike.
The visitors were the brighter side in the opening exchanges, knocking the ball around well in midfield and utilising the pace of Harris. However, Pat Fenlon’s side needed two good headed clearances to prevent them from falling behind as keeper Ben Williams dropped a corner from Kevin McHattie, with Darren Barr and Michael Ngoo denied by Lewis Stevenson and Alan Maybury inside the six-yard box.
Jamie MacDonald got down low to save a first-time shot from Harris after an exchange with Caldwell.
The Hearts keeper made a similar stop from Caldwell’s deflected, raking effort from the left edge of penalty box and a panicked clearance from McHattie fell to Harris but the winger could not profit as he too lacked composure.
Leigh Griffiths lined up a long-range free kick, bringing to mind his effort that was not seen by the officials crossing the line by some distance in the last meeting of the teams, but this time his fizzing effort was deflected wide by the defensive wall. Otherwise, Hibs’ leading scorer was being well shackled by Andy Webster.
In the final minute of the first half, Hearts were awarded a corner when Kevin Thomson knocked the ball out of play under pressure from Jamie Hamill. The Hibs midfielder wanted a foul but appeared to have slipped and his mood turned darker still when the home side took the lead from the resultant set-piece.
Williams was badly at fault as he got nowhere near McHattie’s delivery as Tom Taiwo blocked Ngoo’s header on the post and Barr was quickest to react as he prodded the ball in from a prone position on the turf.
Hibs were level within three minutes of the second half as Harris was upended 30 yards out and Griffiths stepped up to curl a fabulous free-kick into the top corner. Harris then flashed a great ball across the face of goal, with Griffiths inches away from connecting.
Hearts responded with a Hamill free kick that had to be clawed away by Williams and a bobbling volley from Jamie Walker whizzed narrowly wide from 20 yards. .Paul Hanlon then made a crucial sliding block from a Ryan Stevenson cross that appeared destined for Ngoo in front of goal.
With the clock reaching 90 minutes, substitute Scott Robertson broke into the penalty area from the left to slip a pass to Caldwell and the striker took a touch near the penalty spot before finding the top corner. The visiting fans went wild.
Hearts: MacDonald, Barr, Webster, McHattie, Hamill, Stevenson, Taouil, Walker, Holt, Sutton, Ngoo.
Hibs: Williams, Hanlon, Maybury, Forster, Claros, Stevenson, Taiwo, Harris, Thomson, Griffiths, Caldwell.