Unsuccessful beginning Cody was appointed manager of the Kilkenny senior hurling team on 16 November 1998. He was the only candidate nominated for the position and was initially appointed for a two-year term. In the lead-up to the start of the championship Cody was very contemplative about his team's chances. He believed that 1999 was going to be one of the most open championships in years with any team capable of winning either the Munster or Leinster provincial deciders. In his first full season in charge Cody brought some new players onto the team.
James McGarry, at the age of 27, made his senior debut as goalkeeper while a young
Henry Shefflin was unearthed and was a new addition in the forward line. With a blend of youth and experience Cody guided his team to the Leinster title following a 5–14 to 1–16 defeat of Offaly. The subsequent All-Ireland decider saw Kilkenny face Cork on 12 September 1999. In a dour contest played on a wet day, Cork trailed by 0–5 to 0–4 after a low-scoring first half. Kilkenny increased the pace after the interval, pulling into a four-point lead. Cork moved up a gear and through
Joe Deane,
Ben O'Connor and
Seánie McGrath, they scored five unanswered points. Kilkenny could only manage one more score – a point from a Henry Shefflin free – and Cork held out to win by 0–13 to 0-12.
Early successes In 2000 Cody's side won a second successive Leinster title following another comfortable 2–21 to 1–13 victory over Offaly. As a result of the so-called "back-door" system both sides later faced off against each other again in the All-Ireland final on 10 September 2000.
D.J. Carey capitalised on an Offaly mistake after just six minutes to start a goal-fest for 'the Cats'. Carey scored 2–4 in all, sharing his second goal with Henry Shefflin who also scored a goal in the second-half. At the full-time whistle Kilkenny were the champions by 5–15 to 1–14. It was Cody's first All-Ireland title as manager. Kilkenny's provincial dominance continued in 2001 and a powerful 2–19 to 0–12 defeat of Wexford gave Cody a third successive Leinster title as manager. A shock 2–15 to 1-13 All-Ireland semi-final defeat by Galway ended Kilkenny's interest in the championship. Following this defeat there was some speculation that Cody would step down as manager, however, he decided to remain. Kilkenny bounced back in 2002 with Cody guiding the team to a first league success since 1995. He later steered the team to a fourth Leinster title as Kilkenny recorded a narrow 0–19 to 0–17 defeat of fourteen-man Wexford. On 8 September 2002 Kilkenny faced first-round losers
Clare in the All-Ireland decider. Kilkenny forwards Henry Shefflin and D. J. Carey combined to score 2-13 between them, as Kilkenny secured a 2–20 to 0–19 victory. It was a second All-Ireland title for Cody as manager. Kilkenny's early season efforts in 2003 were hampered by an apparent rift between team captain
Charlie Carter and Cody. Carter was said to have withdrawn from the panel during the latter stages of the league due to his unhappiness at being omitted from the team. Carter remained on the panel as Cody guided Kilkenny to a second successive league title following a stunning 5–14 to 5-13 extra-time defeat of
Tipperary. The ill-feeling between Carter and Cody resurfaced when the former was once again overlooked in a provincial championship defeat of
Dublin, resulting in him leaving the panel for good along with
Brian McEvoy. In spite of these setbacks Cody later guided Kilkenny to a fifth successive Leinster title as manager following a 2–23 to 2–12 defeat of Wexford. The subsequent All-Ireland final on 14 September 2003 saw Kilkenny face Cork for the first time in four years, however, on the day of the game the marital breakdown of Cody's replacement captain D. J. Carey was revealed in a national newspaper. In the game itself both teams remained level for much of the game, exchanging tit-for-tat scores. A
Setanta Ó hAilpín goal gave Cork the advantage, however, a
Martin Comerford goal five minutes from the end settled the game as Kilkenny went on to win by 1–14 to 1-11. It was Cody's third All-Ireland triumph as manager.
Transition period In 2004 Cody suffered his first provincial championship defeat when a last-minute goal secured a 2–15 to 1-16 Leinster semi-final victory for Wexford. Kilkenny worked their way through the qualifiers and lined out against Cork in the All-Ireland decider on 12 September 2004. The game was expected to be a classic, however, a rain-soaked day made conditions difficult as Kilkenny aimed to secure a third successive championship. The first half was a low-scoring affair and provided little excitement for fans, however, the second half saw Cork completely take over. For the last twenty-three minutes Cork scored nine unanswered points and went on to win the game by 0–17 to 0–9. It was Cody's second All-Ireland defeat as manager, having lost to Cork in 1999 also. Kilkenny were back in form in 2005, with Cody steering the team to a third league triumph in four years following a 3–20 to 0–15 victory over Clare. "The Cats" later struggled against a wasteful Wexford side, however, a 0–22 to 1–16 victory gave Cody a sixth Leinster title as manager. While a third successive All-Ireland showdown with Cork seemed likely, Galway defeated Kilkenny in the All-Ireland semi-final in one of the games of the decade. Once again there was speculation that Cody would step down, however, he decided to remain for an eighth season.
Four-in-a-row The retirements of D. J. Carey,
Peter Barry, and
John Hoyne led to Cody refer to his 2006 panel as being "in transition". In spite if this his charges secured a fourth league title in five years following a 3–11 to 0–14 victory over
Limerick. Cody's side later won a seventh Leinster title following another facile 1–23 to 1–12 victory over Wexford. On 3 September 2006 Kilkenny faced a Cork team who were presented with the opportunity to become the first side in nearly thirty years to secure three successive All-Ireland championships. Like previous encounters neither side took a considerable lead, however, Kilkenny had a vital goal from
Aidan Fogarty. Cork were in arrears coming into the final few minutes, however,
Ben O'Connor scored a late goal for Cork. It was too little too late as the Cats denied Cork on a score line of 1–16 to 1–13. It was a fourth All-Ireland title for Cody as manager, a victory he described as his greatest. Cody guided Kilkenny to an eighth Leinster title under his stewardship in 2007, as the Cats asserted their provincial dominance and defeated Wexford by 2–24 to 1-12. On 2 September 2007 Kilkenny faced defeated Munster finalists and surprise All-Ireland semi-final winners Limerick in the championship decider. Kilkenny got off to a flying start with
Eddie Brennan and Henry Shefflin scoring two goals within the first ten minutes to set the tone. Limerick launched a second-half comeback, however, "the Cats" were too powerful and cruised to a 2–19 to 1–15 victory. It was Cody's fifth All-Ireland victory as manager. For the second time under Cody's management, Kilkenny were presented with the chance of claiming a much sought-after three-in-a-row of All-Ireland titles. After retaining the Leinster crown following a 5–21 to 0–17 drubbing of Wexford, Kilkenny subsequently faced Waterford in the All-Ireland decider on 8 September 2008. In a disappointingly one-sided final, Kilkenny produced a near perfect seventy minutes as Waterford endured a nightmare afternoon. A 23-point winning margin, 3–24 from play, only two wides in the entire match and eight scorers in all with Eddie Brennan and Henry Shefflin leading the way in a 3–30 to 1–13 victory. Cody's sixth All-Ireland title as manager secured a rare three-in-a-row for Kilkenny, while it also allowed Kilkenny to top the all-time roll of honour. After the game Cody was surprisingly chosen as the
RTÉ Man of the Match. In 2009 Cody set his sights on equaling Cork's seemingly unbeatable
record of four successive All-Ireland titles. He began the year by guiding Kilkenny to a fifth league title during his tenure, as Kilkenny beat
Tipperary by 2–26 to 4–17 with a thrilling extra-time victory. Cody's Kilkenny later claimed a tenth Leinster title as new challengers Dublin were bested by 2–18 to 0–18. On 6 September Kilkenny were poised to become the second team ever in the history of hurling to claim a fourth successive All-Ireland championship when they faced Tipperary in the decider. For long periods Tipperary looked the likely winners, however, late goals from Henry Shefflin, after a penalty was awarded, and substitute
Martin Comerford finally killed off their efforts to secure a 2–22 to 0–23 victory. It was a seventh All-Ireland title for Cody as manager. In the aftermath of the game Cody was involved in a controversial interview with
Marty Morrissey that was broadcast live on
the Sunday Game. Cody was apparent in taking umbrage at Morrissey's line of questioning regarding the awarding of a controversial penalty which eventually turned the game in Kilkenny's favour.
Continued dominance Cody's reappointment for a 12th successive season took just 30 seconds after Kilkenny chairman Paul Kinsella put his name forward for ratification. The so-called "drive for five" of All-Ireland titles gathered momentum as Cody tried to play down expectations. Kilkenny surrendered their league title, however, the campaign was not without incident for Cody. During a group stage game with Tipperary he became involved in a sideline altercation with rival manager
Liam Sheedy. Sheedy shoved Cody, who was standing in the Tipperary technical area, before a war of words ensued between the pair. The Cats later extended their unbeaten run by claiming an eleventh Leinster title after a 1–19 to 1–12 defeat of Galway. For the second year in succession Kilkenny faced Tipperary in the All-Ireland decider on 5 September 2010. The Cats lost talisman Henry Shefflin due to injury, while Tipperary's
Lar Corbett ran riot and scored a hat-trick of goals as Cody's side fell to a 4–17 to 1–18 defeat. Cody's reappointment as manager was never in doubt and he was ratified for a 13th season in spite of the All-Ireland defeat. Kilkenny's stranglehold in Leinster continued in 2011. A 4–17 to 1–15 defeat of Dublin gave Cody's side a record-equaling seventh successive championship. Kilkenny subsequently faced Tipperary in the All-Ireland decider on 4 September 2011. Goals by
Michael Fennelly and
Richie Hogan in either half gave Kilkenny, who many viewed as the underdogs going into the game, a 2–17 to 1–16 victory. It was Cody's eighth All-Ireland title as manager. There was speculation once again that Cody would step down as manager following the reclaiming of the All-Ireland, however, he returned for the 2012 season. His side asserted their dominance once again as Kilkenny secured a sixth league title under Cody's stewardship following a 3–21 to 0–16 demolition of old rivals Cork. Kilkenny were later shocked by Cody's old nemesis Galway in the Leinster decider, losing by 2–21 to 2–11, however, both sides subsequently met in the All-Ireland decider on 9 September 2012. Kilkenny had led going into the final stretch, however,
Joe Canning struck a stoppage time equaliser to level the game at 2–13 to 0–19 and send the final to a replay for the first time since 1959. The replay took place three weeks later on 30 September 2012. Galway stunned the reigning champions with two first-half goals, however, Kilkenny's championship debutant
Walter Walsh gave a man of the match performance, claiming a 1–3 haul. The 3–22 to 3–11 score line gave Cody a ninth All-Ireland victory as manager. In capturing a ninth championship title Cody bested
Mick O'Dwyer's long-standing record after guiding the
Kerry Gaelic football team to eight
All-Ireland titles between 1975 and 1986. Kilkenny's dominance showed no sign of abating in 2013, with Cody guiding the team to a seventh league title following a 2–17 to 0–20 defeat of Tipperary in the decider. An early exit from the championship led to some speculation that Cody would step down as manager, however, on 11 September 2013 it was confirmed that Cody would continue as Kilkenny manager for a 16th season but without selector Martin Fogarty who stood down.
Back-to-back All-Ireland successes In 2014 Cody guided Kilkenny to their first ever three-in-a-row of league titles following a narrow one-point 2–25 to 1–27 extra-time victory over old rivals Tipperary. Cody's side subsequently secured a thirteenth Leinster title, as a dominant Kilkenny display gave the Cats a 0–24 to 1–9 defeat of Dublin. On 7 September 2014 Kilkenny faced Tipperary in the
All-Ireland decider. In what some consider to be the greatest game of all time, the sides were level when Tipperary were awarded a controversial free.
John O'Dwyer had the chance to win the game, however, his late free drifted wide resulting in a draw. The replay on 27 September 2014 was also a close affair. Goals from brothers
Richie and
John Power inspired Kilkenny to a 2–17 to 2–14 victory. It was Cody's tenth All-Ireland title as manager. In the aftermath of the All-Ireland victory Cody blasted referee
Barry Kelly's decision to award a late free in the drawn game describing it as "criminal" and "wrong". He subsequently avoided a suspension for these comments as the GAA's Central Hearings Committee decided to quash the charge brought against Cody. It was confirmed in November 2014 that Cody would remain as Kilkenny manager for 2015. After narrowly avoiding relegation in the
league, Cody guided Kilkenny to a fourteenth Leinster title during his managerial reign following a 1–25 to 2–15 defeat of Galway in the
decider. On 6 September 2015 Kilkenny renewed their rivalry with Galway in the
All-Ireland decider. The team struggled in the first half, however, a T. J. Reid goal and a dominant second half display, which limited Galway to just 1–4, saw Kilkenny power to a 1–22 to 1–18 victory. In 2016 Kilkenny won another Leinster title following victory over Galway in the final. They later drew with Waterford in the All Ireland Semi Final with the replay six days later being played in Semple Stadium. A classic game unfolded with the Deise pushing the Cats to the limit but Cody's side still emerged as two point winners. However, in the All Ireland Final against Tipperary Cody and his team's luck ran out as the Premier powered to a nine-point win to beat Kilkenny in the championship for the first time since they stopped the drive for five in 2010. It was Cody's fourth defeat as manager in the final. On 19 February 2017, Kilkenny lost to
Clare by 2–19 to 0–12 in
Cusack Park in the
2017 National Hurling League, it was Kilkenny's biggest competitive defeat since he became manager of the side. Kilkenny were knocked out of the
2017 All-Ireland Senior Hurling Championship by
Waterford in the second round of the qualifiers on 8 July losing by 4–23 to 2–22 after extra-time. It was Kilkenny's earliest exit from the Championship during Cody's rein as manager. In
2018, After a Leinster final replay defeat to Galway, Kilkenny reached the All-Ireland quarter-finals where they were defeated by eventual All-Ireland champions
Limerick. 2019 saw Kilkenny lose the Lenister final for the second year in a row, this time to Wexford. Wins over Cork and Limerick put the Cats into the All Ireland Final against Tipperary. Following the sending off of Richie Hogan in the first half,Tipperary powered to a 3.24 to 00.19 point win. The 2020 season was disrupted by the ongoing COVID-19 pandemic and the season was put on hold during the latter stages of the league. The season eventually resumed in September with no spectators allowed to attend any matches. Cody guided his team to the
Leinster Title after a victory over Galway. Their All Ireland Semi Final clash with Waterford turned into a thrilling encounter, with Kilkenny in full control in the first half and they led by seven points at half time. However Waterford took the game to the Cats in the second half and powered to a four-point victory to knock Cody's charges out of the Championship. It was their first Semi Final defeat since 2005. In January 2021, it was confirmed that Cody would remain in charge for 2021, his 23rd year as manager. D.J Carey left his role as selector. Cody guided his team to back to back Lenister titles for the first time in five years with victory over Dublin but their All Ireland hopes ended after an All Ireland Semi Final extra time defeat to Cork. In September 2021, it was confirmed that Cody would remain in charge for 2022, his 24th year as manager. Kilkenny qualified for the
2022 All-Ireland Senior Hurling Championship Final but lost, giving Limerick three consecutive All-Ireland SHC titles. On 23 July 2022, Cody's resignation as manager was announced.
James Stephens Shortly after resigning as Kilkenny manager, Cody was appointed as a selector with the
James Stephens club in September 2022, then managed by Seamus Dwyer and also featuring
John Sugrue in its backroom management team. ==Personal life==