Derivatives and Hedging Activities [Text Block] | Derivatives and Hedging Activities Refer to Note 2 - Summary of Significant Accounting Policies in our 2022 Form 10-K for our accounting policies for derivatives. We transact most of our derivatives with large banks and major broker-dealers. Some of these banks and broker-dealers or their affiliates buy, sell, and distribute consolidated obligations. We are not a derivatives dealer and do not trade derivatives for speculative purposes. We enter into derivative transactions through either of the following: • A bilateral agreement with an individual counterparty for over-the-counter derivative transactions. • Clearinghouses classified as Derivatives Clearing Organizations (DCOs) through Futures Commission Merchants (FCMs), which are clearing members of the DCOs, for cleared derivative transactions. Managing Interest Rate Risk We use fair value hedges to manage our exposure to changes in the fair value of (1) a recognized asset or liability or (2) an unrecognized firm commitment, attributable to changes in a benchmark interest rate, such as the Secured Overnight Financing Rate (SOFR). We use cash flow hedges to hedge the variability in the total proceeds received from rolling forecasted zero-coupon discount note issuance, attributable to changes in the benchmark interest rate, by entering into pay-fixed interest rate swaps. We are not using the cash flow hedge strategy for new transactions at this time, but may elect to do so in the future. We may elect the fair value option for financial instruments, such as advances, MPF Loans held for sale, and consolidated obligation discount notes and bonds, in cases where hedge accounting treatment may not be achieved due to the inability to meet the hedge effectiveness testing criteria, or in certain cases where we wish to mitigate the risk associated with selecting the fair value option for other instruments. We may also use economic hedges to hedge securities in our trading portfolio, when hedge accounting is not permitted or hedge effectiveness is not achievable. Managing Credit Risk on Derivative Agreements Over-the-counter (bilateral) Derivative Transactions : We are subject to credit risk due to the risk of nonperformance by counterparties to our derivative agreements. For bilateral derivative agreements, the degree of counterparty risk depends on the extent to which master netting arrangements, collateral requirements and other credit enhancements are included in such contracts to mitigate the risk. We manage counterparty credit risk through credit analysis, collateral requirements and adherence to the requirements set forth in our policies and FHFA regulations. We require collateral agreements on all over-the-counter derivatives. Additionally, collateral related to over-the-counter derivatives with member institutions includes collateral assigned to us, as evidenced by a written security agreement, and which may be held by the member institution for our benefit. As of June 30, 2023, based on credit analyses and collateral requirements, we have not recorded a credit loss on our over-the-counter derivative agreements. See Note 15 - Fair Value to the financial statements in our 2022 Form 10-K for discussion regarding our fair value methodology for over-the-counter derivative assets and liabilities, including an evaluation of the potential for the fair value of these instruments to be affected by counterparty credit risk. For nearly all of our bilateral derivative transactions executed prior to March 1, 2017, and for all transactions entered into on or after March 1, 2017, our bilateral derivative agreements are fully collateralized with a zero unsecured threshold in accordance with variation margin requirements issued by the U.S. federal bank regulatory agencies and the Commodity Futures Trading Commission (CFTC). We pledged no investment securities for variation margin on our bilateral derivative transactions (that can be sold or repledged by our counterparty) as of June 30, 2023. For certain transactions executed prior to March 1, 2017, we may be required to post net additional collateral with our counterparties if there is deterioration in our credit rating. If our credit rating had been lowered from its current rating to the next lower rating by a major credit rating agency, such as Standard and Poor's or Moody’s, the amount of collateral we would have been required to deliver would have been immaterial at June 30, 2023. Bilateral derivative transactions executed on or after September 1, 2022, are subject to two-way initial margin requirements if our aggregate uncleared derivative transactions exposure to a counterparty exceeds a specified threshold. The initial margin is required to be held at a third-party custodian and does not change ownership. Rather, the party in respect of which the initial margin has been posted to a third-party custodian will have a security interest in the amount of initial margin required to be posted and can only take ownership upon the occurrence of certain events, including an event of default due to bankruptcy, insolvency, or similar proceeding. As of June 30, 2023, we pledged and/or received initial margin with our bilateral derivative counterparties. Cleared Derivative Transactions : Cleared derivative transactions are subject to variation and initial margin requirements established by the DCO and its clearing members. Variation margin payments are characterized as settlement of a derivative’s mark-to-market exposure and not as collateral against the derivative’s mark-to-market exposure. See Note 1 - Background and Basis of Presentation and Note 2 - Summary of Significant Accounting Policies to the financial statements in our 2022 Form 10-K for further discussion. We post our initial margin collateral payments and make variation margin settlement payments through our FCMs, on behalf of the DCO, which could expose us to institutional credit risk in the event that the FCMs or the DCO fail to meet their obligations. Clearing derivatives through a DCO mitigates counterparty credit risk exposure because the DCO is substituted for individual counterparties and variation margin settlement payments are made daily through the FCMs for changes in the value of cleared derivatives. The DCO determines initial margin requirements for cleared derivatives. We pledged $815 million of investment securities (that can be sold or repledged) as part of our initial margin related to cleared derivative transactions at June 30, 2023. Additionally, an FCM may require additional initial margin to be posted based on credit considerations, including but not limited to, if our credit rating downgrades. We had no requirement to post additional initial margin by our FCMs at June 30, 2023. The following table presents details on the notional amounts, and cleared and bilateral derivative assets and liabilities on our Condensed Statements of Condition . The netting adjustment amount includes cash collateral (either received or paid by us) and related accrued interest in cases where we have a legal right, by contract (e.g., master netting agreement) or otherwise, to offset cash flow obligations between us and our counterparty into a single net payable or receivable. As of June 30, 2023 December 31, 2022 Notional Amount Derivative Assets Derivative Liabilities Notional Amount Derivative Assets Derivative Liabilities Derivatives in hedge accounting relationships- Interest rate contracts $ 122,114 $ 1,220 $ 2,777 $ 90,805 $ 1,092 $ 2,825 Derivatives not in hedge accounting relationships- Interest rate contracts 8,197 19 33 2,420 17 47 Mortgage delivery commitments 369 — 1 142 — — Other 176 1 — 119 2 — Derivatives not in hedge accounting relationships 8,742 20 34 2,681 19 47 Gross derivative amount before netting adjustments and cash collateral $ 130,856 1,240 2,811 $ 93,486 1,111 2,872 Netting adjustments and cash collateral (1,227) (2,744) (1,086) (2,862) Derivatives on Condensed Statements of Condition $ 13 $ 67 $ 25 $ 10 Cash Collateral Cash Collateral Cash collateral posted and related accrued interest $ 1,900 $ 2,124 Cash collateral received and related accrued interest 384 348 The following table presents the noninterest income - derivatives and economic hedging activities as presented in the Condensed Statements of Income . Three months ended June 30, Six months ended June 30, For the periods ending 2023 2022 2023 2022 Economic hedges - Interest rate contracts $ — $ 15 $ 10 $ 42 Mortgage delivery commitments (1) (3) 1 (8) Other 2 6 1 13 Economic hedges 1 18 12 47 Variation margin on daily settled cleared derivatives (17) (1) (34) (1) Noninterest income - Derivatives and hedging activities $ (16) $ 17 $ (22) $ 46 The following tables present details regarding the offsetting of our cleared and bilateral derivatives on our Condensed Statements of Condition . The netting adjustment amount includes cash collateral (either received or paid by us) and related accrued interest in cases where, as applicable, we have a legal right, by contract (e.g., master netting agreement) or otherwise, to offset cash flow obligations between us and our counterparty into a single net payable or receivable. Derivative Assets As of June 30, 2023 As of December 31, 2022 Bilateral Cleared Total Bilateral Cleared Total Derivatives with legal right of offset - Gross recognized amount $ 1,112 $ 128 $ 1,240 $ 1,004 $ 107 $ 1,111 Netting adjustments and cash collateral (1,099) (128) (1,227) (999) (87) (1,086) Derivatives with legal right of offset - net 13 — 13 5 20 25 Derivatives on Condensed Statements of Condition 13 — 13 5 20 25 Net amount $ 13 $ — $ 13 $ 5 $ 20 $ 25 Derivative Liabilities As of June 30, 2023 As of December 31, 2022 Bilateral Cleared Total Bilateral Cleared Total Derivatives with legal right of offset - Gross recognized amount $ 2,632 $ 178 $ 2,810 $ 2,785 $ 87 $ 2,872 Netting adjustments and cash collateral (2,615) (129) (2,744) (2,775) (87) (2,862) Derivatives with legal right of offset - net 17 49 66 10 — 10 Derivatives without legal right of offset 1 — 1 — — — Derivatives on Condensed Statements of Condition 18 49 67 10 — 10 Less: Noncash collateral received or pledged and can be sold or repledged — 49 49 — — — Noncash collateral received or pledged and cannot be sold or repledged 5 — 5 — — — Net amount $ 13 $ — $ 13 $ 10 $ — $ 10 At June 30, 2023 and December 31, 2022, we had $766 million and $692 million of additional credit exposure due to pledging of noncash collateral to our counterparties, which exceeded our net derivative position for combined cleared and bilateral derivatives. Separately, as of June 30, 2023, we posted an additional $6 million in noncash initial margin collateral held by our custodian for our bilateral derivative transactions. Fair Value Hedges The following table presents our fair value hedging results by the type of hedged item. We had no net gain or loss on hedged firm commitments that no longer qualified as a fair value hedge. Changes in fair value of the derivative and the hedged item attributable to the hedged risk for designated fair value hedges are recorded in net interest income in the same line as the earnings effect of the hedged item. Gains (losses) on derivatives include unrealized changes in fair value, as well as net interest settlements. The line for Other relates to discontinued closed fair value hedges on MPF Loans held for portfolio that are being amortized over the remaining life of the loans. As of June 30, 2023 we did not have any active fair value hedges on our MPF Loans. Three months ended June 30, 2023 Three months ended June 30, 2022 Gain (Loss) on Derivative Gain (Loss) on Hedged Item Amount Recorded in Net Interest Income Gain (Loss) on Derivative Gain (Loss) on Hedged Item Amount Recorded in Net Interest Income Available-for-sale debt securities $ 634 $ (504) $ 130 $ 597 $ (644) $ (47) Advances 493 (319) 174 325 (316) 9 Consolidated obligation bonds (846) 473 (373) (543) 595 52 Other — 1 1 — — — Total $ 281 $ (349) $ (68) $ 379 $ (365) $ 14 Six months ended June 30, 2023 Six months ended June 30, 2022 Gain (Loss) on Derivative Gain (Loss) on Hedged Item Amount Recorded in Net Interest Income Gain (Loss) on Derivative Gain (Loss) on Hedged Item Amount Recorded in Net Interest Income Available-for-sale debt securities $ 260 $ (28) $ 232 $ 1,472 $ (1,611) $ (139) Advances 326 (13) 313 978 (990) (12) Consolidated obligation bonds (566) (141) (707) (1,818) 1,967 149 Other — 1 1 — — — Total $ 20 $ (181) $ (161) $ 632 $ (634) $ (2) The following table presents the cumulative basis adjustments on hedged items designated as fair value hedges and the related amortized cost of the hedged items. As of June 30, 2023 Amortized cost of hedged asset/liability Basis adjustments active hedges included in amortized cost Basis adjustments discontinued hedges included in amortized cost Total amount of fair value hedging basis adjustments Available-for-sale securities $ 19,373 $ (1,921) $ 223 $ (1,698) Advances 26,023 (1,202) — (1,202) Consolidated obligation bonds 69,693 (2,960) (12) (2,972) Other 195 — 4 4 As of December 31, 2022 Available-for-sale securities $ 16,918 $ (2,016) $ 345 $ (1,671) Advances 19,790 (1,192) 2 (1,190) Consolidated obligation bonds 47,416 (3,102) (12) (3,114) Other 211 — 4 4 Cash Flow Hedges For cash flow hedges, the entire change in the fair value of the hedging instrument is recorded in accumulated other comprehensive income (AOCI) and reclassified into earnings (net interest income) as the hedged item affects earnings. Hedge effectiveness testing is performed to determine whether hedge accounting is qualified. We are exposed to the variability in the total net proceeds received from forecasted zero-coupon discount note issuances, which is attributable to changes in the benchmark interest rate. As a result, we enter into cash flow hedge relationships utilizing derivative agreements to hedge the total net proceeds received from our "rolling" forecasted zero-coupon discount note issuances attributable to changes in the benchmark interest rate. The maximum length of time over which we are hedging this exposure is 7 years. We reclassify amounts in AOCI into our Condensed Statements of Income in the same periods during which the hedged forecasted transaction affects our earnings. We had no discontinued cash flow hedges for the periods presented. There were no deferred net gains (losses) on derivative instruments in AOCI that are expected to be reclassified to earnings during the next twelve months as of June 30, 2023. We are not using the cash flow hedge strategy for new transactions at this time, but may elect to do so in the future. The following table presents our cash flow hedging results by type of hedged item. Additionally, the table indicates where cash flow hedging results are classified in our Condensed Statements of Income . In this regard, the Amount Reclassified from AOCI into Net Interest Income column below includes the following: • The amortization of closed cash flow hedging adjustments, which are reclassified from AOCI into the interest income/expense line item of the respective hedged item type. • The effect of net interest settlements attributable to open derivative hedging instruments, which are initially recorded in AOCI and are reclassified to the interest income/expense line item of the respective hedged item type. Three months ended June 30, 2023 Three months ended June 30, 2022 Gross Amount Initially Recognized in AOCI Amount Reclassified from AOCI into Net Interest Income Gross Amount Initially Recognized in AOCI Amount Reclassified from AOCI into Net Interest Income Discount notes $ 22 $ 11 $ 22 $ (2) Bonds — — — (1) Total $ 22 $ 11 $ 22 $ (3) Six months ended June 30, 2023 Six months ended June 30, 2022 Gross Amount Initially Recognized in AOCI Amount Reclassified from AOCI into Net Interest Income Gross Amount Initially Recognized in AOCI Amount Reclassified from AOCI into Net Interest Income Discount notes $ 14 $ 20 $ 74 $ (6) Bonds — — — (1) Total $ 14 $ 20 $ 74 $ (7) |