XML 36 R25.htm IDEA: XBRL DOCUMENT
v3.24.2.u1

FINANCIAL DERIVATIVES (Tables) | 6 Months Ended
--- | ---
Jun. 30, 2024
Derivative Instruments and Hedging Activities Disclosure [Abstract] |
Schedule of Derivative Instruments in Statement of Financial Position | The following tables summarize information related to Farmer Mac's financial derivatives on a gross basis without giving consideration to master netting arrangements. The table below includes accrued interest on cleared swaps, but excludes $17.8 million and $16.4 million of accrued interest receivable and $5.8 million and $6.5 million of accrued interest payable on uncleared swaps as of June 30, 2024 and December 31, 2023, respectively. The aforementioned accrued interest on uncleared swaps is included within Accrued Interest Receivable and Accrued Interest Payable on the consolidated balance sheets. Table 4.1
| As of June 30, 2024
|  |  | Fair Value |  | Weighted- Average Pay Rate |  | Weighted- Average Receive Rate |  | Weighted- Average Forward Price |  | Weighted- Average Remaining Term (in years)
| Notional Amount |  | Asset |  | (Liability) |  |  |  |
| (dollars in thousands)
Fair value hedges: |  |  |  |  |  |  |  |  |  |  |  |  |
Interest rate swaps: |  |  |  |  |  |  |  |  |  |  |  |  |
Receive fixed non-callable | $ | 8,694,685 |  |  | $ | 728 |  |  | $ | (21,529) |  |  | 5.54% |  | 3.21% |  |  |  | 1.67
Pay fixed non-callable | 9,259,875 |  |  | 31,027 |  |  | (237) |  |  | 2.58% |  | 5.41% |  |  |  | 9.30
Receive fixed callable | 4,229,327 |  |  | 1,257 |  |  | (98,425) |  |  | 5.35% |  | 3.61% |  |  |  | 2.52
Cash flow hedges: |  |  |  |  |  |  |  |  |  |  |  |  |
Interest rate swaps: |  |  |  |  |  |  |  |  |  |  |  |  |
Pay fixed non-callable | 540,000 |  |  | 21,562 |  |  | (8) |  |  | 1.92% |  | 5.79% |  |  |  | 3.93
No hedge designation: |  |  |  |  |  |  |  |  |  |  |  |  |
Interest rate swaps: |  |  |  |  |  |  |  |  |  |  |  |  |
Pay fixed non-callable | 157,933 |  |  | 1,115 |  |  | (4) |  |  | 2.92% |  | 5.59% |  |  |  | 3.91
Receive fixed non-callable | 1,974,899 |  |  | 117 |  |  | (1) |  |  | 5.36% |  | 5.12% |  |  |  | 0.29
Basis swaps | 685,384 |  |  | 38 |  |  | (534) |  |  | 5.52% |  | 5.49% |  |  |  | 4.15
Treasury futures | 26,900 |  |  | 163 |  |  | (4) |  |  |  |  |  |  | 110.58 |  |
Netting adjustments(1) | — |  |  | (2,321) |  |  | 2,321 |  |  |  |  |  |  |  |  |
Total financial derivatives | $ | 25,569,003 |  |  | $ | 53,686 |  |  | $ | (118,421) |  |  |  |  |  |  |  |  |
(1)Amounts represent the application of the netting requirements that allow Farmer Mac to settle positive and negative positions, including accrued interest, held or placed with the same clearing agent.
| As of December 31, 2023
|  |  | Fair Value |  | Weighted- Average Pay Rate |  | Weighted- Average Receive Rate |  | Weighted- Average Forward Price |  | Weighted- Average Remaining Term (in years)
| Notional Amount |  | Asset |  | (Liability) |  |  |  |
| (dollars in thousands)
Fair value hedges: |  |  |  |  |  |  |  |  |  |  |  |  |
Interest rate swaps: |  |  |  |  |  |  |  |  |  |  |  |  |
Receive fixed non-callable | $ | 9,776,685 |  |  | $ | 2,350 |  |  | $ | (20,390) |  |  | 5.57% |  | 2.94% |  |  |  | 1.78
Pay fixed non-callable | 9,174,253 |  |  | 7,767 |  |  | (1,081) |  |  | 2.50% |  | 5.47% |  |  |  | 9.57
Receive fixed callable | 3,879,827 |  |  | 7,374 |  |  | (95,984) |  |  | 5.40% |  | 3.40% |  |  |  | 2.48
Cash flow hedges: |  |  |  |  |  |  |  |  |  |  |  |  |
Interest rate swaps: |  |  |  |  |  |  |  |  |  |  |  |  |
Pay fixed non-callable | 558,000 |  |  | 20,234 |  |  | (43) |  |  | 1.94% |  | 5.82% |  |  |  | 4.30
No hedge designation: |  |  |  |  |  |  |  |  |  |  |  |  |
Interest rate swaps: |  |  |  |  |  |  |  |  |  |  |  |  |
Pay fixed non-callable | 160,623 |  |  | 676 |  |  | (29) |  |  | 2.92% |  | 5.64% |  |  |  | 4.34
Receive fixed non-callable | 1,358,396 |  |  | 263 |  |  | (3) |  |  | 5.44% |  | 4.87% |  |  |  | 0.64
Basis swaps | 850,384 |  |  | 39 |  |  | (746) |  |  | 5.52% |  | 5.48% |  |  |  | 3.83
Treasury futures | 21,300 |  |  | 11 |  |  | (91) |  |  |  |  |  |  | 112.51 |  |  |
Netting adjustments(1) | — |  |  | (1,236) |  |  | 1,236 |  |  |  |  |  |  |  |  |
Total financial derivatives | $ | 25,779,468 |  |  | $ | 37,478 |  |  | $ | (117,131) |  |  |  |  |  |  |  |  |
(1)Amounts represent the application of the netting requirements that allow Farmer Mac to settle positive and negative positions, including accrued interest, held or placed with the same clearing agent.
Schedule of Net Income/(Expense) Recognized | The following tables summarize the net income/(expense) recognized in the consolidated statements of operations related to derivatives for the three and six months ended June 30, 2024 and 2023: Table 4.2
| For the Three Months Ended June 30, 2024
| Net Income/(Expense) Recognized in Consolidated Statement of Operations on Derivatives
| Net Interest Income |  | Non-Interest Income |  | Total
| Interest Income Investments and Cash Equivalents |  | Interest Income Farmer Mac Guaranteed Securities and USDA Securities |  | Interest Income Loans |  | Total Interest Expense |  | Losses on financial derivatives |
| (in thousands)
Total amounts presented in the consolidated statement of operations | $ | 84,538 |  |  | $ | 166,063 |  |  | $ | 153,105 |  |  | $ | (316,366) |  |  | $ | (1,799) |  |  | $ | 85,541 |
Income/(expense) related to interest settlements on fair value hedging relationships: |  |  |  |  |  |  |  |  |  |  |
Recognized on derivatives | 10,408 |  |  | 39,134 |  |  | 17,827 |  |  | (76,659) |  |  | — |  |  | (9,290) |
Recognized on hedged items | 10,309 |  |  | 52,651 |  |  | 16,705 |  |  | (107,290) |  |  | — |  |  | (27,625) |
Premium/discount amortization recognized on hedged items | 487 |  |  | — |  |  | — |  |  | (721) |  |  | — |  |  | (234) |
Income/(expense) related to interest settlements on fair value hedging relationships | $ | 21,204 |  |  | $ | 91,785 |  |  | $ | 34,532 |  |  | $ | (184,670) |  |  | $ | — |  |  | $ | (37,149) |
Gains/(losses) on fair value hedging relationships: |  |  |  |  |  |  |  |  |  |  |
Recognized on derivatives | $ | 3,460 |  |  | $ | 6,926 |  |  | $ | 13,188 |  |  | $ | 30,872 |  |  | $ | — |  |  | $ | 54,446 |
Recognized on hedged items | (3,361) |  |  | (6,508) |  |  | (12,112) |  |  | (29,861) |  |  | — |  |  | (51,842) |
Gains/(losses) on fair value hedging relationships | $ | 99 |  |  | $ | 418 |  |  | $ | 1,076 |  |  | $ | 1,011 |  |  | $ | — |  |  | $ | 2,604 |
Expense related to interest settlements on cash flow hedging relationships: |  |  |  |  |  |  |  |  |  |  |
Interest settlements reclassified from AOCI into net income on derivatives | $ | — |  |  | $ | — |  |  | $ | — |  |  | $ | 5,393 |  |  | $ | — |  |  | $ | 5,393 |
Recognized on hedged items | — |  |  | — |  |  | — |  |  | (8,014) |  |  | — |  |  | (8,014) |
Discount amortization recognized on hedged items | — |  |  | — |  |  | — |  |  | (14) |  |  | — |  |  | (14) |
Expense recognized on cash flow hedges | $ | — |  |  | $ | — |  |  | $ | — |  |  | $ | (2,635) |  |  | $ | — |  |  | $ | (2,635) |
Losses on financial derivatives not designated in hedging relationships: |  |  |  |  |  |  |  |  |  |  |
Losses on interest rate swaps | $ | — |  |  | $ | — |  |  | $ | — |  |  | $ | — |  |  | $ | (26) |  |  | $ | (26) |
Interest expense on interest rate swaps | — |  |  | — |  |  | — |  |  | — |  |  | (486) |  |  | (486) |
Treasury futures | — |  |  | — |  |  | — |  |  | — |  |  | (1,287) |  |  | (1,287) |
Losses on financial derivatives not designated in hedge relationships | $ | — |  |  | $ | — |  |  | $ | — |  |  | $ | — |  |  | $ | (1,799) |  |  | $ | (1,799) |
| For the Three Months Ended June 30, 2023
| Net Income/(Expense) Recognized in Consolidated Statement of Operations on Derivatives
| Net Interest Income |  | Non-Interest Income |  | Total
| Interest Income Investments and Cash Equivalents |  | Interest Income Farmer Mac Guaranteed Securities and USDA Securities |  | Interest Income Loans |  | Total Interest Expense |  | Gains on financial derivatives |
| (in thousands)
Total amounts presented in the consolidated statement of operations: | $ | 69,779 |  |  | $ | 144,761 |  |  | $ | 129,292 |  |  | $ | (265,155) |  |  | $ | 1,693 |  |  | $ | 80,370 |
Income/(expense) related to interest settlements on fair value hedging relationships: |  |  |  |  |  |  |  |  |  |  |
Recognized on derivatives | 8,452 |  |  | 34,999 |  |  | 15,754 |  |  | (88,228) |  |  | — |  |  | (29,023) |
Recognized on hedged items | 7,898 |  |  | 45,722 |  |  | 15,848 |  |  | (80,552) |  |  | — |  |  | (11,084) |
Premium/discount amortization recognized on hedged items | 508 |  |  | — |  |  | — |  |  | (713) |  |  | — |  |  | (205) |
Income/(expense) related to interest settlements on fair value hedging relationships | $ | 16,858 |  |  | $ | 80,721 |  |  | $ | 31,602 |  |  | $ | (169,493) |  |  | $ | — |  |  | $ | (40,312) |
(Losses)/gains on fair value hedging relationships: |  |  |  |  |  |  |  |  |  |  |
Recognized on derivatives | $ | 30,824 |  |  | $ | 100,862 |  |  | $ | 46,762 |  |  | $ | (81,098) |  |  | $ | — |  |  | $ | 97,350 |
Recognized on hedged items | (31,969) |  |  | (101,921) |  |  | (49,381) |  |  | 81,020 |  |  | — |  |  | (102,251) |
(Losses)/gains on fair value hedging relationships | $ | (1,145) |  |  | $ | (1,059) |  |  | $ | (2,619) |  |  | $ | (78) |  |  | $ | — |  |  | $ | (4,901) |
Expense related to interest settlements on cash flow hedging relationships: |  |  |  |  |  |  |  |  |  |  |
Interest settlements reclassified from AOCI into net income on derivatives | $ | — |  |  | $ | — |  |  | $ | — |  |  | $ | 5,091 |  |  | $ | — |  |  | $ | 5,091 |
Recognized on hedged items | — |  |  | — |  |  | — |  |  | (7,848) |  |  | — |  |  | (7,848) |
Discount amortization recognized on hedged items | — |  |  | — |  |  | — |  |  | (14) |  |  | — |  |  | (14) |
Expense recognized on cash flow hedges | $ | — |  |  | $ | — |  |  | $ | — |  |  | $ | (2,771) |  |  | $ | — |  |  | $ | (2,771) |
Gains on financial derivatives not designated in hedge relationships: |  |  |  |  |  |  |  |  |  |  |
Gains on interest rate swaps | $ | — |  |  | $ | — |  |  | $ | — |  |  | $ | — |  |  | $ | 2,458 |  |  | $ | 2,458 |
Interest expense on interest rate swaps | — |  |  | — |  |  | — |  |  | — |  |  | (1,568) |  |  | (1,568) |
Treasury futures | — |  |  | — |  |  | — |  |  | — |  |  | 803 |  |  | 803 |
Gains on financial derivatives not designated in hedge relationships | $ | — |  |  | $ | — |  |  | $ | — |  |  | $ | — |  |  | $ | 1,693 |  |  | $ | 1,693 |
| For the Six Months Ended June 30, 2024
| Net Income/(Expense) Recognized in Consolidated Statement of Operations on Derivatives
| Net Interest Income |  | Non-Interest Income |  | Total
| Interest Income Investments and Cash Equivalents |  | Interest Income Farmer Mac Guaranteed Securities and USDA Securities |  | Interest Income Loans |  | Total Interest Expense |  | Gains on financial derivatives |
| (in thousands)
Total amounts presented in the consolidated statement of operations | $ | 169,462 |  |  | $ | 332,876 |  |  | $ | 297,685 |  |  | $ | (626,315) |  |  | $ | 280 |  |  | $ | 173,988 |
Income/(expense) related to interest settlements on fair value hedging relationships: |  |  |  |  |  |  |  |  |  |  |
Recognized on derivatives | 20,705 |  |  | 79,467 |  |  | 35,676 |  |  | (160,210) |  |  | — |  |  | (24,362) |
Recognized on hedged items | 20,257 |  |  | 104,356 |  |  | 33,302 |  |  | (213,723) |  |  | — |  |  | (55,808) |
Premium/discount amortization recognized on hedged items | 933 |  |  | — |  |  | — |  |  | (1,468) |  |  | — |  |  | (535) |
Income/(expense) related to interest settlements on fair value hedging relationships | $ | 41,895 |  |  | $ | 183,823 |  |  | $ | 68,978 |  |  | $ | (375,401) |  |  | $ | — |  |  | $ | (80,705) |
Gains/(losses) on fair value hedging relationships: |  |  |  |  |  |  |  |  |  |  |
Recognized on derivatives | $ | 31,250 |  |  | $ | 88,512 |  |  | $ | 61,368 |  |  | $ | (23,846) |  |  | $ | — |  |  | $ | 157,284 |
Recognized on hedged items | (30,882) |  |  | (87,251) |  |  | (59,173) |  |  | 25,628 |  |  | — |  |  | (151,678) |
Gains/(losses) on fair value hedging relationships | $ | 368 |  |  | $ | 1,261 |  |  | $ | 2,195 |  |  | $ | 1,782 |  |  | $ | — |  |  | $ | 5,606 |
Expense related to interest settlements on cash flow hedging relationships: |  |  |  |  |  |  |  |  |  |  |
Interest settlements reclassified from AOCI into net income on derivatives | $ | — |  |  | $ | — |  |  | $ | — |  |  | $ | 10,824 |  |  | $ | — |  |  | $ | 10,824 |
Recognized on hedged items | — |  |  | — |  |  | — |  |  | (16,105) |  |  | — |  |  | (16,105) |
Discount amortization recognized on hedged items | — |  |  | — |  |  | — |  |  | (27) |  |  | — |  |  | (27) |
Expense recognized on cash flow hedges | $ | — |  |  | $ | — |  |  | $ | — |  |  | $ | (5,308) |  |  | $ | — |  |  | $ | (5,308) |
Gains on financial derivatives not designated in hedging relationships: |  |  |  |  |  |  |  |  |  |  |
Gains on interest rate swaps | $ | — |  |  | $ | — |  |  | $ | — |  |  | $ | — |  |  | $ | 729 |  |  | $ | 729 |
Interest expense on interest rate swaps | — |  |  | — |  |  | — |  |  | — |  |  | (521) |  |  | (521) |
Treasury futures | — |  |  | — |  |  | — |  |  | — |  |  | 72 |  |  | 72 |
Gains on financial derivatives not designated in hedge relationships | $ | — |  |  | $ | — |  |  | $ | — |  |  | $ | — |  |  | $ | 280 |  |  | $ | 280 |
| For the Six Months Ended June 30, 2023
| Net Income/(Expense) Recognized in Consolidated Statement of Operations on Derivatives
| Net Interest Income |  | Non-Interest Income |  | Total
| Interest Income Investments and Cash Equivalents |  | Interest Income Farmer Mac Guaranteed Securities and USDA Securities |  | Interest Income Loans |  | Total Interest Expense |  | Gains on financial derivatives |
| (in thousands)
Total amounts presented in the consolidated statement of operations: | $ | 129,482 |  |  | $ | 281,298 |  |  | $ | 248,324 |  |  | $ | (501,369) |  |  | $ | 2,092 |  |  | $ | 159,827 |
Income/(expense) related to interest settlements on fair value hedging relationships: |  |  |  |  |  |  |  |  |  |  |
Recognized on derivatives | 15,001 |  |  | 63,909 |  |  | 28,933 |  |  | (165,695) |  |  | — |  |  | (57,852) |
Recognized on hedged items | 14,859 |  |  | 87,693 |  |  | 31,056 |  |  | (151,527) |  |  | — |  |  | (17,919) |
Premium/discount amortization recognized on hedged items | 776 |  |  | — |  |  | — |  |  | (1,404) |  |  | — |  |  | (628) |
Income/(expense) related to interest settlements on fair value hedging relationships | $ | 30,636 |  |  | $ | 151,602 |  |  | $ | 59,989 |  |  | $ | (318,626) |  |  | $ | — |  |  | $ | (76,399) |
(Losses)/gains on fair value hedging relationships: |  |  |  |  |  |  |  |  |  |  |
Recognized on derivatives | $ | 3,671 |  |  | $ | 7,070 |  |  | $ | (9,919) |  |  | $ | 41,441 |  |  | $ | — |  |  | $ | 42,263 |
Recognized on hedged items | (4,541) |  |  | (8,625) |  |  | 7,576 |  |  | (41,679) |  |  | — |  |  | (47,269) |
(Losses)/gains on fair value hedging relationships | $ | (870) |  |  | $ | (1,555) |  |  | $ | (2,343) |  |  | $ | (238) |  |  | $ | — |  |  | $ | (5,006) |
Expense related to interest settlements on cash flow hedging relationships: |  |  |  |  |  |  |  |  |  |  |
Interest settlements reclassified from AOCI into net income on derivatives | $ | — |  |  | $ | — |  |  | $ | — |  |  | $ | 9,482 |  |  | $ | — |  |  | $ | 9,482 |
Recognized on hedged items | — |  |  | — |  |  | — |  |  | (15,038) |  |  | — |  |  | (15,038) |
Discount amortization recognized on hedged items | — |  |  | — |  |  | — |  |  | (27) |  |  | — |  |  | (27) |
Expense recognized on cash flow hedges | $ | — |  |  | $ | — |  |  | $ | — |  |  | $ | (5,583) |  |  | $ | — |  |  | $ | (5,583) |
Gains on financial derivatives not designated in hedge relationships: |  |  |  |  |  |  |  |  |  |  |
Gains on interest rate swaps | $ | — |  |  | $ | — |  |  | $ | — |  |  | $ | — |  |  | $ | 2,490 |  |  | $ | 2,490 |
Interest expense on interest rate swaps | — |  |  | — |  |  | — |  |  | — |  |  | (3,193) |  |  | (3,193) |
Treasury futures | — |  |  | — |  |  | — |  |  | — |  |  | 2,795 |  |  | 2,795 |
Gains on financial derivatives not designated in hedge relationships | $ | — |  |  | $ | — |  |  | $ | — |  |  | $ | — |  |  | $ | 2,092 |  |  | $ | 2,092 |
Schedule of Hedged Items in Fair Value Hedging Relationships | The following table shows the carrying amount and associated cumulative basis adjustment related to the application of hedge accounting that is included in the carrying amount of hedged assets and liabilities in fair value hedging relationships as of June 30, 2024 and December 31, 2023: Table 4.3
| Hedged Items in Fair Value Relationship
| Carrying Amount of Hedged Assets/(Liabilities) |  | Cumulative Amount of Fair Value Hedging Adjustments included in the Carrying Amount of the Hedged Assets/(Liabilities)
| June 30, 2024 |  | December 31, 2023 |  | June 30, 2024 |  | December 31, 2023
| (in thousands)
Investment securities, Available-for-Sale, at fair value | $ | 1,314,961 |  |  | $ | 1,251,386 |  |  | $ | (119,517) |  |  | $ | (88,635) |
Farmer Mac Guaranteed Securities, Available-for-Sale, at fair value | 5,365,415 |  |  | 5,497,948 |  |  | (344,687) |  |  | (257,436) |
Loans held for investment, at amortized cost | 1,661,526 |  |  | 1,699,361 |  |  | (364,765) |  |  | (305,592) |
Notes Payable(1) | (12,594,579) |  |  | (13,350,111) |  |  | 276,046 |  |  | 250,418 |
(1)Carrying amount represents amortized cost.
Offsetting Assets | The following tables present the fair value of financial assets and liabilities, based on the terms of Farmer Mac's master netting arrangements as of June 30, 2024 and December 31, 2023: Table 4.4
| June 30, 2024
| Gross Amount Recognized |  | Gross Amounts offset in the Consolidated Balance Sheet |  | Net Amount Presented in the Consolidated Balance Sheet(1) |  | Gross Amounts Not Offset in the Consolidated Balance Sheet
|  |  |  | Netting Adjustments |  | Financial instruments pledged |  | Cash Collateral(2) |  | Net Amount(3)
| (in thousands)
Assets: |  |  |  |  |  |  |  |  |  |  |  |  |
Uncleared derivatives | $ | 22,257 |  |  | $ | — |  |  | $ | 22,257 |  |  | $ | (22,094) |  |  | $ | — |  |  | $ | — |  |  | $ | 163 |
Cleared derivatives | 32,676 |  |  | (2,321) |  |  | 30,355 |  |  | — |  |  | — |  |  | — |  |  | 30,355 |
Total | $ | 54,933 |  |  | $ | (2,321) |  |  | $ | 52,612 |  |  | $ | (22,094) |  |  | $ | — |  |  | $ | — |  |  | $ | 30,518 |
Liabilities: |  |  |  |  |  |  |  |  |  |  |  |  |
Uncleared derivatives | $ | (97,499) |  |  | $ | — |  |  | $ | (97,499) |  |  | $ | 22,094 |  |  | $ | — |  |  | $ | 67,151 |  |  | $ | (8,254) |
Cleared derivatives | (2,321) |  |  | 2,321 |  |  | — |  |  | — |  |  | — |  |  | — |  |  | — |
Total | $ | (99,820) |  |  | $ | 2,321 |  |  | $ | (97,499) |  |  | $ | 22,094 |  |  | $ | — |  |  | $ | 67,151 |  |  | $ | (8,254) |
(1)Amounts presented may not agree to the consolidated balance sheet related to counterparties not subject to master netting agreements. (2)Cash collateral excludes $15.8 million of collateral posted and $0.0 million of collateral received related to counterparties not subject to master netting agreements. (3)Any over-collateralization at an individual clearing agent and/or counterparty level is not included in the determination of the net amount. As of June 30, 2024, Farmer Mac had additional net exposure of $176.8 million due to instances where Farmer Mac's collateral to a counterparty exceeded the net derivative position.
| December 31, 2023
| Gross Amount Recognized |  | Gross Amounts offset in the Consolidated Balance Sheet |  | Net Amount Presented in the Consolidated Balance Sheet(1) |  | Gross Amounts Not Offset in the Consolidated Balance Sheet
|  |  |  | Netting Adjustments |  | Financial instruments pledged |  | Cash Collateral(2) |  | Net Amount(3)
| (in thousands)
Assets: |  |  |  |  |  |  |  |  |  |  |  |  |
Uncleared derivatives | $ | 25,751 |  |  | $ | — |  |  | $ | 25,751 |  |  | $ | (25,727) |  |  | $ | — |  |  | $ | — |  |  | $ | 24 |
Cleared derivatives | 10,388 |  |  | (1,236) |  |  | 9,152 |  |  | — |  |  | — |  |  | — |  |  | 9,152 |
Total | $ | 36,139 |  |  | $ | (1,236) |  |  | $ | 34,903 |  |  | $ | (25,727) |  |  | $ | — |  |  | $ | — |  |  | $ | 9,176 |
Liabilities: |  |  |  |  |  |  |  |  |  |  |  |  |
Uncleared derivatives | $ | (100,114) |  |  | $ | — |  |  | $ | (100,114) |  |  | $ | 25,727 |  |  | $ | — |  |  | $ | 69,360 |  |  | $ | (5,027) |
Cleared derivatives | (1,236) |  |  | 1,236 |  |  | — |  |  | — |  |  | — |  |  | — |  |  | — |
Total | $ | (101,350) |  |  | $ | 1,236 |  |  | $ | (100,114) |  |  | $ | 25,727 |  |  | $ | — |  |  | $ | 69,360 |  |  | $ | (5,027) |
(1)Amounts presented may not agree to the consolidated balance sheet related to counterparties not subject to master netting agreements. (2)Cash collateral excludes $15.2 million of collateral posted and $2.0 million of collateral received related to counterparties not subject to master netting agreements. (3)Any over-collateralization at an individual clearing agent and/or counterparty level is not included in the determination of the net amount. As of December 31, 2023, Farmer Mac had additional net exposure of $207.2 million due to instances where Farmer Mac's collateral to a counterparty exceeded the net derivative position.
Offsetting Liabilities | The following tables present the fair value of financial assets and liabilities, based on the terms of Farmer Mac's master netting arrangements as of June 30, 2024 and December 31, 2023: Table 4.4
| June 30, 2024
| Gross Amount Recognized |  | Gross Amounts offset in the Consolidated Balance Sheet |  | Net Amount Presented in the Consolidated Balance Sheet(1) |  | Gross Amounts Not Offset in the Consolidated Balance Sheet
|  |  |  | Netting Adjustments |  | Financial instruments pledged |  | Cash Collateral(2) |  | Net Amount(3)
| (in thousands)
Assets: |  |  |  |  |  |  |  |  |  |  |  |  |
Uncleared derivatives | $ | 22,257 |  |  | $ | — |  |  | $ | 22,257 |  |  | $ | (22,094) |  |  | $ | — |  |  | $ | — |  |  | $ | 163 |
Cleared derivatives | 32,676 |  |  | (2,321) |  |  | 30,355 |  |  | — |  |  | — |  |  | — |  |  | 30,355 |
Total | $ | 54,933 |  |  | $ | (2,321) |  |  | $ | 52,612 |  |  | $ | (22,094) |  |  | $ | — |  |  | $ | — |  |  | $ | 30,518 |
Liabilities: |  |  |  |  |  |  |  |  |  |  |  |  |
Uncleared derivatives | $ | (97,499) |  |  | $ | — |  |  | $ | (97,499) |  |  | $ | 22,094 |  |  | $ | — |  |  | $ | 67,151 |  |  | $ | (8,254) |
Cleared derivatives | (2,321) |  |  | 2,321 |  |  | — |  |  | — |  |  | — |  |  | — |  |  | — |
Total | $ | (99,820) |  |  | $ | 2,321 |  |  | $ | (97,499) |  |  | $ | 22,094 |  |  | $ | — |  |  | $ | 67,151 |  |  | $ | (8,254) |
(1)Amounts presented may not agree to the consolidated balance sheet related to counterparties not subject to master netting agreements. (2)Cash collateral excludes $15.8 million of collateral posted and $0.0 million of collateral received related to counterparties not subject to master netting agreements. (3)Any over-collateralization at an individual clearing agent and/or counterparty level is not included in the determination of the net amount. As of June 30, 2024, Farmer Mac had additional net exposure of $176.8 million due to instances where Farmer Mac's collateral to a counterparty exceeded the net derivative position.
| December 31, 2023
| Gross Amount Recognized |  | Gross Amounts offset in the Consolidated Balance Sheet |  | Net Amount Presented in the Consolidated Balance Sheet(1) |  | Gross Amounts Not Offset in the Consolidated Balance Sheet
|  |  |  | Netting Adjustments |  | Financial instruments pledged |  | Cash Collateral(2) |  | Net Amount(3)
| (in thousands)
Assets: |  |  |  |  |  |  |  |  |  |  |  |  |
Uncleared derivatives | $ | 25,751 |  |  | $ | — |  |  | $ | 25,751 |  |  | $ | (25,727) |  |  | $ | — |  |  | $ | — |  |  | $ | 24 |
Cleared derivatives | 10,388 |  |  | (1,236) |  |  | 9,152 |  |  | — |  |  | — |  |  | — |  |  | 9,152 |
Total | $ | 36,139 |  |  | $ | (1,236) |  |  | $ | 34,903 |  |  | $ | (25,727) |  |  | $ | — |  |  | $ | — |  |  | $ | 9,176 |
Liabilities: |  |  |  |  |  |  |  |  |  |  |  |  |
Uncleared derivatives | $ | (100,114) |  |  | $ | — |  |  | $ | (100,114) |  |  | $ | 25,727 |  |  | $ | — |  |  | $ | 69,360 |  |  | $ | (5,027) |
Cleared derivatives | (1,236) |  |  | 1,236 |  |  | — |  |  | — |  |  | — |  |  | — |  |  | — |
Total | $ | (101,350) |  |  | $ | 1,236 |  |  | $ | (100,114) |  |  | $ | 25,727 |  |  | $ | — |  |  | $ | 69,360 |  |  | $ | (5,027) |
(1)Amounts presented may not agree to the consolidated balance sheet related to counterparties not subject to master netting agreements. (2)Cash collateral excludes $15.2 million of collateral posted and $2.0 million of collateral received related to counterparties not subject to master netting agreements. (3)Any over-collateralization at an individual clearing agent and/or counterparty level is not included in the determination of the net amount. As of December 31, 2023, Farmer Mac had additional net exposure of $207.2 million due to instances where Farmer Mac's collateral to a counterparty exceeded the net derivative position.

