Fannie Mae and Freddie Mac reported second-quarter earnings in line with analysts' expectations despite a decline in net interest margins. Bolstering the performance were some record-breaking levels of business.

"It's clear that both agencies are taking advantage of the available supply in the market to help offset the decline in that margin," said Jonathan Adams, senior financial services analyst at Prudential Securities.

Subscribe Now

Access to authoritative analysis and perspective and our data-driven report series.

14-Day Free Trial

No credit card required. Complete access to articles, breaking news and industry data.