In this Feb. 23, 2018, file photo a passerby walks near an entrance to a Lowe's retail home improvement and appliance store, in Framingham, Mass. Credit: Steven Senne | AP

Maine’s 11 Lowe’s stores, including those located in the Bangor and Portland areas, will remain open as the home improvement retail chain said Monday it will shut down 47 underperforming stores in the U.S. and Canada.

In addition to the store closures, Lowe’s will shutter four offices, totaling 51 closures overall.

Two New England stores, one in Connecticut and one in Massachusetts, will close, according to a list on the company’s website.

Lowe’s announced that the closures were part of its ongoing strategic realignment.

[Sign up for our daily business newsletter]

In an announcement Monday the retailer said most associates in the closing stories will be offered a chance to take a similar job at a nearby Lowe’s. Most affected U.S. stores are located within 10 miles of another Lowe’s, the company said.

“While decisions that impact our associates are never easy, the store closures are a necessary step in our strategic reassessment as we focus on building a stronger business,” said Marvin R. Ellison, Lowe’s president and CEO.

Lowe’s expects to close the affected stores by Feb. 1, 2019.

The company intends to hold store closing sales for most locations except select U.S. stores, which will close immediately. It did not identify which stores those are.

In October 2011, Lowe’s closed stores in Ellsworth and Biddeford as part of a wider decision to shutter 20 stores nationwide. The Jackson Laboratory later purchased the Ellsworth location, where in August it opened a mice-breeding facility.