XML 55 R44.htm IDEA: XBRL DOCUMENT
v3.25.2

FARMER MAC GUARANTEED SECURITIES AND USDA SECURITIES - Schedule of Available-for-Sale Securities (Details) - USD ($) $ in Thousands | Jun. 30, 2025 | Dec. 31, 2024
--- | --- | ---
AgVantage |  |
Weighted- Average Yield |  |
Available-for-sale, accrued interest excluded | $ 63,900 | $ 57,500
Farmer Mac Guaranteed Securities |  |
Amortized Cost |  |
Due within one year | 975,356 |
Due after one year through five years | 2,952,494 |
Due after five years through ten years | 1,070,000 |
Due after ten years | 944,619 |
Available-for-sale, amortized cost | 5,942,469 |
Fair Value |  |
Due within one year | 972,539 |
Due after one year through five years | 2,913,050 |
Due after five years through ten years | 992,839 |
Due after ten years | 853,075 |
Total fair value | $ 5,731,503 |
Weighted- Average Yield |  |
Due within one year | 4.47% |
Due after one year through five years | 3.77% |
Due after five years through ten years | 3.53% |
Due after ten years | 4.00% |
Weighted-average yield | 3.87% |

X
- Definition Available-for-sale Securities, Debt Maturities, after Ten Years, Weighted-Average Yield + References No definition available. + Details
Name: | agm_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsWeightedAverageYield
Namespace Prefix: | agm_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Available-for-sale Securities, Debt Maturities, Next Twelve Months, Weighted-Average Yield + References No definition available. + Details
Name: | agm_AvailableForSaleSecuritiesDebtMaturitiesNextTwelveMonthsWeightedAverageYield
Namespace Prefix: | agm_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

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

X
- Definition Available-for-sale Securities, Debt Maturities, Year Six Through Ten, Weighted-Average Yield + References No definition available. + Details
Name: | agm_AvailableForSaleSecuritiesDebtMaturitiesYearSixThroughTenWeightedAverageYield
Namespace Prefix: | agm_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Available-for-sale Securities, Debt Maturities, Year Two Through Five, Weighted-Average Yield + References No definition available. + Details
Name: | agm_AvailableForSaleSecuritiesDebtMaturitiesYearTwoThroughFiveWeightedAverageYield
Namespace Prefix: | agm_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Available-for-sale Securities, Debt Maturities, Weighted Average Yield, Single Maturity Date [Abstract] + References No definition available. + Details
Name: | agm_AvailableforsaleSecuritiesDebtMaturitiesWeightedAverageYieldSingleMaturityDateAbstract
Namespace Prefix: | agm_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amortized cost of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), with single maturity date and allocated without single maturity date, maturing in sixth through tenth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach). + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481800/320-10-50-3 + Details
Name: | us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsAmortizedCost
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Fair value of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), with single maturity date and allocated without single maturity date, maturing in sixth through tenth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481800/320-10-50-3 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 942 -SubTopic 320 -Name Accounting Standards Codification -Section 50 -Paragraph 3A -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477268/942-320-50-3A + Details
Name: | us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amortized cost of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), with single maturity date and allocated without single maturity date, maturing in second through fifth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach). + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481800/320-10-50-3 + Details
Name: | us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Fair value of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), with single maturity date and allocated without single maturity date, maturing in second through fifth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481800/320-10-50-3 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 942 -SubTopic 320 -Name Accounting Standards Codification -Section 50 -Paragraph 3A -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477268/942-320-50-3A + Details
Name: | us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amortized cost of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), with single maturity date and allocated without single maturity date, maturing after tenth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach). + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Subparagraph (d) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481800/320-10-50-3 + Details
Name: | us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsAmortizedCost
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Fair value of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), with single maturity date and allocated without single maturity date, maturing after tenth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Subparagraph (d) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481800/320-10-50-3 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 942 -SubTopic 320 -Name Accounting Standards Codification -Section 50 -Paragraph 3A -Subparagraph (d) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477268/942-320-50-3A + Details
Name: | us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsFairValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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

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

X
- Definition Amortized cost of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), with single maturity date and allocated without single maturity date, maturing in next fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach). + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481800/320-10-50-3 + Details
Name: | us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Fair value of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), with single maturity date and allocated without single maturity date, maturing in next fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481800/320-10-50-3 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 942 -SubTopic 320 -Name Accounting Standards Codification -Section 50 -Paragraph 3A -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477268/942-320-50-3A + Details
Name: | us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue
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 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
- Details
Name: | us-gaap_StatementBusinessSegmentsAxis=agm_AgVantageMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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