X
- Definition Hedged Items in Fair Value Hedging Relationships [Table Text Block] + References No definition available. + Details
Name: | agm_HedgedItemsInFairValueHedgingRelationshipsTableTextBlock
Namespace Prefix: | agm_
Data Type: | dtr-types1:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- References No definition available. + Details
Name: | us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of derivative and other financial assets that are subject to offsetting, including master netting arrangements. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 210 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 4 -Publisher FASB -URI https://asc.fasb.org/1943274/2147483466/210-20-50-4 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Publisher FASB -URI https://asc.fasb.org/1943274/2147483466/210-20-50-3 + Details
Name: | us-gaap_OffsettingAssetsTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of derivative and other financial liabilities that are subject to offsetting, including master netting arrangements. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 210 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 4 -Publisher FASB -URI https://asc.fasb.org/1943274/2147483466/210-20-50-4 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Publisher FASB -URI https://asc.fasb.org/1943274/2147483466/210-20-50-3 + Details
Name: | us-gaap_OffsettingLiabilitiesTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of pertinent information about a derivative or group of derivatives on a disaggregated basis, such as for individual instruments, or small groups of similar instruments. May include a combination of the type of instrument, risks being hedged, notional amount, hedge designation, related hedged item, inception date, maturity date, or other relevant item. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section 50 -Paragraph 2 -SubTopic 10 -Topic 815 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-2 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 1A -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-1A Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 1B -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-1B Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 8 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-8 Reference 5: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 4B -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-4B Reference 6: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-1 Reference 7: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 4 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-4 Reference 8: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 5 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-5 Reference 9: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 4C -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-4C + Details
Name: | us-gaap_ScheduleOfDerivativeInstrumentsTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of derivative instruments (including nonderivative instruments that are designated and qualify as hedging instruments) of (a) the location and amount of gains and losses reported in the statement of financial performance and (b) the location and fair value amounts of the instruments reported in the statement of financial position. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 4A -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-4A + Details
Name: | us-gaap_ScheduleOfDerivativesInstrumentsStatementsOfFinancialPerformanceAndFinancialPositionLocationTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration