Investments in Securities - Investments In Trading Securities (Details) - USD ($) $ in Millions |
Dec. 31, 2025 |
Dec. 31, 2024 |
|---|---|---|
| Schedule of Investments in Trading Securities [Line Items] | ||
| Total trading securities | $ 69,514 | $ 78,728 |
| Amortized cost | 400 | 487 |
| Total available-for-sale securities | 375 | 469 |
| Total investments in securities | 69,889 | 79,197 |
| Mortgage-related securities | ||
| Schedule of Investments in Trading Securities [Line Items] | ||
| Total trading securities | 14,291 | 1,098 |
| Mortgage-related securities | Consolidated Trusts | ||
| Schedule of Investments in Trading Securities [Line Items] | ||
| Total trading securities | 522 | 300 |
| Non-mortgage-related securities | ||
| Schedule of Investments in Trading Securities [Line Items] | ||
| Total trading securities | 55,223 | 77,630 |
| Non-mortgage-related securities | Pledged as collateral | ||
| Schedule of Investments in Trading Securities [Line Items] | ||
| Total trading securities | $ 8,200 | $ 8,900 |
| X | ||||||||||
- Definition Amount, after allowance for credit loss, of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), investment in debt security measured at amortized cost (held-to-maturity), and investment in debt security measured at fair value with change in fair value recognized in net income (trading). Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Amortized cost excluding accrued interest, before allowance for credit loss, of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount excluding accrued interest, of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of investment in debt security measured at fair value with change in fair value recognized in net income (trading). Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|