XML 128 R93.htm IDEA: XBRL DOCUMENT
v3.24.0.1

FAIR VALUE DISCLOSURES - Schedule of Unobservable Input Reconciliation (Details) - USD ($) $ in Thousands |  | 12 Months Ended
--- | --- | ---
Jul. 01, 2023 | Dec. 31, 2023 | Dec. 31, 2022 | Dec. 31, 2021
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward] |  |  |  |
Fair Value, Asset, Recurring Basis, Unobservable Input Reconciliation, Gain (Loss), Statement of Income or Comprehensive Income [Extensible Enumeration] |  | Net Income | Net Income | Net Income
Fair Value, Asset, Recurring Basis, Unobservable Input Reconciliation, Asset, Gain (Loss), Statement of Other Comprehensive Income or Comprehensive Income [Extensible Enumeration] |  | Comprehensive Income (Loss), Net of Tax, Attributable to Parent | Comprehensive Income (Loss), Net of Tax, Attributable to Parent | Comprehensive Income (Loss), Net of Tax, Attributable to Parent
Level 3 | Recurring |  |  |  |
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward] |  |  |  |
Beginning Balance |  | $ 7,632,487 | $ 6,358,451 | $ 6,973,567
Purchases |  | 2,084,650 | 3,411,665 | 1,161,912
Settlements |  | (1,563,860) | (1,531,464) | (1,617,039)
Allowance for Losses |  | 236 | (264) | 31
Realized and unrealized (losses)/gains included in Income |  | 91,607 | (553,825) | (176,180)
Unrealized gains included in Other Comprehensive Income |  | (2,391) | (52,076) | 16,160
Transfers Out |  | (2,684,096) |  |
Ending Balance |  | 5,558,633 | 7,632,487 | 6,358,451
Available-for-sale securities | Level 3 | Recurring |  |  |  |
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward] |  |  |  |
Beginning Balance |  | 19,027 | 19,254 | 19,171
Purchases |  | 0 | 0 | 0
Settlements |  | 0 | 0 | 0
Allowance for Losses |  | 6 | 19 | (16)
Realized and unrealized (losses)/gains included in Income |  | 0 | 0 | 0
Unrealized gains included in Other Comprehensive Income |  | 49 | (246) | 99
Transfers Out |  | 0 |  |
Ending Balance |  | 19,082 | 19,027 | 19,254
Floating rate auction-rate certificates backed by Government guaranteed student loans | Floating interest rate | Level 3 | Recurring |  |  |  |
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward] |  |  |  |
Beginning Balance |  | 19,027 | 19,254 | 19,171
Purchases |  | 0 | 0 | 0
Settlements |  | 0 | 0 | 0
Allowance for Losses |  | 6 | 19 | (16)
Realized and unrealized (losses)/gains included in Income |  | 0 | 0 | 0
Unrealized gains included in Other Comprehensive Income |  | 49 | (246) | 99
Transfers Out |  | 0 |  |
Ending Balance |  | 19,082 | 19,027 | 19,254
Farmer Mac Guaranteed Securities | Level 3 | Recurring |  |  |  |
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward] |  |  |  |
Beginning Balance |  | 7,607,226 | 6,328,559 | 6,947,701
Purchases |  | 2,084,650 | 3,411,665 | 1,155,675
Settlements |  | (1,562,720) | (1,527,978) | (1,614,861)
Allowance for Losses |  | 230 | (283) | 47
Realized and unrealized (losses)/gains included in Income |  | 89,629 | (552,907) | (176,064)
Unrealized gains included in Other Comprehensive Income |  | (2,440) | (51,830) | 16,061
Transfers Out |  | (2,684,096) |  |
Ending Balance |  | 5,532,479 | 7,607,226 | 6,328,559
Farmer Mac Guaranteed Securities | Level 3 | Recurring | AgVantage Securities |  |  |  |
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward] |  |  |  |
Beginning Balance |  | 7,599,379 | 6,316,145 | 6,947,701
Purchases |  | 2,084,650 | 3,411,665 | 1,143,115
Settlements |  | (1,561,507) | (1,526,303) | (1,614,598)
Allowance for Losses |  | 230 | (283) | 47
Realized and unrealized (losses)/gains included in Income |  | 89,629 | (552,907) | (176,064)
Unrealized gains included in Other Comprehensive Income |  | (5,573) | (48,938) | 15,944
Transfers Out | $ (2,700,000) | (2,684,096) |  |
Ending Balance |  | 5,522,712 | 7,599,379 | 6,316,145
Farmer Mac Guaranteed Securities | Level 3 | Recurring | Farmer Mac Guaranteed USDA Securities |  |  |  |
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward] |  |  |  |
Beginning Balance |  | 7,847 | 12,414 | 0
Purchases |  | 0 | 0 | 12,560
Settlements |  | (1,213) | (1,675) | (263)
Allowance for Losses |  | 0 | 0 | 0
Realized and unrealized (losses)/gains included in Income |  | 0 | 0 | 0
Unrealized gains included in Other Comprehensive Income |  | 3,133 | (2,892) | 117
Transfers Out |  | 0 |  |
Ending Balance |  | 9,767 | 7,847 | 12,414
USDA Securities: | Level 3 | Recurring |  |  |  |
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward] |  |  |  |
Beginning Balance |  | 1,767 | 4,401 | 6,695
Purchases |  | 0 | 0 | 0
Settlements |  | (550) | (2,583) | (2,178)
Allowance for Losses |  | 0 | 0 | 0
Realized and unrealized (losses)/gains included in Income |  | 24 | (51) | (116)
Unrealized gains included in Other Comprehensive Income |  | 0 | 0 | 0
Transfers Out |  | 0 |  |
Ending Balance |  | 1,241 | 1,767 | 4,401
Guarantee and commitment obligations: | Level 3 | Recurring |  |  |  |
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward] |  |  |  |
Beginning Balance |  | 4,467 | 6,237 | 0
Purchases |  | 0 | 0 | 6,237
Settlements |  | (590) | (903) | 0
Allowance for Losses |  | 0 | 0 | 0
Realized and unrealized (losses)/gains included in Income |  | 1,954 | (867) | 0
Unrealized gains included in Other Comprehensive Income |  | 0 | 0 | 0
Transfers Out |  | 0 |  |
Ending Balance |  | 5,831 | 4,467 | 6,237
Guarantee and commitment obligations: | Level 3 | Recurring | Guarantee Asset |  |  |  |
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward] |  |  |  |
Beginning Balance |  | 4,467 | 6,237 | 0
Purchases |  | 0 | 0 | 6,237
Settlements |  | (590) | (903) | 0
Allowance for Losses |  | 0 | 0 | 0
Realized and unrealized (losses)/gains included in Income |  | 1,954 | (867) | 0
Unrealized gains included in Other Comprehensive Income |  | 0 | 0 | 0
Transfers Out |  | 0 |  |
Ending Balance |  | $ 5,831 | $ 4,467 | $ 6,237

