It is potentially one of the most costly battles the Labor Party has lost.

Labor won only 20 per cent of the $2.3 million bonanza the mining and energy sector donated to political parties in 2013-14, a sharp fall from its share of nearly 50 per cent in 2012-13.

This dramatic swing towards the Coalition cut particularly deep in a year when mining and energy donations to the major parties more than trebled, according to figures released by The Greens.

Political donations data released by the Australian Electoral Commission in February documents the depth of industry hostility to Labor's mining and carbon taxes. Mining and energy companies declared donations to the Coalition of more than $1.8 million in 2013-14, compared to its $453,000 contribution to Labor.