XML 59 R48.htm IDEA: XBRL DOCUMENT
v3.25.2

FINANCIAL DERIVATIVES - Schedule of Net Income/(Expense) Recognized (Details) - USD ($) $ in Thousands | 3 Months Ended | 6 Months Ended
--- | --- | ---
Jun. 30, 2025 | Jun. 30, 2024 | Jun. 30, 2025 | Jun. 30, 2024
Derivative Instruments, Gain (Loss) [Line Items] |  |  |  |
Interest Income Investments and Cash Equivalents | $ 88,985 | $ 84,538 | $ 172,293 | $ 169,462
Interest Income Loans | 185,039 | 153,105 | 356,803 | 297,685
Total Interest Expense | (302,225) | (316,366) | (592,700) | (626,315)
Gains (losses) on financial derivatives | 80 | (1,799) | (2,556) | 280
Interest expense on interest rate swaps | 5,837 | 2,526 | 9,217 | 9,840
Designated as hedge |  |  |  |
Derivative Instruments, Gain (Loss) [Line Items] |  |  |  |
Interest Income Investments and Cash Equivalents | 88,985 | 84,538 | 172,293 | 169,462
Interest Income Farmer Mac Guaranteed Securities and USDA Securities | 124,998 | 166,063 | 251,340 | 332,876
Interest Income Loans | 185,039 | 153,105 | 356,803 | 297,685
Total Interest Expense | (302,225) | (316,366) | (592,700) | (626,315)
Gains (losses) on financial derivatives | 80 | (1,799) | (2,556) | 280
Total | 96,877 | 85,541 | 185,180 | 173,988
Designated as hedge | Fair value hedges: |  |  |  |
Derivative Instruments, Gain (Loss) [Line Items] |  |  |  |
Recognized on hedged items | (9,809) | (27,625) | (25,718) | (55,808)
Premium/discount amortization recognized on hedged items | 73 | (234) | (156) | (535)
Gains/(losses) on fair value hedging relationships, recognized on hedged items | 25,239 | (51,842) | 111,787 | (151,678)
Gains/(losses) on fair value hedging relationships | 2,709 | 2,604 | 3,808 | 5,606
Designated as hedge | Cash flow hedges: |  |  |  |
Derivative Instruments, Gain (Loss) [Line Items] |  |  |  |
Premium/discount amortization recognized on hedged items | (38) | (14) | (38) | (27)
Interest settlements reclassified from AOCI into net income on derivatives | 3,746 | 5,393 | 7,571 | 10,824
Recognized on hedged items | (6,108) | (8,014) | (12,453) | (16,105)
Expense recognized on cash flow hedges | (2,400) | (2,635) | (4,920) | (5,308)
Designated as hedge | Interest Income Investments and Cash Equivalents | Fair value hedges: |  |  |  |
Derivative Instruments, Gain (Loss) [Line Items] |  |  |  |
Recognized on hedged items | 14,101 | 10,309 | 27,231 | 20,257
Premium/discount amortization recognized on hedged items | 796 | 487 | 1,227 | 933
Gains/(losses) on fair value hedging relationships, recognized on hedged items | 19,271 | (3,361) | 53,249 | (30,882)
Gains/(losses) on fair value hedging relationships | 11 | 99 | (20) | 368
Designated as hedge | Interest Income Investments and Cash Equivalents | Cash flow hedges: |  |  |  |
Derivative Instruments, Gain (Loss) [Line Items] |  |  |  |
Premium/discount amortization recognized on hedged items | 0 | 0 | 0 | 0
Interest settlements reclassified from AOCI into net income on derivatives | 0 | 0 | 0 | 0
Recognized on hedged items | 0 | 0 | 0 | 0
Expense recognized on cash flow hedges | 0 | 0 | 0 | 0
Designated as hedge | Interest Income Farmer Mac Guaranteed Securities and USDA Securities | Fair value hedges: |  |  |  |
Derivative Instruments, Gain (Loss) [Line Items] |  |  |  |
Recognized on hedged items | 56,672 | 52,651 | 112,543 | 104,356
Premium/discount amortization recognized on hedged items | 0 | 0 | 0 | 0
Gains/(losses) on fair value hedging relationships, recognized on hedged items | 37,769 | (6,508) | 119,787 | (87,251)
Gains/(losses) on fair value hedging relationships | 293 | 418 | (175) | 1,261
Designated as hedge | Interest Income Farmer Mac Guaranteed Securities and USDA Securities | Cash flow hedges: |  |  |  |
Derivative Instruments, Gain (Loss) [Line Items] |  |  |  |
Premium/discount amortization recognized on hedged items | 0 | 0 | 0 | 0
Interest settlements reclassified from AOCI into net income on derivatives | 0 | 0 | 0 | 0
Recognized on hedged items | 0 | 0 | 0 | 0
Expense recognized on cash flow hedges | 0 | 0 | 0 | 0
Designated as hedge | Interest Income Loans | Fair value hedges: |  |  |  |
Derivative Instruments, Gain (Loss) [Line Items] |  |  |  |
Recognized on hedged items | 19,633 | 16,705 | 38,601 | 33,302
Premium/discount amortization recognized on hedged items | 0 | 0 | 0 | 0
Gains/(losses) on fair value hedging relationships, recognized on hedged items | 8,860 | (12,112) | 53,840 | (59,173)
Gains/(losses) on fair value hedging relationships | 833 | 1,076 | 1,259 | 2,195
Designated as hedge | Interest Income Loans | Cash flow hedges: |  |  |  |
Derivative Instruments, Gain (Loss) [Line Items] |  |  |  |
Premium/discount amortization recognized on hedged items | 0 | 0 | 0 | 0
Interest settlements reclassified from AOCI into net income on derivatives | 0 | 0 | 0 | 0
Recognized on hedged items | 0 | 0 | 0 | 0
Expense recognized on cash flow hedges | 0 | 0 | 0 | 0
Designated as hedge | Total Interest Expense | Fair value hedges: |  |  |  |
Derivative Instruments, Gain (Loss) [Line Items] |  |  |  |
Recognized on hedged items | (100,215) | (107,290) | (204,093) | (213,723)
Premium/discount amortization recognized on hedged items | (723) | (721) | (1,383) | (1,468)
Gains/(losses) on fair value hedging relationships, recognized on hedged items | (40,661) | (29,861) | (115,089) | 25,628
Gains/(losses) on fair value hedging relationships | 1,572 | 1,011 | 2,744 | 1,782
Designated as hedge | Total Interest Expense | Cash flow hedges: |  |  |  |
Derivative Instruments, Gain (Loss) [Line Items] |  |  |  |
Premium/discount amortization recognized on hedged items | (38) | (14) | (38) | (27)
Interest settlements reclassified from AOCI into net income on derivatives | 3,746 | 5,393 | 7,571 | 10,824
Recognized on hedged items | (6,108) | (8,014) | (12,453) | (16,105)
Expense recognized on cash flow hedges | (2,400) | (2,635) | (4,920) | (5,308)
Designated as hedge | Losses on financial derivatives | Fair value hedges: |  |  |  |
Derivative Instruments, Gain (Loss) [Line Items] |  |  |  |
Recognized on hedged items | 0 | 0 | 0 | 0
Premium/discount amortization recognized on hedged items | 0 | 0 | 0 | 0
Gains/(losses) on fair value hedging relationships, recognized on hedged items | 0 | 0 | 0 | 0
Gains/(losses) on fair value hedging relationships | 0 | 0 | 0 | 0
Designated as hedge | Losses on financial derivatives | Cash flow hedges: |  |  |  |
Derivative Instruments, Gain (Loss) [Line Items] |  |  |  |
Premium/discount amortization recognized on hedged items | 0 | 0 | 0 | 0
Interest settlements reclassified from AOCI into net income on derivatives | 0 | 0 | 0 | 0
Recognized on hedged items | 0 | 0 | 0 | 0
Expense recognized on cash flow hedges | 0 | 0 | 0 | 0
Designated as hedge | Interest Rate Swap | Fair value hedges: |  |  |  |
Derivative Instruments, Gain (Loss) [Line Items] |  |  |  |
Recognized on derivatives | 13,730 | (9,290) | 26,764 | (24,362)
Income/(expense) related to interest settlements on fair value hedging relationships | 3,994 | (37,149) | 890 | (80,705)
Gains/(losses) on fair value hedging relationships, recognized on derivatives | (22,530) | 54,446 | (107,979) | 157,284
Designated as hedge | Interest Rate Swap | Interest Income Investments and Cash Equivalents | Fair value hedges: |  |  |  |
Derivative Instruments, Gain (Loss) [Line Items] |  |  |  |
Recognized on derivatives | 7,261 | 10,408 | 14,346 | 20,705
Income/(expense) related to interest settlements on fair value hedging relationships | 22,158 | 21,204 | 42,804 | 41,895
Gains/(losses) on fair value hedging relationships, recognized on derivatives | (19,260) | 3,460 | (53,269) | 31,250
Designated as hedge | Interest Rate Swap | Interest Income Farmer Mac Guaranteed Securities and USDA Securities | Fair value hedges: |  |  |  |
Derivative Instruments, Gain (Loss) [Line Items] |  |  |  |
Recognized on derivatives | 21,746 | 39,134 | 43,805 | 79,467
Income/(expense) related to interest settlements on fair value hedging relationships | 78,418 | 91,785 | 156,348 | 183,823
Gains/(losses) on fair value hedging relationships, recognized on derivatives | (37,476) | 6,926 | (119,962) | 88,512
Designated as hedge | Interest Rate Swap | Interest Income Loans | Fair value hedges: |  |  |  |
Derivative Instruments, Gain (Loss) [Line Items] |  |  |  |
Recognized on derivatives | 12,499 | 17,827 | 24,883 | 35,676
Income/(expense) related to interest settlements on fair value hedging relationships | 32,132 | 34,532 | 63,484 | 68,978
Gains/(losses) on fair value hedging relationships, recognized on derivatives | (8,027) | 13,188 | (52,581) | 61,368
Designated as hedge | Interest Rate Swap | Total Interest Expense | Fair value hedges: |  |  |  |
Derivative Instruments, Gain (Loss) [Line Items] |  |  |  |
Recognized on derivatives | (27,776) | (76,659) | (56,270) | (160,210)
Income/(expense) related to interest settlements on fair value hedging relationships | (128,714) | (184,670) | (261,746) | (375,401)
Gains/(losses) on fair value hedging relationships, recognized on derivatives | 42,233 | 30,872 | 117,833 | (23,846)
Designated as hedge | Interest Rate Swap | Losses on financial derivatives | Fair value hedges: |  |  |  |
Derivative Instruments, Gain (Loss) [Line Items] |  |  |  |
Recognized on derivatives | 0 | 0 | 0 | 0
Income/(expense) related to interest settlements on fair value hedging relationships | 0 | 0 | 0 | 0
Gains/(losses) on fair value hedging relationships, recognized on derivatives | 0 | 0 | 0 | 0
No hedge designation |  |  |  |
Derivative Instruments, Gain (Loss) [Line Items] |  |  |  |
Gains (losses) on financial derivatives | 80 | (1,799) | (2,556) | 280
No hedge designation | Interest Income Investments and Cash Equivalents |  |  |  |
Derivative Instruments, Gain (Loss) [Line Items] |  |  |  |
Gains (losses) on financial derivatives | 0 | 0 | 0 | 0
No hedge designation | Interest Income Farmer Mac Guaranteed Securities and USDA Securities |  |  |  |
Derivative Instruments, Gain (Loss) [Line Items] |  |  |  |
Gains (losses) on financial derivatives | 0 | 0 | 0 | 0
No hedge designation | Interest Income Loans |  |  |  |
Derivative Instruments, Gain (Loss) [Line Items] |  |  |  |
Gains (losses) on financial derivatives | 0 | 0 | 0 | 0
No hedge designation | Total Interest Expense |  |  |  |
Derivative Instruments, Gain (Loss) [Line Items] |  |  |  |
Gains (losses) on financial derivatives | 0 | 0 | 0 | 0
No hedge designation | Losses on financial derivatives |  |  |  |
Derivative Instruments, Gain (Loss) [Line Items] |  |  |  |
Gains (losses) on financial derivatives | 80 | (1,799) | (2,556) | 280
No hedge designation | Interest Rate Swap |  |  |  |
Derivative Instruments, Gain (Loss) [Line Items] |  |  |  |
Gains (losses) on financial derivatives | (834) | (26) | (3,537) | 729
Interest expense on interest rate swaps | (208) | (486) | 110 | (521)
No hedge designation | Interest Rate Swap | Interest Income Investments and Cash Equivalents |  |  |  |
Derivative Instruments, Gain (Loss) [Line Items] |  |  |  |
Gains (losses) on financial derivatives | 0 | 0 | 0 | 0
Interest expense on interest rate swaps | 0 | 0 | 0 | 0
No hedge designation | Interest Rate Swap | Interest Income Farmer Mac Guaranteed Securities and USDA Securities |  |  |  |
Derivative Instruments, Gain (Loss) [Line Items] |  |  |  |
Gains (losses) on financial derivatives | 0 | 0 | 0 | 0
Interest expense on interest rate swaps | 0 | 0 | 0 | 0
No hedge designation | Interest Rate Swap | Interest Income Loans |  |  |  |
Derivative Instruments, Gain (Loss) [Line Items] |  |  |  |
Gains (losses) on financial derivatives | 0 | 0 | 0 | 0
Interest expense on interest rate swaps | 0 | 0 | 0 | 0
No hedge designation | Interest Rate Swap | Total Interest Expense |  |  |  |
Derivative Instruments, Gain (Loss) [Line Items] |  |  |  |
Gains (losses) on financial derivatives | 0 | 0 | 0 | 0
Interest expense on interest rate swaps | 0 | 0 | 0 | 0
No hedge designation | Interest Rate Swap | Losses on financial derivatives |  |  |  |
Derivative Instruments, Gain (Loss) [Line Items] |  |  |  |
Gains (losses) on financial derivatives | (834) | (26) | (3,537) | 729
Interest expense on interest rate swaps | (208) | (486) | 110 | (521)
No hedge designation | Treasury futures |  |  |  |
Derivative Instruments, Gain (Loss) [Line Items] |  |  |  |
Gains (losses) on financial derivatives | 1,122 | (1,287) | 871 | 72
No hedge designation | Treasury futures | Interest Income Investments and Cash Equivalents |  |  |  |
Derivative Instruments, Gain (Loss) [Line Items] |  |  |  |
Gains (losses) on financial derivatives | 0 | 0 | 0 | 0
No hedge designation | Treasury futures | Interest Income Farmer Mac Guaranteed Securities and USDA Securities |  |  |  |
Derivative Instruments, Gain (Loss) [Line Items] |  |  |  |
Gains (losses) on financial derivatives | 0 | 0 | 0 | 0
No hedge designation | Treasury futures | Interest Income Loans |  |  |  |
Derivative Instruments, Gain (Loss) [Line Items] |  |  |  |
Gains (losses) on financial derivatives | 0 | 0 | 0 | 0
No hedge designation | Treasury futures | Total Interest Expense |  |  |  |
Derivative Instruments, Gain (Loss) [Line Items] |  |  |  |
Gains (losses) on financial derivatives | 0 | 0 | 0 | 0
No hedge designation | Treasury futures | Losses on financial derivatives |  |  |  |
Derivative Instruments, Gain (Loss) [Line Items] |  |  |  |
Gains (losses) on financial derivatives | $ 1,122 | $ (1,287) | $ 871 | $ 72

