Bohemians 2 Derry City 3
Mark Farren hit a brace to make it 15 league goals for the season as Derry twice came from behind to go top of the table and stretch their unbeaten run to 20 games.
Bohs started brightly but fell behind on 26 minutes when Farren shot home his first with the help of a deflection.
Bohs were deservedly level on 38 minutes.
Tony Grant’s shot came down off the bar and Stephen Ward blasted the loose ball into the net.
Ward hit his second to restore Bohs lead on the hour.
But Derry hit back to level through Gareth McGlynn six minutes later before Farren hit the winner, heading home Alan Murphy’s cross with five minutes to play.