WASHINGTON — The Biden administration is proposing new limits on greenhouse gas emissions from coal and gas-fired power plants, its most ambitious effort yet to roll back planet-warming pollution from the nation’s second-largest contributor to climate change.

A rule to be unveiled Thursday by the Environmental Protection Agency could force power plants to capture smokestack emissions using a technology that has long been promised but is not in widespread use in the U.S.

If finalized, the proposed regulation would mark the first time the federal government has restricted carbon dioxide emissions from existing power plants, which generate about 25% of U.S. greenhouse gas pollution, second only to the transportation sector. The rule also would apply to future electric plants and would avoid up to 617 million metric tons of carbon dioxide through 2042, equivalent to annual emissions of 137 million passenger vehicles, the EPA said.

Almost all the coal plants — along with large, frequently used gas-fired power plants — would have to cut or capture nearly all their carbon dioxide emissions by 2038, the EPA said. Plants that cannot meet the new standards would be forced to retire.

The plan is likely to be challenged by industry groups and Republican-leaning states, which have accused the Democratic administration of overreach on environmental regulations and warn of a pending reliability crisis for the electric grid. The power plant rule is one of at least a half-dozen EPA rules limiting power plant emissions and wastewater treatment.

“It’s truly an onslaught” of government regulation “designed to shut down the coal fleet prematurely,” Rich Nolan, president and CEO of the National Mining Association, said in an interview before the rule was announced.

In a call with reporters on Wednesday, EPA Administrator Michael Regan denied that the power plant rule — or any other regulation — was aimed at shutting down the coal fleet even though he acknowledged, “We will see some coal retirements.”

Coal provides about 20% of U.S. electricity, down from about 45% in 2010. Natural gas provides about 40% of U.S. electricity. The remainder comes from nuclear energy and renewables such as wind, solar and hydropower.