Foreclosures around the city last month were up 30 percent, as the subprime-mortgage crisis and other economic problems cost more and more New Yorkers their homes.

Brooklyn appears to be the hardest hit of the five boroughs, with 1,032 foreclosure filings in August, compared with 822 in August 2006.

Some 10,217 homes in the borough are in pre-foreclosure proceedings, another 1,297 are heading to auction, and 2,605 are already owned by banks, according to the firm RealtyTrac.

Queens is in nearly as bad shape. There were 1,121 new filings in August, compared with 572 in August 2006. And the borough has 9,458 homes in pre-foreclosure, 1,307 going to auction and banks owning 2,084.

In The Bronx, 452 foreclosure filings were recorded, compared with 289 in August 2006. There now are 3,245 homes in pre-foreclosure, 769 ready for auction and 1,010 owned by lenders.

On Staten Island, 240 foreclosures were filed, compared to 246 the same month last year. The borough now has 2,537 homes going through the pre-foreclosure process, 477 up for auction and 940 in the banks’ hands.

In Manhattan, where the market is stronger and people have a better chance of selling their homes before they’re taken from them, only 79 cases were filed in August. That compared with 62 in August 2006.

There are now 1,242 homes in pre-foreclosure, 151 up for auction and 521 owned by banks.

In most of the country, the problem is far worse, RealtyTrac said.

Nationally, foreclosures skyrocketed 115 percent over August of last year.

[email protected]