XML 48 R37.htm IDEA: XBRL DOCUMENT
v3.25.2

INVESTMENT SECURITIES - Schedule of Investment Securities (Details) - USD ($) $ in Thousands | Jun. 30, 2025 | Dec. 31, 2024
--- | --- | ---
Investment securities |  |
Available-for-sale: |  |
Amount Outstanding | $ 6,834,492 | $ 6,183,545
Amortized Cost | 6,756,185 | 6,105,116
Allowance for losses | (28) | (27)
Unrealized Gains | 28,996 | 9,514
Unrealized Losses | (111,122) | (161,589)
Fair Value | 6,674,031 | 5,953,014
Held-to-maturity: |  |
Amount Outstanding | 8,970 | 9,270
Amortized Cost | 8,970 | 9,270
Allowance for losses | 0 | 0
Unrealized Gains | 366 | 270
Unrealized Losses | 0 | 0
Fair Value | 9,336 | 9,540
Available-for-sale, accrued interest excluded | 26,300 | 22,300
Available-for-Sale Securities | Investment securities |  |
Available-for-sale: |  |
Unamortized Premium/(Discount) | (78,307) | (78,429)
Held-to-maturity: |  |
Unamortized Premium/(Discount) | (78,307) | (78,429)
Held-to-Maturity Securities | Investment securities |  |
Available-for-sale: |  |
Unamortized Premium/(Discount) | 0 | 0
Held-to-maturity: |  |
Unamortized Premium/(Discount) | 0 | 0
Floating interest rate | Floating rate auction-rate certificates backed by Government guaranteed student loans |  |
Available-for-sale: |  |
Amount Outstanding | 19,700 | 19,700
Amortized Cost | 19,700 | 19,700
Allowance for losses | (28) | (27)
Unrealized Gains | 0 | 0
Unrealized Losses | (197) | (197)
Fair Value | 19,475 | 19,476
Floating interest rate | Guaranteed mortgage-backed securities |  |
Available-for-sale: |  |
Amount Outstanding | 2,396,079 | 2,317,032
Amortized Cost | 2,394,723 | 2,316,191
Allowance for losses | 0 | 0
Unrealized Gains | 2,287 | 3,484
Unrealized Losses | (15,033) | (13,950)
Fair Value | 2,381,977 | 2,305,725
Floating interest rate | Available-for-Sale Securities | Floating rate auction-rate certificates backed by Government guaranteed student loans |  |
Available-for-sale: |  |
Unamortized Premium/(Discount) | 0 | 0
Held-to-maturity: |  |
Unamortized Premium/(Discount) | 0 | 0
Floating interest rate | Available-for-Sale Securities | Guaranteed mortgage-backed securities |  |
Available-for-sale: |  |
Unamortized Premium/(Discount) | (1,356) | (841)
Held-to-maturity: |  |
Unamortized Premium/(Discount) | (1,356) | (841)
Fixed Interest Rate | Guaranteed mortgage-backed securities |  |
Available-for-sale: |  |
Amount Outstanding | 2,931,421 | 2,544,136
Amortized Cost | 2,861,704 | 2,477,291
Allowance for losses | 0 | 0
Unrealized Gains | 21,474 | 3,426
Unrealized Losses | (94,836) | (142,750)
Fair Value | 2,788,342 | 2,337,967
Held-to-maturity: |  |
Amount Outstanding | 8,970 | 9,270
Amortized Cost | 8,970 | 9,270
Allowance for losses | 0 | 0
Unrealized Gains | 366 | 270
Unrealized Losses | 0 | 0
Fair Value | $ 9,336 | $ 9,540
Held-to-maturity investment securities weighted average yield | 6.40% | 6.40%
Fixed Interest Rate | Fixed rate U.S. Treasuries |  |
Available-for-sale: |  |
Amount Outstanding | $ 1,487,292 | $ 1,302,677
Amortized Cost | 1,480,058 | 1,291,934
Allowance for losses | 0 | 0
Unrealized Gains | 5,235 | 2,604
Unrealized Losses | (1,056) | (4,692)
Fair Value | 1,484,237 | 1,289,846
Fixed Interest Rate | Available-for-Sale Securities | Guaranteed mortgage-backed securities |  |
Available-for-sale: |  |
Unamortized Premium/(Discount) | (69,717) | (66,845)
Held-to-maturity: |  |
Unamortized Premium/(Discount) | (69,717) | (66,845)
Fixed Interest Rate | Available-for-Sale Securities | Fixed rate U.S. Treasuries |  |
Available-for-sale: |  |
Unamortized Premium/(Discount) | (7,234) | (10,743)
Held-to-maturity: |  |
Unamortized Premium/(Discount) | (7,234) | (10,743)
Fixed Interest Rate | Held-to-Maturity Securities | Guaranteed mortgage-backed securities |  |
Available-for-sale: |  |
Unamortized Premium/(Discount) | 0 | 0
Held-to-maturity: |  |
Unamortized Premium/(Discount) | $ 0 | $ 0

