Back
A first-half double for leading scorer Jack Moylan, against his former club, and one for captain Rubin Colwill had put Cardiff 3-0 up and seemingly out of sight at half-time.
But a quickfire double around the hour mark from Reeco Hackett fired Lincoln back into contention and ensured some nervy moments for the Bluebirds, who just about managed to hold on.
It secured Cardiff their first victory over the Imps since November 2000 and extended Lincoln’s own winless run to seven matches, which includes six defeats.
The two halves were in stark contrast, with Cardiff’s players delivering the perfect response to their painful derby-day defeat at Swansea last Sunday by completely dominating the first half.
The opener arrived 11 minutes in and typically it went to Moylan, finding the net with a 25-yard shot that took a slight deflection off Lincoln skipper Sonny Bradley and beat keeper George Wickens at his near post.
Wickens was then forced into a flying one-handed save on 21 minutes to tip Colwill’s dipping effort over the bar for a corner.
Cardiff and Moylan doubled their tally five minutes before the break. After the hosts had quickly turned defence into attack, Yousef Salech was fouled by Chiedozie Ogbene just outside the box.
Colwill’s resulting free-kick hit the Lincoln wall, with the ball deflecting out to Cian Ashford, who teed up Moylan to send a piledriver into the top corner for his 12th league goal of the campaign.
With the Bluebirds now buoyed, Colwill added a third three minutes later. Salech had put the ball across the six-yard box but Ivan Varfolomeev, attempting to stop Moylan or Colwill turning it home, only succeeded in diverting the ball against his own keeper with the ball looping up and over Wickens and giving Colwill an easy tap in for 3-0.
But the second half was a different story entirely.
Much-improved Lincoln were unlucky not to pull one back on 59 minutes when Ogbene’s shot cannoned back off the crossbar. However, a minute later, Hackett did score when his left-footed corner into the six-yard box sailed straight into the corner.
Then, on 63 minutes, Hackett seized on more Cardiff defensive fragility and scored his second from another corner, this time swung in by Varfolomeev, with Hackett beating keeper Nathan Trott and getting his head on it to divert it home.
Cardiff looked in danger of surrendering a 3-0 half-time lead for the second time in as many months, just as they did against West Ham at the start of November, but they held on – although they needed Krystian Bielik to head another Lincoln effort off the line in added time.