XML 72 R46.htm IDEA: XBRL DOCUMENT
v3.25.0.1

SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Consolidation of Variable Interest Entities (Details) - USD ($) $ in Thousands | Dec. 31, 2024 | Dec. 31, 2023
--- | --- | ---
Variable Interest Entity [Line Items] |  |
Loans held for investment in consolidated trusts, at amortized cost | $ 11,183,408 | $ 9,623,119
Debt securities of consolidated trusts held by third parties | 27,520,173 | 26,586,959
Farmer Mac Guaranteed Securities |  |
Variable Interest Entity [Line Items] |  |
Carrying value | 5,514,546 | 5,532,479
Investment securities |  |
Variable Interest Entity [Line Items] |  |
Carrying value | 5,953,014 | 4,918,931
Agricultural Finance |  |
Variable Interest Entity [Line Items] |  |
Borrower remittances | 4,700 | 6,000
Unamortized discount | 113,200 | 87,100
Consolidated VIE | On-balance sheet |  |
Variable Interest Entity [Line Items] |  |
Loans held for investment in consolidated trusts, at amortized cost | 2,038,283 | 1,432,261
Debt securities of consolidated trusts held by third parties | 1,929,628 | 1,351,069
Consolidated VIE | On-balance sheet | Agricultural Finance |  |
Variable Interest Entity [Line Items] |  |
Loans held for investment in consolidated trusts, at amortized cost |  | 1,432,261
Debt securities of consolidated trusts held by third parties |  | 1,351,069
Consolidated VIE | On-balance sheet | Treasury |  |
Variable Interest Entity [Line Items] |  |
Loans held for investment in consolidated trusts, at amortized cost |  | 0
Debt securities of consolidated trusts held by third parties |  | 0
Consolidated VIE | Operating Segments | On-balance sheet | Agricultural Finance |  |
Variable Interest Entity [Line Items] |  |
Loans held for investment in consolidated trusts, at amortized cost | 2,038,283 |
Debt securities of consolidated trusts held by third parties | 1,929,628 |
Consolidated VIE | Corporate, non-segment | On-balance sheet |  |
Variable Interest Entity [Line Items] |  |
Loans held for investment in consolidated trusts, at amortized cost | 0 |
Debt securities of consolidated trusts held by third parties | 0 |
Unconsolidated VIE | On-balance sheet | Farmer Mac Guaranteed Securities |  |
Variable Interest Entity [Line Items] |  |
Carrying value | 59,317 | 46,343
Maximum exposure to loss | 58,985 | 45,952
Unconsolidated VIE | On-balance sheet | Investment securities |  |
Variable Interest Entity [Line Items] |  |
Carrying value | 4,212,258 | 3,676,555
Maximum exposure to loss | 4,547,397 | 3,862,006
Unconsolidated VIE | On-balance sheet | Agricultural Finance | Farmer Mac Guaranteed Securities |  |
Variable Interest Entity [Line Items] |  |
Carrying value |  | 46,343
Maximum exposure to loss |  | 45,952
Unconsolidated VIE | On-balance sheet | Agricultural Finance | Investment securities |  |
Variable Interest Entity [Line Items] |  |
Carrying value |  | 0
Maximum exposure to loss |  | 0
Unconsolidated VIE | On-balance sheet | Treasury | Farmer Mac Guaranteed Securities |  |
Variable Interest Entity [Line Items] |  |
Carrying value |  | 0
Maximum exposure to loss |  | 0
Unconsolidated VIE | On-balance sheet | Treasury | Investment securities |  |
Variable Interest Entity [Line Items] |  |
Carrying value |  | 3,676,555
Maximum exposure to loss |  | 3,862,006
Unconsolidated VIE | Off-balance sheet |  |
Variable Interest Entity [Line Items] |  |
Maximum exposure to loss | 426,310 | 452,602
Unconsolidated VIE | Off-balance sheet | Agricultural Finance |  |
Variable Interest Entity [Line Items] |  |
Maximum exposure to loss |  | 452,602
Unconsolidated VIE | Off-balance sheet | Treasury |  |
Variable Interest Entity [Line Items] |  |
Maximum exposure to loss |  | $ 0
Unconsolidated VIE | Operating Segments | On-balance sheet | Agricultural Finance | Farmer Mac Guaranteed Securities |  |
Variable Interest Entity [Line Items] |  |
Carrying value | 59,317 |
Maximum exposure to loss | 58,985 |
Unconsolidated VIE | Operating Segments | On-balance sheet | Agricultural Finance | Investment securities |  |
Variable Interest Entity [Line Items] |  |
Carrying value | 0 |
Maximum exposure to loss | 0 |
Unconsolidated VIE | Operating Segments | Off-balance sheet | Agricultural Finance |  |
Variable Interest Entity [Line Items] |  |
Maximum exposure to loss | 426,310 |
Unconsolidated VIE | Corporate, non-segment | On-balance sheet | Farmer Mac Guaranteed Securities |  |
Variable Interest Entity [Line Items] |  |
Carrying value | 0 |
Maximum exposure to loss | 0 |
Unconsolidated VIE | Corporate, non-segment | On-balance sheet | Investment securities |  |
Variable Interest Entity [Line Items] |  |
Carrying value | 4,212,258 |
Maximum exposure to loss | 4,547,397 |
Unconsolidated VIE | Corporate, non-segment | Off-balance sheet |  |
Variable Interest Entity [Line Items] |  |
Maximum exposure to loss | $ 0 |