X
- Definition Debt Securities, Available-For-Sale, Unpaid Principal Balance + References No definition available. + Details
Name: | agm_DebtSecuritiesAvailableForSaleUnpaidPrincipalBalance
Namespace Prefix: | agm_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Debt Securities, Held-to-Maturity, Amortized Cost, Excluding Accrued Interest, before Allowance for Credit Loss + References No definition available. + Details
Name: | agm_DebtSecuritiesHeldToMaturityAmortizedCostExcludingAccruedInterestBeforeAllowanceForCreditLoss
Namespace Prefix: | agm_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Held-To-Maturity Securities, Debt Maturities, Weighted-Average Yield + References No definition available. + Details
Name: | agm_HeldToMaturitySecuritiesDebtMaturitiesWeightedAverageYield
Namespace Prefix: | agm_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Held-To-Maturity Unpaid Principal Balance + References No definition available. + Details
Name: | agm_HeldToMaturityUnpaidPrincipalBalance
Namespace Prefix: | agm_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount, before tax, of unrealized gain in accumulated other comprehensive income (AOCI) on 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/2003/role/disclosureRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481800/320-10-50-2 + Details
Name: | us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount, before tax, of unrealized loss in accumulated other comprehensive income (AOCI) on 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/2003/role/disclosureRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481800/320-10-50-2 + Details
Name: | us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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

X
- Definition Amount, after accumulated amortization, of debt discount (premium). + 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_DebtInstrumentUnamortizedDiscountPremiumNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount, after allowance for credit loss, of accrued interest on 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/2003/role/disclosureRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2A -Publisher FASB -URI https://asc.fasb.org/1943274/2147481800/320-10-50-2A Reference 2: http://www.xbrl.org/2003/role/disclosureRef -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 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 3A -Publisher FASB -URI https://asc.fasb.org/1943274/2147479106/326-30-50-3A Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 3B -Publisher FASB -URI https://asc.fasb.org/1943274/2147479106/326-30-50-3B + Details
Name: | us-gaap_DebtSecuritiesAvailableForSaleAccruedInterestAfterAllowanceForCreditLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount excluding accrued interest, of allowance for credit loss on 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/2003/role/disclosureRef -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_DebtSecuritiesAvailableForSaleAmortizedCostAllowanceForCreditLossExcludingAccruedInterest
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amortized cost excluding accrued interest, before 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/2003/role/disclosureRef -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_DebtSecuritiesAvailableForSaleAmortizedCostExcludingAccruedInterestBeforeAllowanceForCreditLoss
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 Amount, excluding accrued interest, of allowance for credit loss on investment in debt security measured at amortized cost (held-to-maturity). + 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 + Details
Name: | us-gaap_DebtSecuritiesHeldToMaturityAllowanceForCreditLossExcludingAccruedInterest
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount excluding accrued interest, after allowance for credit loss, of investment in debt security measured at amortized cost (held-to-maturity). + 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 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Subparagraph (d) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481800/320-10-50-5 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Subparagraph (f) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481800/320-10-50-5 + Details
Name: | us-gaap_DebtSecuritiesHeldToMaturityExcludingAccruedInterestAfterAllowanceForCreditLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of accumulated unrecognized gain on investment in debt security measured at amortized cost (held-to-maturity). + References Reference 1: http://fasb.org/us-gaap/role/ref/otherTransitionRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481800/320-10-50-5 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 5A -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481800/320-10-50-5A + Details
Name: | us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingGain
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of accumulated unrealized loss on investment in debt security measured at amortized cost (held-to-maturity). + References Reference 1: http://fasb.org/us-gaap/role/ref/otherTransitionRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481800/320-10-50-5 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 5A -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481800/320-10-50-5A + Details
Name: | us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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

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

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

X
- Details
Name: | agm_DebtSecurityInvestmentCategoryAxis=agm_DebtSecuritiesHeldToMaturityMember
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_FinancialInstrumentAxis=us-gaap_AuctionRateSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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

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