XML 60 R49.htm IDEA: XBRL DOCUMENT
v3.25.2

FINANCIAL DERIVATIVES - Hedged Items in Fair Value Hedging Relationships (Details) - USD ($) $ in Thousands | Jun. 30, 2025 | Dec. 31, 2024
--- | --- | ---
Farmer Mac Guaranteed Securities, Available-for-Sale, at fair value |  |
HedgedItemsinFairValueHedgingRelationship [Line Items] |  |
Carrying Amount of Hedged Assets/(Liabilities) | $ 5,694,675 | $ 5,478,484
Cumulative Amount of Fair Value Hedging Adjustments included in the Carrying Amount of the Hedged Assets | (187,571) | (307,358)
Amortized cost | 5,900,000 | 5,800,000
Investment securities, Available-for-Sale, at fair value |  |
HedgedItemsinFairValueHedgingRelationship [Line Items] |  |
Carrying Amount of Hedged Assets/(Liabilities) | 1,681,016 | 1,477,880
Cumulative Amount of Fair Value Hedging Adjustments included in the Carrying Amount of the Hedged Assets | (63,888) | (117,137)
Amortized cost | 1,800,000 | 1,600,000
Loans held for investment, at amortized cost |  |
HedgedItemsinFairValueHedgingRelationship [Line Items] |  |
Carrying Amount of Hedged Assets/(Liabilities) | 1,981,712 | 1,816,738
Cumulative Amount of Fair Value Hedging Adjustments included in the Carrying Amount of the Hedged Assets | (318,603) | (372,444)
Notes Payable |  |
HedgedItemsinFairValueHedgingRelationship [Line Items] |  |
Carrying Amount of Hedged Assets/(Liabilities) | (11,204,119) | (11,899,049)
Cumulative Amount of Fair Value Hedging Adjustments included in the Carrying Amount of the Hedged Liabilities | $ 33,909 | $ 148,999

X
- Definition [Line Items] for HedgedItemsinFairValueHedgingRelationship [Table] + References No definition available. + Details
Name: | agm_HedgedItemsinFairValueHedgingRelationshipLineItems
Namespace Prefix: | agm_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amortized cost excluding accrued interest, after allowance for credit loss, 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_DebtSecuritiesAvailableForSaleAmortizedCostExcludingAccruedInterestAfterAllowanceForCreditLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of hedged item in hedging relationship. Excludes hedged asset or liability. + References No definition available. + Details
Name: | us-gaap_DerivativeAmountOfHedgedItem
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | instant

X
- Definition Amount of cumulative increase (decrease) in fair value of hedged asset in fair value hedge, attributable to hedged risk. Excludes cumulative basis adjustment related to foreign exchange risk. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4EE -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-4EE Reference 2: http://www.xbrl.org/2003/role/exampleRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 181 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480401/815-10-55-181 + Details
Name: | us-gaap_HedgedAssetFairValueHedgeCumulativeIncreaseDecrease
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of cumulative increase (decrease) in fair value of hedged liability in fair value hedge, attributable to hedged risk. Excludes cumulative basis adjustment related to foreign exchange risk. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4EE -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-4EE + Details
Name: | us-gaap_HedgedLiabilityFairValueHedgeCumulativeIncreaseDecrease
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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

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

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

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