Derivatives - Cumulative Basis Adjustment on Fair Value Hedges (Details) - USD ($) $ in Millions |
Dec. 31, 2019 |
Dec. 31, 2018 |
|---|---|---|
| Derivative Instruments and Hedging Activities Disclosure [Abstract] | ||
| Carrying amount mortgage loans held-for-investment hedged asset | $ 470,889 | $ 193,547 |
| Carrying amount debt hedged liability | (122,746) | (127,215) |
| Total basis adjustment cumulative amount for hedged asset | 2,886 | (1,237) |
| Total basis adjustment cumulative amount for hedged liability | (668) | 216 |
| Hedged Asset, Fair Value Hedge, Last-of-Layer, Cumulative Increase (Decrease) | (943) | 0 |
| Basis adjustment amount for hedged asset - discontinued hedge | 3,829 | (1,237) |
| Basis adjustment amount for hedged liability - discontinued hedge | (93) | (8) |
| Closed Portfolio and Beneficial Interest, Last-of-Layer, Amortized Cost | 273,346 | 0 |
| Hedged Asset, Fair Value Hedge, Last-of-Layer, Amount | $ 22,747 | $ 0 |