Annual report pursuant to Section 13 and 15(d)

RESIDENTIAL MORTGAGE LOANS - Carrying Value of Mortgage Loans (Details)

v3.20.4
RESIDENTIAL MORTGAGE LOANS - Carrying Value of Mortgage Loans (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2020
Dec. 31, 2019
Dec. 31, 2018
SEC Schedule, 12-29, Real Estate Companies, Investment in Movement in Mortgage Loans on Real Estate [Roll Forward]      
Accretion of loan discount and other amortization $ 151,540 $ 379,129 $ 701,967
Transfer of loans to real estate owned (43,409) (86,167)  
PCD Loans      
SEC Schedule, 12-29, Real Estate Companies, Investment in Movement in Mortgage Loans on Real Estate [Roll Forward]      
Balance, beginning 66,278 144,065  
Purchases/additional fundings   0  
Sales   0  
Proceeds from repayments   (16,855)  
Accretion of loan discount and other amortization   16,041  
(Allowance) reversal for loan losses   (2,332)  
Transfer of loans to real estate owned   (14,487)  
Transfers of loans to held for sale   60,154  
Balance, ending   66,278 144,065
Residential Portfolio Segment      
SEC Schedule, 12-29, Real Estate Companies, Investment in Movement in Mortgage Loans on Real Estate [Roll Forward]      
Ditech Acquisition   999,336  
Purchases/additional fundings 3,433,110 8,632,949  
Proceeds from repayments (423,335) (539,915)  
Accretion of loan discount and other amortization   28,702  
Transfer of loans to other assets (25,704) (10,566)  
Transfer of loans to real estate owned (35,470) (74,324)  
Transfers of loans to held for sale (62,274) (80,659)  
Residential Portfolio Segment | Performing Loans      
SEC Schedule, 12-29, Real Estate Companies, Investment in Movement in Mortgage Loans on Real Estate [Roll Forward]      
Balance, beginning $ 859,428 591,253  
Ditech Acquisition   381,039  
Purchases/additional fundings   0  
Proceeds from repayments   (102,340)  
Accretion of loan discount and other amortization   12,661  
Provision for loan losses   (595)  
Transfer of loans to other assets   0  
Transfer of loans to real estate owned   (6,223)  
Transfers of loans to held for sale   20,505  
Fair value adjustment   4,138  
Balance, ending   $ 859,428 $ 591,253