The recovery year for the local housing market is evident in recent statistics–showing 2012 mortgage activity in New England at the highest level in five years, according to new data from The Warren Group's Mortgage MarketShare Module. While Massachusetts, Connecticut and Rhode Island all recorded strong activity in 2012, mortgage activity in Massachusetts was the strongest. Total residential mortgage activity in the Bay State rose almost 38 percent statewide—increasing to 332,582 from 241,490 in 2011. Purchase mortgages spiked more than 25 percent to 57,324 from 45,824. Non-purchase, or refinance mortgages rose almost 41 percent to 275,258 from 195,666 in all of 2011. Last year marks the best year on record since 2007, when 346,655 total mortgages were originated in Massachusetts. "Single-family home sales have increased for 13 consecutive months, a sure sign the housing market in recovery mode," said Marie Wentling, director of product strategy at The Warren Group. "In addition to the spike in mortgages used to purchase homes, we saw a strong increase in refinance mortgages, partially credited to low rates and government assistance programs." Almost 83 percent of total mortgages in 2012 were refinances, compared to 81 percent in 2011. Nationally, the refinance share of applications was about 82 percent at the end of 2012, according to the Mortgage Bankers Association (MBA). In Connecticut, all mortgage activity rose more than 26 percent in 2012. A total of 141,759 mortgages were originated, up from 111,850 in 2011. A total of 42,680 mortgages were originated in Rhode Island, up from 32,992 in 2011.