Daw Mill Colliery has been at risk of closure since March last year. Photograph: Rui Vieira/PA

One of the UK's last remaining coal mines is to shut with the loss of up to 650 jobs.

The decision to close Daw Mill colliery in north Warwickshire follows a major fire last month, the largest in a UK coal mine in more than 30 years.

A small team will remain on site to secure the mine over the coming months but the owner, UK Coal Mine Holdings, said the majority of Daw Mill's 650-strong workforce will be made redundant.

The company said the fire is still burning ferociously at a depth of 740 metres, with no signs of it reducing despite ventilation being turned off to starve the flames of oxygen.

Its chief executive, Kevin McCullough, said: "This has been a terrible week, not just for the company and its employees but also for the energy security of the country, as it brings an end to 47 years of coal production at Daw Mill."

The company's deep mines at Kellingley in North Yorkshire and Thoresby in Nottinghamshire, together with its surface mines, will continue to produce coal for use in the UK's power stations.

It is the latest blow to the industry after Hargreaves Services said Maltby Main colliery near Rotherham, which has been producing coal for more than 100 years, was no longer viable for health and safety reasons.

Daw Mill has been at risk of closure since last March when it was announced that a restructuring was needed to safeguard its medium-term future.

An overhaul of the business achieved "medium-term security", providing coal could be produced safely, reliably and efficiently.

McCullough said: "Having successfully completed the restructuring, and being only weeks away from returning to healthy production, this ferocious fire has dealt a blow to everything we tried to achieve over the last 12 months – in just 10 days."

The company said it was exploring the possible transfer of some staff to other mines.