X
- Definition Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Asset, Allowance for Credit Loss + References No definition available. + Details
Name: | agm_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetAllowanceForCreditLoss
Namespace Prefix: | agm_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period. + References No definition available. + Details
Name: | us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of gain (loss) recognized in income from asset measured at fair value on recurring basis using unobservable input (level 3). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (c)(1) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482106/820-10-50-2 + Details
Name: | us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetGainLossIncludedInEarnings1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of gain (loss) recognized in other comprehensive income (OCI) from asset measured at fair value on recurring basis using unobservable input (level 3). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (c)(1a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482106/820-10-50-2 + Details
Name: | us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetGainLossIncludedInOtherComprehensiveIncomeLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of purchases of financial instrument classified as an asset measured using unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 820 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c)(2) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482106/820-10-50-2 + Details
Name: | us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetPurchases
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of settlement of financial instrument classified as an asset measured using unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 820 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c)(2) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482106/820-10-50-2 + Details
Name: | us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetSettlements
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of transfers of financial instrument classified as an asset out of level 3 of the fair value hierarchy. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (c)(3) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482106/820-10-50-2 + Details
Name: | us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetTransfersOutOfLevel3
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Fair value of financial instrument classified as an asset measured using unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (c) -SubTopic 10 -Topic 820 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482106/820-10-50-2 + Details
Name: | us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Indicates line item in statement in which net income is reported that includes gain (loss) from asset measured at fair value using unobservable input (level 3). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (c)(1) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482106/820-10-50-2 + Details
Name: | us-gaap_FairValueRecurringBasisUnobservableInputReconciliationAssetGainLossStatementOfIncomeExtensibleList
Namespace Prefix: | us-gaap_
Data Type: | enum2:enumerationSetItemType
Balance Type: | na
Period Type: | duration

X
- Definition Indicates line item in statement in which other comprehensive income (OCI) is reported that includes gain (loss) from asset measured at fair value using unobservable input (level 3). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (c)(1a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482106/820-10-50-2 + Details
Name: | us-gaap_FairValueRecurringBasisUnobservableInputReconciliationAssetGainLossStatementOfOtherComprehensiveIncomeExtensibleList
Namespace Prefix: | us-gaap_
Data Type: | enum2:enumerationSetItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_FairValueByFairValueHierarchyLevelAxis=us-gaap_FairValueInputsLevel3Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FairValueByMeasurementFrequencyAxis=us-gaap_FairValueMeasurementsRecurringMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

X
- Details
Name: | us-gaap_FairValueByAssetClassAxis=us-gaap_AuctionRateSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ProductOrServiceAxis=agm_FloatingInterestRateMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FairValueByAssetClassAxis=us-gaap_USGovernmentSponsoredEnterprisesDebtSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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

X
- Details
Name: | us-gaap_FairValueByAssetClassAxis=us-gaap_USGovernmentAgenciesDebtSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FairValueByAssetClassAxis=agm_GuaranteeAndCommitmentObligationsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_GuaranteeObligationsByNatureAxis=agm_GuaranteeAssetMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |