Across the country, there were 60,000 completed foreclosures in June compared with 80,000 in the same month of 2011, according to California-based real estate research firm CoreLogic.
Since the financial crisis began in September 2008, about 3.7 million foreclosures have been completed nationwide, the firm said.
Completed foreclosures are an indication of the total number of homes actually lost to foreclosure.
There were about 1.4 million homes, or 3.4 percent of all homes with a mortgage, in the national foreclosure inventory as of June. That was down from 1.5 million, or 3.5 percent, in June 2011, according to CoreLogic.
In Pennsylvania, the foreclosure inventory for June was 3.1 percent, which was up from 2.5 percent a year ago.
California, Florida, Georgia, Michigan and Texas accounted for nearly half of all completed foreclosures in the U.S. for the 12-month period that ended in June. Florida had the highest foreclosure inventory at 11.5 percent.