X
- Definition Derivative Net Hedge Ineffectiveness Gain Loss Component Recognized On Hedged Item + References No definition available. + Details
Name: | agm_DerivativeNetHedgeIneffectivenessGainLossComponentRecognizedOnHedgedItem
Namespace Prefix: | agm_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Derivative Net Interest Settlements (Interest Accruals) + References No definition available. + Details
Name: | agm_DerivativeNetInterestSettlements
Namespace Prefix: | agm_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Hedged Item Net Interest Settlements (Interest Accruals) + References No definition available. + Details
Name: | agm_HedgedItemNetInterestSettlements
Namespace Prefix: | agm_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Income Expense, Interest Settlements, Fair Value Hedges + References No definition available. + Details
Name: | agm_IncomeExpenseInterestSettlementsFairValueHedges
Namespace Prefix: | agm_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Premium (Discount), Recognized on Hedged Instrument + References No definition available. + Details
Name: | agm_PremiumDiscountRecognizedOnHedgedInstrument
Namespace Prefix: | agm_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Total Amounts of Line Items Presented in the Consolidated Statement of Income + References No definition available. + Details
Name: | agm_TotalAmountsOfLineItemsPresentedInTheConsolidatedStatementOfIncome
Namespace Prefix: | agm_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of gain (loss) from the increase (decrease) in fair value of derivative and nonderivative instruments designated as fair value hedging instruments recognized in the income statement. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4A -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-4A Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 220 -SubTopic 40 -Name Accounting Standards Codification -Section 50 -Paragraph 21 -Subparagraph (i) -Publisher FASB -URI https://asc.fasb.org/1943274/2147476148/220-40-50-21 + Details
Name: | us-gaap_ChangeInUnrealizedGainLossOnFairValueHedgingInstruments1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of the increase (decrease) in fair value of the hedged item in a fair value hedge recognized in the income statement. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4C -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-4C Reference 2: http://www.xbrl.org/2003/role/exampleRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 182 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480401/815-10-55-182 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4A -Subparagraph (b)(1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-4A Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 220 -SubTopic 40 -Name Accounting Standards Codification -Section 50 -Paragraph 21 -Subparagraph (i) -Publisher FASB -URI https://asc.fasb.org/1943274/2147476148/220-40-50-21 + Details
Name: | us-gaap_ChangeInUnrealizedGainLossOnHedgedItemInFairValueHedge1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

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 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4C -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-4C Reference 2: http://www.xbrl.org/2003/role/exampleRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 182 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480401/815-10-55-182 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4D -Subparagraph (a)(5) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-4D Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4D -Subparagraph (a)(4) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-4D Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4D -Subparagraph (a)(3) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-4D Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4D -Subparagraph (a)(2) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-4D Reference 7: http://www.xbrl.org/2003/role/disclosureRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4A -Subparagraph (b)(1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-4A Reference 8: http://www.xbrl.org/2003/role/disclosureRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4D -Subparagraph (a)(6) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-4D Reference 9: http://www.xbrl.org/2003/role/disclosureRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4D -Subparagraph (a)(1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-4D Reference 10: http://www.xbrl.org/2003/role/disclosureRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4A -Subparagraph (b)(2) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-4A Reference 11: http://www.xbrl.org/2003/role/disclosureRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4C -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-4C Reference 12: http://www.xbrl.org/2003/role/disclosureRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4CCC -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-4CCC Reference 13: http://www.xbrl.org/2003/role/disclosureRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4CCC -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-4CCC Reference 14: http://www.xbrl.org/2003/role/disclosureRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4CCC -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-4CCC Reference 15: http://www.xbrl.org/2003/role/disclosureRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4CC -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-4CC Reference 16: http://www.xbrl.org/2003/role/disclosureRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4C -Subparagraph (g) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-4C Reference 17: http://www.xbrl.org/2003/role/disclosureRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4C -Subparagraph (f) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-4C Reference 18: http://www.xbrl.org/2003/role/disclosureRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4C -Subparagraph (d) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-4C Reference 19: http://www.xbrl.org/2003/role/disclosureRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4C -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-4C Reference 20: http://www.xbrl.org/2003/role/disclosureRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4C -Subparagraph (bb) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-4C Reference 21: http://www.xbrl.org/2003/role/disclosureRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4D -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-4D Reference 22: http://www.xbrl.org/2003/role/disclosureRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4E -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-4E + Details
Name: | us-gaap_DerivativeInstrumentsGainLossLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Aggregate net gain (loss) on all derivative instruments recognized in earnings during the period, before tax effects. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4A -Subparagraph (b)(1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-4A + Details
Name: | us-gaap_GainLossOnDerivativeInstrumentsNetPretax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Total amount of gain (loss) derived from fair value hedges recognized in earnings in the period. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 182 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480401/815-10-55-182 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4A -Subparagraph (b)(1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-4A + Details
Name: | us-gaap_GainLossOnFairValueHedgesRecognizedInEarnings
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of operating dividend and interest income, including amortization and accretion of premiums and discounts, on securities. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 220 -SubTopic 40 -Name Accounting Standards Codification -Section 55 -Paragraph 21 -Publisher FASB -URI https://asc.fasb.org/1943274/2147476153/220-40-55-21 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 946 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.6-07(1)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479134/946-220-S99-1 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 6 -Subparagraph (SX 210.12-14(Column E)(Footnote 4)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-6 + Details
Name: | us-gaap_InterestAndDividendIncomeSecurities
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The aggregate interest and fee income generated by: (1) loans the Entity has positive intent and ability to hold for the foreseeable future, or until maturity or payoff, including commercial and consumer loans, whether domestic or foreign, which may consist of: (a) industrial and agricultural; (b) real estate; and (c) real estate construction loans; (d) trade financing; (e) lease financing; (f) home equity lines-of-credit; (g) automobile and other vehicle loans; and (h) credit card and other revolving-type loans and (2) loans and leases held-for-sale which may include mortgage loans, direct financing, and sales-type leases. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 220 -SubTopic 40 -Name Accounting Standards Codification -Section 55 -Paragraph 21 -Publisher FASB -URI https://asc.fasb.org/1943274/2147476153/220-40-55-21 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 942 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-04(1)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478524/942-220-S99-1 + Details
Name: | us-gaap_InterestAndFeeIncomeLoansAndLeases
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of interest expense classified as operating. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 220 -SubTopic 40 -Name Accounting Standards Codification -Section 55 -Paragraph 21 -Publisher FASB -URI https://asc.fasb.org/1943274/2147476153/220-40-55-21 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 220 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03(2)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147483621/220-10-S99-2 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 280 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 22 -Subparagraph (d) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482810/280-10-50-22 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 942 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-04(9)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478524/942-220-S99-1 + Details
Name: | us-gaap_InterestExpenseOperating
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of operating interest income, including, but not limited to, amortization and accretion of premiums and discounts on securities. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 946 -SubTopic 830 -Name Accounting Standards Codification -Section 55 -Paragraph 10 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479168/946-830-55-10 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 942 -SubTopic 310 -Name Accounting Standards Codification -Section S50 -Paragraph 4 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479255/942-310-S50-4 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 942 -SubTopic 310 -Name Accounting Standards Codification -Section S99 -Paragraph 2 -Subparagraph (SAB Topic 11.H.2.Q1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478116/942-310-S99-2 Reference 4: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 220 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03(1)(e)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147483621/220-10-S99-2 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Topic 280 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 22 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482810/280-10-50-22 Reference 6: http://www.xbrl.org/2003/role/exampleRef -Topic 280 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 48 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482785/280-10-55-48 Reference 7: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 6 -Subparagraph (SX 210.12-14(Column E)(1)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-6 Reference 8: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 6 -Subparagraph (SX 210.12-14(Column E)(Footnote 4)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-6 Reference 9: http://www.xbrl.org/2003/role/exampleRef -Topic 946 -SubTopic 830 -Name Accounting Standards Codification -Section 45 -Paragraph 39 -Publisher FASB -URI https://asc.fasb.org/1943274/2147477346/946-830-45-39 Reference 10: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.6-07(1)(b)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479134/946-220-S99-1 Reference 11: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 6 -Subparagraph (SX 210.12-14(Column E)(Footnote 6)(a)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-6 + Details
Name: | us-gaap_InterestIncomeOperating
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The total amount of noninterest income which may be derived from: (1) fees and commissions; (2) premiums earned; (3) insurance policy charges; (4) the sale or disposal of assets; and (5) other sources not otherwise specified. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 220 -SubTopic 40 -Name Accounting Standards Codification -Section 55 -Paragraph 21 -Publisher FASB -URI https://asc.fasb.org/1943274/2147476153/220-40-55-21 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 942 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-04(13)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478524/942-220-S99-1 + Details
Name: | us-gaap_NoninterestIncome
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount, after tax, of reclassification of gain (loss) from accumulated other comprehensive income (AOCI) for derivative instrument designated and qualifying as cash flow hedge included in assessment of hedge effectiveness. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 220 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 11 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482790/220-10-45-11 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 220 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 15 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482790/220-10-45-15 + Details
Name: | us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationAfterTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount before tax of reclassification adjustments of other comprehensive income (loss). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 45 -Paragraph 14A -Publisher FASB -URI https://asc.fasb.org/1943274/2147482790/220-10-45-14A Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 220 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482765/220-10-50-5 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 830 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481674/830-30-50-1 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 830 -SubTopic 30 -Name Accounting Standards Codification -Section 45 -Paragraph 17 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481694/830-30-45-17 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Topic 830 -SubTopic 30 -Name Accounting Standards Codification -Section 45 -Paragraph 20 -Subparagraph (d) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481694/830-30-45-20 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Topic 944 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-04(19)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477250/944-220-S99-1 Reference 7: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 220 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482765/220-10-50-4 + Details
Name: | us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodBeforeTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | us-gaap_HedgingDesignationAxis=us-gaap_DesignatedAsHedgingInstrumentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis=us-gaap_FairValueHedgingMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis=us-gaap_CashFlowHedgingMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_IncomeStatementLocationAxis=agm_InterestRevenueExpenseNetMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_IncomeStatementLocationAxis=us-gaap_InterestIncomeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_IncomeStatementLocationAxis=us-gaap_LoansAndFinanceReceivablesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_IncomeStatementLocationAxis=us-gaap_InterestExpenseMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_IncomeStatementLocationAxis=us-gaap_GainLossOnDerivativeInstrumentsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=us-gaap_InterestRateSwapMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_HedgingDesignationAxis=us-gaap_NondesignatedMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=us-gaap_FutureMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |