Fair Value [Text Block] | Fair Values A fair-value hierarchy is used to prioritize the inputs of valuation techniques used to measure fair value. A description of the application of the fair-value hierarchy, valuation techniques, and significant inputs is disclosed in Item 8 — Financial Statements and Supplementary Data — Note 18 — Fair Values in the 2016 Annual Report. There have been no material changes in the fair-value hierarchy classification of financial assets and liabilities, valuation techniques, or significant inputs during the six months ended June 30, 2017 . The carrying values, fair values, and fair-value hierarchy of our financial instruments at June 30, 2017 , and December 31, 2016 , were as follows (dollars in thousands). These fair values do not represent an estimate of our overall market value as a going concern, which would take into account, among other things, our future business opportunities and the net profitability of our assets and liabilities. June 30, 2017 Carrying Value Total Fair Value Level 1 Level 2 Level 3 Netting Adjustments and Cash Collateral Financial instruments Assets: Cash and due from banks $ 176,852 $ 176,852 $ 176,852 $ — $ — $ — Interest-bearing deposits 279,046 279,046 279,046 — — — Securities purchased under agreements to resell 4,349,000 4,348,852 — 4,348,852 — — Federal funds sold 4,460,000 4,459,941 — 4,459,941 — — Trading securities (1) 514,313 514,313 — 514,313 — — Available-for-sale securities (1) 6,641,796 6,641,796 — 6,626,382 15,414 — Held-to-maturity securities 1,898,097 2,160,053 — 1,011,431 1,148,622 — Advances 38,427,616 38,572,842 — 38,572,842 — — Mortgage loans, net 3,804,581 3,848,195 — 3,824,845 23,350 — Accrued interest receivable 85,997 85,997 — 85,997 — — Derivative assets (1) 56,623 56,623 — 42,862 — 13,761 Other assets (1) 21,703 21,703 10,336 11,367 — — Liabilities: Deposits (469,173 ) (469,169 ) — (469,169 ) — — COs: Bonds (28,518,424 ) (28,645,061 ) — (28,645,061 ) — — Discount notes (27,865,529 ) (27,864,927 ) — (27,864,927 ) — — Mandatorily redeemable capital stock (37,380 ) (37,380 ) (37,380 ) — — — Accrued interest payable (84,093 ) (84,093 ) — (84,093 ) — — Derivative liabilities (1) (329,229 ) (329,229 ) — (419,486 ) — 90,257 Other: Commitments to extend credit for advances — (4,377 ) — (4,377 ) — — Standby letters of credit (763 ) (763 ) — (763 ) — — _______________________ (1) Carried at fair value on a recurring basis. December 31, 2016 Carrying Value Total Fair Value Level 1 Level 2 Level 3 Netting Adjustments and Cash Collateral Financial instruments Assets: Cash and due from banks $ 520,031 $ 520,031 $ 520,031 $ — $ — $ — Interest-bearing deposits 278 278 278 — — — Securities purchased under agreements to resell 5,999,000 5,998,799 — 5,998,799 — — Federal funds sold 2,700,000 2,699,949 — 2,699,949 — — Trading securities (1) 612,622 612,622 — 612,622 — — Available-for-sale securities (1) 6,588,664 6,588,664 — 6,580,518 8,146 — Held-to-maturity securities 2,130,767 2,372,290 — 1,176,269 1,196,021 — Advances 39,099,339 39,273,044 — 39,273,044 — — Mortgage loans, net 3,693,894 3,736,548 — 3,708,123 28,425 — Accrued interest receivable 84,653 84,653 — 84,653 — — Derivative assets (1) 61,598 61,598 — 55,078 — 6,520 Other assets (1) 17,779 17,779 8,394 9,385 — — Liabilities: Deposits (482,163 ) (482,158 ) — (482,158 ) — — COs: Bonds (27,171,434 ) (27,298,499 ) — (27,298,499 ) — — Discount notes (30,053,964 ) (30,054,085 ) — (30,054,085 ) — — Mandatorily redeemable capital stock (32,687 ) (32,687 ) (32,687 ) — — — Accrued interest payable (80,822 ) (80,822 ) — (80,822 ) — — Derivative liabilities (1) (357,876 ) (357,876 ) — (460,287 ) — 102,411 Other: Commitments to extend credit for advances — (4,412 ) — (4,412 ) — — Standby letters of credit (1,064 ) (1,064 ) — (1,064 ) — — _______________________ (1) Carried at fair value on a recurring basis. Fair Value Measured on a Recurring Basis. The following tables present our assets and liabilities that are measured at fair value on the statement of condition, which are recorded on a recurring basis at June 30, 2017 , and December 31, 2016 , by fair-value hierarchy level (dollars in thousands): June 30, 2017 Level 1 Level 2 Level 3 Netting Adjustment (1) Total Assets: Trading securities: U.S. Treasury obligations $ — $ 309,332 $ — $ — $ 309,332 U.S. government-guaranteed – single-family MBS — 7,634 — — 7,634 GSEs – single-family MBS — 534 — — 534 GSEs – multifamily MBS — 196,813 — — 196,813 Total trading securities — 514,313 — — 514,313 Available-for-sale securities: State or local HFA securities — — 15,414 — 15,414 Supranational institutions — 422,178 — — 422,178 U.S. government-owned corporations — 285,772 — — 285,772 GSEs — 120,353 — — 120,353 U.S. government guaranteed – single-family MBS — 110,447 — — 110,447 U.S. government guaranteed – multifamily MBS — 491,237 — — 491,237 GSEs – single-family MBS — 4,148,697 — — 4,148,697 GSEs – multifamily MBS — 1,047,698 — — 1,047,698 Total available-for-sale securities — 6,626,382 15,414 — 6,641,796 Derivative assets: Interest-rate-exchange agreements — 42,763 — 13,761 56,524 Mortgage delivery commitments — 99 — — 99 Total derivative assets — 42,862 — 13,761 56,623 Other assets 10,336 11,367 — — 21,703 Total assets at fair value $ 10,336 $ 7,194,924 $ 15,414 $ 13,761 $ 7,234,435 Liabilities: Derivative liabilities Interest-rate-exchange agreements $ — $ (419,289 ) $ — $ 90,257 $ (329,032 ) Mortgage delivery commitments — (197 ) — — (197 ) Total liabilities at fair value $ — $ (419,486 ) $ — $ 90,257 $ (329,229 ) _______________________ (1) These amounts represent the application of the netting requirements which allow us to settle positive and negative positions and also cash collateral and related accrued interest held or placed with the same clearing member and/or counterparty. December 31, 2016 Level 1 Level 2 Level 3 Netting Adjustment (1) Total Assets: Trading securities: U.S. Treasury obligations $ — $ 399,521 $ — $ — $ 399,521 U.S. government-guaranteed – single-family MBS — 8,494 — — 8,494 GSEs – single-family MBS — 768 — — 768 GSEs – multifamily MBS — 203,839 — — 203,839 Total trading securities — 612,622 — — 612,622 Available-for-sale securities: State or local HFA securities — — 8,146 — 8,146 Supranational institutions — 422,620 — — 422,620 U.S. government-owned corporations — 271,957 — — 271,957 GSEs — 117,468 — — 117,468 U.S. government guaranteed – single-family MBS — 124,727 — — 124,727 U.S. government guaranteed – multifamily MBS — 563,361 — — 563,361 GSEs – single-family MBS — 4,403,855 — — 4,403,855 GSEs – multifamily MBS — 676,530 — — 676,530 Total available-for-sale securities — 6,580,518 8,146 — 6,588,664 Derivative assets: Interest-rate-exchange agreements — 55,008 — 6,520 61,528 Mortgage delivery commitments — 70 — — 70 Total derivative assets — 55,078 — 6,520 61,598 Other assets 8,394 9,385 — — 17,779 Total assets at fair value $ 8,394 $ 7,257,603 $ 8,146 $ 6,520 $ 7,280,663 Liabilities: Derivative liabilities Interest-rate-exchange agreements $ — $ (460,116 ) $ — $ 102,411 $ (357,705 ) Mortgage delivery commitments — (171 ) — — (171 ) Total liabilities at fair value $ — $ (460,287 ) $ — $ 102,411 $ (357,876 ) _______________________ (1) These amounts represent the application of the netting requirements which allow us to settle positive and negative positions and also cash collateral and related accrued interest held or placed with the same clearing member and/or counterparty. The following table presents a reconciliation of available-for-sale securities that are measured at fair value on a recurring basis using significant unobservable inputs (Level 3) during the three and six months ended June 30, 2017 . There were no Level 3 available-for-sale securities during the six months ended June 30, 2016 (dollars in thousands). For the Three Months Ended For the Six Months Ended June 30, 2017 June 30, 2017 Balance at beginning of period $ 8,184 $ 8,146 Purchases 7,600 7,600 Unrealized losses included in other comprehensive income (370 ) (332 ) Balance at end of period $ 15,414 $ 15,414 Fair Value on a Nonrecurring Basis We measure certain held-to-maturity investment securities, mortgage loans held for portfolio, and real-estate-owned property (REO) at fair value on a nonrecurring basis, that is, they are not measured at fair value on an ongoing basis but are subject to fair-value adjustments only in certain circumstances (for example, upon recognizing an other-than-temporary impairment on a held-to-maturity security). The following tables present financial assets by level within the fair-value hierarchy which were recorded at fair value on a nonrecurring basis. The fair values presented are as of the date the fair value adjustment was recorded (dollars in thousands). June 30, 2017 Level 1 Level 2 Level 3 Total Held-to-maturity securities: Private-label residential MBS $ — $ — $ 2,077 $ 2,077 Mortgage loans held for portfolio — — 4,745 4,745 REO — — 654 654 Total assets recorded at fair value on a nonrecurring basis $ — $ — $ 7,476 $ 7,476 December 31, 2016 Level 1 Level 2 Level 3 Total Held-to-maturity securities: Private-label residential MBS $ — $ — $ 8,498 $ 8,498 Mortgage loans held for portfolio — — 5,618 5,618 REO — — 786 786 Total assets recorded at fair value on a nonrecurring basis $ — $ — $ 14,902 $ 14,902 |