Goals from Richie Towell and Brian Gartland ensured that Stephen Kenny's side lengthened the gap between first and second in the league
Richie Towell opened the scoring for Stephen Kenny's side before Darren Dennehy pulled back a second half equaliser for the home team. However Brian Gartland popped up immediately after to secure a vital three points.
Dundalk deservedly took the lead shortly after 15 minutes when Towell fortuitously latched onto a deflected ball on the edge of the box following a surging run from Daryl Horgan. The former Celtic midfielder made no mistake and calmly placed his shot past the despairing Mark McNulty.
The home side attempted to get back into the game but their efforts proved wasteful with Mark O'Sullivan, in particular, spurning a tremendous opportunity to equalise. Towell should have doubled Dundalk's lead shortly before half time in a move almost identical to that which led to the opener, but his shot flew over the bar.
A deafening roar came from the crowd when substitute John O'Flynn was tumbled over just outside the box by Dane Massey after the hour mark but referee Padraig Sutton waved play on, much to the chagrin of the home support.
Cork eventually pulled matters level with less than 10 minutes to go. Billy Dennehy combined with his brother Darren, who headed past Peter Cherrie. However Dundalk replied instantly through Gartland, who prodded home following a defensive mix-up in the Cork box to regain the lead and clinch maximum points for the Lilywhites.
John Caulfield's team face another difficult proposition next week in the league when they welcome St Patrick's Athletic to Turner's Cross, while Dundalk contest the EA Sports Cup semi-final against Wexford Youths on Monday.