“We found, frankly, the industry wasn’t ready to do much pre-foreclosure,” she said. “But once it was either on the cusp of foreclosure or had been taken into the bank portfolio, banks really do not want to hold on to these properties because they don’t know how to manage them, don’t know what to do with them.”

Working with borrowed money, Boston Community Capital buys homes after foreclosure and sells or rents them to their previous owners, providing new mortgages and counseling to the owners, who typically have ruined credit. During the process the families remain in their homes. Since late fall it has completed or nearly completed deals on 50 homes, with an additional 20 in progress, Ms. Hanratty said. The organization is now trying to raise $50 million to expand the program.

Image As part of a demonstration, artists projected videos on sheets in windows, showing silhouettes of families re-enacting the 72 hours before eviction. Credit... Mark Wilson for The New York Times

Steve Meacham, an organizer at City Life/Vida Urbana, is one reason banks may be willing to sell their foreclosed properties to Boston Community Capital. When families receive eviction notices, his group holds demonstrations or blockades outside the properties, calling on lenders to sell at market value. It also connects the residents with the Harvard Legal Aid Bureau, whose students work to pressure lenders to sell rather than evict by prolonging eviction and “driving up litigation costs,” said Dave Grossman, the clinic’s director.

“So they’re being defended legally, and we’re ramping up the pressure publicity-wise,” Mr. Meacham said. “And B.C.C. came in; they had a part that buys properties and a part that writes mortgages. It wouldn’t work without all three.”

A focus of the program has been the working-class neighborhood of Dorchester, where home prices dropped 40 percent between 2005 and 2007, compared with a 20 percent drop statewide, according to research by the Federal Reserve Bank of Boston. Foreclosures and delinquencies there are more than twice the state average, the bank found.

In such neighborhoods, lenders and residents are hurt by evictions, which often leave vacant properties that invite crime and drive down values of neighboring houses, Ms. Hanratty said. “So it’s in the lenders’ interest to get fair market value as quickly as possible, and in the interest of the community to have as little displacement as possible.”