Fourth National Government, 1993–1999 He was first elected to Parliament in the
1993 election,
Fifth Labour Government, 1999–2008 After the 2002 election he was appointed an associate minister in four portfolios: agriculture, health, racing and rural affairs. He succeeded Annette King as Minister for Racing in a 2003 reshuffle. After the
2005 election, in what would become the final term of the
Fifth Labour Government, O'Connor was promoted to be
Minister of Corrections and
Minister of Tourism. He lost the Corrections role in 2007, following calls for his resignation over the previous year over the
murder of Liam Ashley in a prison van and a scandal where he was found to have brought a suspended prison officer on a parliamentary rugby tour.
Fifth National Government, 2008–2017 At the
2008 general election, the Labour government was defeated by the National Party and O'Connor lost the West-Coast Tasman electorate to National Party list MP
Chris Auchinvole by 971 votes. At this election O'Connor also stood as a list candidate for the first time since 1996; however, his position of 37 was too low for him to return to Parliament as a Labour Party list MP immediately. O'Connor eventually returned to Parliament after the retirement of former deputy leader
Michael Cullen in May 2009. He retook West-Coast Tasman for Labour in 2011 and has held the seat since, defending challenges from former
Westland District Mayor Maureen Pugh in 2014 and 2017. In Opposition between 2009 and 2017, O'Connor held various spokesperson roles including agriculture, biosecurity, fisheries, food safety, primary industries and rural affairs.
Sixth Labour Government, 2017–2023 When the Labour Party formed a
coalition government with
New Zealand First and the
Greens in 2017, O'Connor was appointed
Minister of Agriculture, Minister for Biosecurity, Minister for Food Safety, Minister for Rural Communities and Associate Minister (later Minister of State) for Trade and Export Growth. An early challenge for O'Connor in the Agriculture portfolio was managing the
2017 Mycoplasma bovis outbreak, opting to attempt eradication to save the projected $1.3 billion cost in lost production to the industry over 10 years, with ongoing productivity losses across the farming sector. On Agriculture, O'Connor has said there is a new “collective wisdom through generational change in farming, which means we are more closely aligned than some on the fringes wish to portray’’. During the
2020 general election, O'Connor was re-elected in West Coast-Tasman by a final margin of 6,208 votes, defeating National's candidate
Maureen Pugh. In early November 2020, O'Connor maintained his Agriculture, Biosecurity, and Rural Communities ministerial portfolios while becoming the lead Minister for Trade and Export Growth and assuming the Land Information ministerial portfolio. In late January 2021, O'Connor drew media attention when he stated during an interview with
CNBC's
Asia Squawk Box "Australia "should follow us [New Zealand] and show respect to China." His comments came at a time of heightened
Australian-China tensions relating to Australian legislation targeting foreign investment and Chinese trade sanctions against Australia. O'Connor's remarks were criticised as unhelpful to Australia and "at odds with reality" by
Liberal MP
Dave Sharma. While the Chinese state-owned newspaper
Global Times praised Wellington's perceived openness towards Beijing, O'Connor's remarks were criticised by
Victoria University of Wellington academic Robert Ayson,
International Service for Human Rights director Phil Lynch and
Human Rights Watch director Elaine Person for implying that New Zealand was prioritising trade with China over human rights. Following the
Russian invasion of Ukraine, O'Connor has since said it is important New Zealand does not send ministers to the
2022 Beijing Winter Olympic Games, stating "we've been very strong on those issues around human rights and unnecessary discrimination. We should continue to do that." O'Connor has led various trade negotiations across the world in his role as Minister for Trade and Export Growth, including an historic $1.8 Billion EU Free Trade Agreement in 2022. O'Connor was the Facilitator of the Fishing Subsidy negotiations at the 12th World Trade Organisation Conference and delivered an agreement with new rules barring countries from subsidising illegal, unreported, and unregulated fishing. At the 2022 Asia-Pacific Economic Co-operation (APEC) forum ministers’ meeting, O'Connor joined a staged walkout when the Russian Minister spoke, with the shared statement including “We condemn in the strongest terms, the unprovoked war of aggression by Russia against Ukraine." In early July 2023, O'Connor accompanied Prime Minister
Chris Hipkins to Brussels for the signing of the
New Zealand-European free trade agreement. He described the agreement as a "bloody good deal" that had involved several years of tough negotiations. The
European Parliament subsequently ratified the NZ-EU free trade agreement on 23 November 2023. During the
2023 New Zealand general election, O'Connor was unseated by National MP
Maureen Pugh, who won the West Coast-Tasman by a margin of 1,017 votes. Despite losing his seat, O'Connor was re-elected to Parliament on the Labour Party list. In mid November 2023, O'Connor represented New Zealand at the
2023 APEC summit since incoming Prime Minister
Christopher Luxon was unable to attend due to ongoing coalition-forming negotiations with the
ACT and
New Zealand First parties.
Sixth National Government, 2023–present Following the formation of the
National-led coalition government in late November 2023, O'Connor became spokesperson for trade and associate spokesperson for foreign affairs and transport in the
Shadow Cabinet of Chris Hipkins. In late June 2024, O'Connor received a 60,000-strong petition at Parliament demanding that the National-led government not proceed with plans to reverse the previous Labour government's ban on live-animal exports. In early March 2025, O'Connor gained the regional development portfolio and retained the trade and land information portfolios during a
cabinet reshuffle. He lost the associate foreign affairs and associate trade portfolios. On January 26th 2026, O'Connor confirmed that he would not be contesting the
West Coast-Tasman electorate in the
2026 New Zealand general election. O'Connor would instead seek candidacy for the
Waitaki electorate. In mid March 2026, O'Connor gained the defence portfolio during a cabinet reshuffle. == Political views ==