X
- Definition Amount, after accumulated amortization, of debt discount. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 835 -SubTopic 30 -Name Accounting Standards Codification -Section 45 -Paragraph 1A -Publisher FASB -URI https://asc.fasb.org/1943274/2147482925/835-30-45-1A Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 835 -SubTopic 30 -Name Accounting Standards Codification -Section 45 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482925/835-30-45-2 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 835 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482900/835-30-50-1 Reference 4: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1D -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1D + Details
Name: | us-gaap_DebtInstrumentUnamortizedDiscount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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). + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 326 -SubTopic 30 -Name Accounting Standards Codification -Section 45 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479130/326-30-45-1 + Details
Name: | us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amortized cost excluding accrued interest, before allowance for credit loss, of financing receivable. Excludes net investment in lease. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 45 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479344/326-20-45-1 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 3B -Publisher FASB -URI https://asc.fasb.org/1943274/2147479319/326-20-50-3B Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479319/326-20-50-5 + Details
Name: | us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount, after deduction of unamortized premium (discount) and debt issuance cost, of long-term debt. Excludes lease obligation. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(22)) -SubTopic 10 -Topic 210 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Topic 835 -SubTopic 30 -Name Accounting Standards Codification -Section 55 -Paragraph 8 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482949/835-30-55-8 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 942 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(16)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478546/942-210-S99-1 Reference 4: http://www.xbrl.org/2003/role/exampleRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 69B -Publisher FASB -URI https://asc.fasb.org/1943274/2147481568/470-20-55-69B Reference 5: http://www.xbrl.org/2003/role/exampleRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 69C -Publisher FASB -URI https://asc.fasb.org/1943274/2147481568/470-20-55-69C Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1D -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1D Reference 7: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 944 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(a)(16)(a)(2)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478777/944-210-S99-1 Reference 8: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 4 -Subparagraph (b)(3) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-4 + Details
Name: | us-gaap_LongTermDebt
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of liabilities classified as other. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 942 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(15)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478546/942-210-S99-1 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 944 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(a)(15)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478777/944-210-S99-1 Reference 3: http://www.xbrl.org/2003/role/exampleRef -Topic 946 -SubTopic 830 -Name Accounting Standards Codification -Section 55 -Paragraph 12 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479168/946-830-55-12 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.6-04(12)(b)(2)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479170/946-210-S99-1 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.6-04(12)(b)(3)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479170/946-210-S99-1 Reference 6: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.6-04(12)(b)(1)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479170/946-210-S99-1 Reference 7: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 944 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(a)(17)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478777/944-210-S99-1 + Details
Name: | us-gaap_OtherLiabilities
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The reporting entity's maximum amount of exposure to loss as a result of its involvement with the Variable Interest Entity (VIE). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 810 -SubTopic 10 -Section 50 -Paragraph 6 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481203/810-10-50-6 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 810 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481203/810-10-50-4 + Details
Name: | us-gaap_VariableInterestEntityEntityMaximumLossExposureAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 810 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481203/810-10-50-3 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 810 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 25 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481231/810-10-45-25 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 810 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Subparagraph (bb) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481203/810-10-50-3 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 810 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 25 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481231/810-10-45-25 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Topic 860 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 1A -Subparagraph (b)(1)(i) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481420/860-30-50-1A Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Topic 860 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 1A -Subparagraph (b)(1)(ii) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481420/860-30-50-1A Reference 7: http://www.xbrl.org/2003/role/disclosureRef -Topic 860 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 1A -Subparagraph (b)(2) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481420/860-30-50-1A + Details
Name: | us-gaap_VariableInterestEntityLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_MortgageBackedSecuritiesIssuedByUSGovernmentSponsoredEnterprisesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_DebtSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementBusinessSegmentsAxis=agm_AgriculturalFinanceMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ConsolidatedEntitiesAxis=us-gaap_VariableInterestEntityPrimaryBeneficiaryMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BalanceSheetLocationAxis=agm_OnBalanceSheetMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementBusinessSegmentsAxis=agm_TreasurySegmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ConsolidationItemsAxis=us-gaap_OperatingSegmentsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ConsolidationItemsAxis=us-gaap_CorporateNonSegmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ConsolidatedEntitiesAxis=us-gaap_VariableInterestEntityNotPrimaryBeneficiaryMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BalanceSheetLocationAxis=agm_OffBalanceSheetMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |