Strong origination volumes on the back of a refinancing boom and high margins on sale of newly originated mortgages in the secondary market has boosted profitability for banks with a strong mortgage banking presence, including Wells FargoUS Bancorp and JPMorgan ChaseFBR Capital analyst Paul Miller said in a report.

But some analysts have raised concerns about the sustainability of the refinancing boom and "gain-on-sale" margins.