The Justice Department said Thursday that its Antitrust Division has closed its investigation into NextEra Energy Inc.’s planned acquisition of Dominion Energy Inc. The department said the companies’ commitment to federal energy regulators, which ends their unilateral right to deactivate power plants in New England, will protect consumers in the region.

The department said that commitment could shield New England consumers from potentially hundreds of millions of dollars in higher electricity costs. It said it is important that wholesale electricity and capacity markets stay competitive so that businesses and households do not face higher bills as demand on power grids grows.

NextEra and Dominion announced on May 18 that they had agreed to combine in a $66.8 billion transaction. Both companies generate electricity and compete in auctions run by regional grid operators. The deal would combine their overlapping power plant holdings in two grid regions: PJM Interconnection, which covers parts of the Midwest and Mid-Atlantic, and ISO New England.

The companies have applied to the Federal Energy Regulatory Commission, or FERC, for approval, as federal law requires. During that review, the Internal Market Monitor of ISO New England filed comments with FERC. The monitor is the body that oversees the performance of that region’s electricity market.

The monitor said the merged company might have the incentive and ability to shut down a plant that is still economically viable. The goal, it said, would be to use the combined portfolio to raise payments in the region’s capacity market. That market pays generators to keep plants available as a reserve for periods of peak demand, apart from what they earn selling electricity.

The monitor proposed a five-year period, starting with the next ISO New England capacity auction in May 2028. During that time, it could investigate any plant the merged company proposed to deactivate. If the monitor found that a plant still had economic value, NextEra would be barred from deactivating it.

The Justice Department said its investigation included document review, interviews with industry participants and economic modeling. It said the Antitrust Division remained concerned about the effect on the New England capacity market. After the Division shared those concerns, the companies told FERC in a filing that they would “commit, without qualification, to comply” with the monitor’s proposal. The department said they would do so whether or not FERC makes it a condition of approval.

The Justice Department said that, given its review and that commitment, the Division decided the investigation could be closed. FERC’s review of the transaction is ongoing, according to the department.