XML 67 R56.htm IDEA: XBRL DOCUMENT
v3.25.2

LOANS - Schedule of Financing Receivables Credit Quality Indicators (Details) - USD ($) $ in Thousands | 3 Months Ended | 6 Months Ended |
--- | --- | --- | ---
Jun. 30, 2025 | Jun. 30, 2024 | Jun. 30, 2025 | Jun. 30, 2024 | Dec. 31, 2024
Total |  |  |  |  |
Total | $ 12,226,915 |  | $ 12,226,915 |  | $ 11,183,408
Agricultural Finance - Farm & Ranch loans |  |  |  |  |
Year One |  |  |  |  |
Total | 869,192 |  | 869,192 |  | 1,134,818
Current period charge-offs | 0 | $ 0 | 0 | $ 0 |
Year Two |  |  |  |  |
Total | 1,123,125 |  | 1,123,125 |  | 588,639
Current period charge-offs | 0 | 0 | 0 | 0 |
Year Three |  |  |  |  |
Total | 555,724 |  | 555,724 |  | 1,165,169
Current period charge-offs | 0 | 0 | 0 | 0 |
Year Four |  |  |  |  |
Total | 1,063,474 |  | 1,063,474 |  | 1,626,242
Current period charge-offs | 0 | 101 | 0 | 101 |
Year Five |  |  |  |  |
Total | 1,570,366 |  | 1,570,366 |  | 1,087,730
Current period charge-offs | 0 | 0 | 0 | 0 |
Prior |  |  |  |  |
Total | 2,298,657 |  | 2,298,657 |  | 1,403,027
Current period charge-offs | 1,165 | 0 | 1,165 | 0 |
Revolving Loans - Amortized Cost Basis |  |  |  |  |
Total | 425,318 |  | 425,318 |  | 447,390
Current period charge-offs | 1,675 | 0 | 1,675 | 0 |
Total |  |  |  |  |
Total | 7,905,856 |  | 7,905,856 |  | 7,453,015
Current period charge-offs | 2,840 | 101 | 2,840 | 101 |
Agricultural Finance - Corporate AgFinance loans |  |  |  |  |
Year One |  |  |  |  |
Total | 164,169 |  | 164,169 |  | 210,807
Current period charge-offs | 0 | 0 | 0 | 0 |
Year Two |  |  |  |  |
Total | 199,033 |  | 199,033 |  | 197,237
Current period charge-offs | 0 | 0 | 0 | 0 |
Year Three |  |  |  |  |
Total | 153,281 |  | 153,281 |  | 72,512
Current period charge-offs | 0 | 0 | 0 | 0 |
Year Four |  |  |  |  |
Total | 63,928 |  | 63,928 |  | 250,050
Current period charge-offs | 0 | 0 | 0 | 0 |
Year Five |  |  |  |  |
Total | 207,466 |  | 207,466 |  | 169,860
Current period charge-offs | 0 | 0 | 0 | 0 |
Prior |  |  |  |  |
Total | 334,147 |  | 334,147 |  | 194,833
Current period charge-offs | 0 | 0 | 0 | 0 |
Revolving Loans - Amortized Cost Basis |  |  |  |  |
Total | 328,572 |  | 328,572 |  | 286,375
Current period charge-offs | 0 | 3,942 | 0 | 3,942 |
Total |  |  |  |  |
Total | 1,450,596 |  | 1,450,596 |  | 1,381,674
Current period charge-offs | 0 | 3,942 | 0 | 3,942 |
Infrastructure Finance loans |  |  |  |  |
Year One |  |  |  |  |
Total | 587,381 |  | 587,381 |  | 1,158,427
Current period charge-offs | 0 | 0 | 0 | 0 |
Year Two |  |  |  |  |
Total | 1,256,486 |  | 1,256,486 |  | 534,499
Current period charge-offs | 0 | 0 | 0 | 0 |
Year Three |  |  |  |  |
Total | 603,926 |  | 603,926 |  | 642,402
Current period charge-offs | 0 | 0 | 0 | 0 |
Year Four |  |  |  |  |
Total | 637,172 |  | 637,172 |  | 174,232
Current period charge-offs | 0 | 0 | 0 | 0 |
Year Five |  |  |  |  |
Total | 181,651 |  | 181,651 |  | 574,135
Current period charge-offs | 0 | 0 | 0 | 0 |
Prior |  |  |  |  |
Total | 1,730,271 |  | 1,730,271 |  | 1,229,626
Current period charge-offs | 0 | 0 | 0 | 0 |
Revolving Loans - Amortized Cost Basis |  |  |  |  |
Total | 487,769 |  | 487,769 |  | 461,162
Current period charge-offs | 0 | 0 | 0 | 0 |
Total |  |  |  |  |
Total | 5,484,656 |  | 5,484,656 |  | 4,774,483
Current period charge-offs | 0 | $ 0 | 0 | $ 0 |
Acceptable | Agricultural Finance - Farm & Ranch loans |  |  |  |  |
Year One |  |  |  |  |
Total | 732,237 |  | 732,237 |  | 987,444
Year Two |  |  |  |  |
Total | 964,125 |  | 964,125 |  | 525,559
Year Three |  |  |  |  |
Total | 480,868 |  | 480,868 |  | 1,079,933
Year Four |  |  |  |  |
Total | 968,980 |  | 968,980 |  | 1,577,305
Year Five |  |  |  |  |
Total | 1,525,951 |  | 1,525,951 |  | 1,019,779
Prior |  |  |  |  |
Total | 2,105,442 |  | 2,105,442 |  | 1,287,334
Revolving Loans - Amortized Cost Basis |  |  |  |  |
Total | 375,186 |  | 375,186 |  | 404,950
Total |  |  |  |  |
Total | 7,152,789 |  | 7,152,789 |  | 6,882,304
Acceptable | Agricultural Finance - Corporate AgFinance loans |  |  |  |  |
Year One |  |  |  |  |
Total | 164,169 |  | 164,169 |  | 210,807
Year Two |  |  |  |  |
Total | 199,033 |  | 199,033 |  | 152,918
Year Three |  |  |  |  |
Total | 109,244 |  | 109,244 |  | 64,860
Year Four |  |  |  |  |
Total | 63,928 |  | 63,928 |  | 235,493
Year Five |  |  |  |  |
Total | 179,361 |  | 179,361 |  | 80,085
Prior |  |  |  |  |
Total | 260,147 |  | 260,147 |  | 161,354
Revolving Loans - Amortized Cost Basis |  |  |  |  |
Total | 300,526 |  | 300,526 |  | 262,295
Total |  |  |  |  |
Total | 1,276,408 |  | 1,276,408 |  | 1,167,812
Acceptable | Infrastructure Finance loans |  |  |  |  |
Year One |  |  |  |  |
Total | 587,381 |  | 587,381 |  | 1,158,427
Year Two |  |  |  |  |
Total | 1,256,486 |  | 1,256,486 |  | 521,143
Year Three |  |  |  |  |
Total | 578,282 |  | 578,282 |  | 578,882
Year Four |  |  |  |  |
Total | 580,908 |  | 580,908 |  | 174,232
Year Five |  |  |  |  |
Total | 181,651 |  | 181,651 |  | 574,135
Prior |  |  |  |  |
Total | 1,730,271 |  | 1,730,271 |  | 1,229,626
Revolving Loans - Amortized Cost Basis |  |  |  |  |
Total | 487,769 |  | 487,769 |  | 461,162
Total |  |  |  |  |
Total | 5,402,748 |  | 5,402,748 |  | 4,697,607
Special mention | Agricultural Finance - Farm & Ranch loans |  |  |  |  |
Year One |  |  |  |  |
Total | 136,955 |  | 136,955 |  | 139,297
Year Two |  |  |  |  |
Total | 141,737 |  | 141,737 |  | 34,290
Year Three |  |  |  |  |
Total | 38,471 |  | 38,471 |  | 32,886
Year Four |  |  |  |  |
Total | 28,205 |  | 28,205 |  | 24,204
Year Five |  |  |  |  |
Total | 21,716 |  | 21,716 |  | 7,533
Prior |  |  |  |  |
Total | 45,500 |  | 45,500 |  | 23,099
Revolving Loans - Amortized Cost Basis |  |  |  |  |
Total | 31,321 |  | 31,321 |  | 22,087
Total |  |  |  |  |
Total | 443,905 |  | 443,905 |  | 283,396
Special mention | Agricultural Finance - Corporate AgFinance loans |  |  |  |  |
Year One |  |  |  |  |
Total | 0 |  | 0 |  | 0
Year Two |  |  |  |  |
Total | 0 |  | 0 |  | 37,010
Year Three |  |  |  |  |
Total | 36,725 |  | 36,725 |  | 0
Year Four |  |  |  |  |
Total | 0 |  | 0 |  | 14,557
Year Five |  |  |  |  |
Total | 0 |  | 0 |  | 75,440
Prior |  |  |  |  |
Total | 26,379 |  | 26,379 |  | 0
Revolving Loans - Amortized Cost Basis |  |  |  |  |
Total | 5,061 |  | 5,061 |  | 7,158
Total |  |  |  |  |
Total | 68,165 |  | 68,165 |  | 134,165
Special mention | Infrastructure Finance loans |  |  |  |  |
Year One |  |  |  |  |
Total | 0 |  | 0 |  | 0
Year Two |  |  |  |  |
Total | 0 |  | 0 |  | 0
Year Three |  |  |  |  |
Total | 0 |  | 0 |  | 34,388
Year Four |  |  |  |  |
Total | 9,699 |  | 9,699 |  | 0
Year Five |  |  |  |  |
Total | 0 |  | 0 |  | 0
Prior |  |  |  |  |
Total | 0 |  | 0 |  | 0
Revolving Loans - Amortized Cost Basis |  |  |  |  |
Total | 0 |  | 0 |  | 0
Total |  |  |  |  |
Total | 9,699 |  | 9,699 |  | 34,388
Substandard | Agricultural Finance - Farm & Ranch loans |  |  |  |  |
Year One |  |  |  |  |
Total | 0 |  | 0 |  | 8,077
Year Two |  |  |  |  |
Total | 17,263 |  | 17,263 |  | 28,790
Year Three |  |  |  |  |
Total | 36,385 |  | 36,385 |  | 52,350
Year Four |  |  |  |  |
Total | 66,289 |  | 66,289 |  | 24,733
Year Five |  |  |  |  |
Total | 22,699 |  | 22,699 |  | 60,418
Prior |  |  |  |  |
Total | 147,715 |  | 147,715 |  | 92,594
Revolving Loans - Amortized Cost Basis |  |  |  |  |
Total | 18,811 |  | 18,811 |  | 20,353
Total |  |  |  |  |
Total | 309,162 |  | 309,162 |  | 287,315
Substandard | Agricultural Finance - Corporate AgFinance loans |  |  |  |  |
Year One |  |  |  |  |
Total | 0 |  | 0 |  | 0
Year Two |  |  |  |  |
Total | 0 |  | 0 |  | 7,309
Year Three |  |  |  |  |
Total | 7,312 |  | 7,312 |  | 7,652
Year Four |  |  |  |  |
Total | 0 |  | 0 |  | 0
Year Five |  |  |  |  |
Total | 28,105 |  | 28,105 |  | 14,335
Prior |  |  |  |  |
Total | 47,621 |  | 47,621 |  | 33,479
Revolving Loans - Amortized Cost Basis |  |  |  |  |
Total | 22,985 |  | 22,985 |  | 16,922
Total |  |  |  |  |
Total | 106,023 |  | 106,023 |  | 79,697
Substandard | Infrastructure Finance loans |  |  |  |  |
Year One |  |  |  |  |
Total | 0 |  | 0 |  | 0
Year Two |  |  |  |  |
Total | 0 |  | 0 |  | 13,356
Year Three |  |  |  |  |
Total | 25,644 |  | 25,644 |  | 29,132
Year Four |  |  |  |  |
Total | 46,565 |  | 46,565 |  | 0
Year Five |  |  |  |  |
Total | 0 |  | 0 |  | 0
Prior |  |  |  |  |
Total | 0 |  | 0 |  | 0
Revolving Loans - Amortized Cost Basis |  |  |  |  |
Total | 0 |  | 0 |  | 0
Total |  |  |  |  |
Total | $ 72,209 |  | $ 72,209 |  | $ 42,488

X
- Definition Financing Receivable, Originated Five or More Years before Latest Fiscal Year + References No definition available. + Details
Name: | agm_FinancingReceivableOriginatedFiveOrMoreYearsBeforeLatestFiscalYearAbstract
Namespace Prefix: | agm_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Financing Receivable, Originated Four Years before Latest Fiscal Year + References No definition available. + Details
Name: | agm_FinancingReceivableOriginatedFourYearsBeforeLatestFiscalYearAbstract
Namespace Prefix: | agm_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Financing Receivable, Originated in Current Fiscal Year + References No definition available. + Details
Name: | agm_FinancingReceivableOriginatedInCurrentFiscalYearAbstract
Namespace Prefix: | agm_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Financing Receivable, Originated in Fiscal Year before Latest Fiscal Year + References No definition available. + Details
Name: | agm_FinancingReceivableOriginatedInFiscalYearBeforeLatestFiscalYearAbstract
Namespace Prefix: | agm_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Financing Receivable, Originated Three Years before Latest Fiscal Year + References No definition available. + Details
Name: | agm_FinancingReceivableOriginatedThreeYearsBeforeLatestFiscalYearAbstract
Namespace Prefix: | agm_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Financing Receivable, Originated Two Years before Latest Fiscal Year + References No definition available. + Details
Name: | agm_FinancingReceivableOriginatedTwoYearsBeforeLatestFiscalYearAbstract
Namespace Prefix: | agm_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Financing Receivable, Revolving + References No definition available. + Details
Name: | agm_FinancingReceivableRevolvingAbstract
Namespace Prefix: | agm_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

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

X
- Definition Amount, excluding accrued interest, of decrease in allowance for credit loss on financing receivable from writeoff. Excludes net investment in lease. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 13 -Subparagraph (d) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479319/326-20-50-13 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479319/326-20-50-6 + Details
Name: | us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoff
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amortized cost excluding accrued interest, before allowance for credit loss, of financing receivable. Excludes net investment in lease. + 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 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 3B -Publisher FASB -URI https://asc.fasb.org/1943274/2147479319/326-20-50-3B Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479319/326-20-50-5 + Details
Name: | us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amortized cost excluding accrued interest, of financing receivable originated more than five years prior to current fiscal year. Excludes net investment in lease. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 79 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479294/326-20-55-79 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479319/326-20-50-6 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 3B -Publisher FASB -URI https://asc.fasb.org/1943274/2147479319/326-20-50-3B + Details
Name: | us-gaap_FinancingReceivableExcludingAccruedInterestOriginatedMoreThanFiveYearsBeforeCurrentFiscalYear
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount, excluding accrued interest, of writeoff of financing receivable originated more than five years before current fiscal year. Excludes net investment in lease. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479319/326-20-50-6 + Details
Name: | us-gaap_FinancingReceivableExcludingAccruedInterestOriginatedMoreThanFiveYearsBeforeCurrentFiscalYearWriteoff
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amortized cost excluding accrued interest, of financing receivable that can be withdrawn, repaid, and redrawn. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 79 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479294/326-20-55-79 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479319/326-20-50-6 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 3B -Publisher FASB -URI https://asc.fasb.org/1943274/2147479319/326-20-50-3B + Details
Name: | us-gaap_FinancingReceivableExcludingAccruedInterestRevolving
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount, excluding accrued interest, of writeoff of financing receivable that can be withdrawn, repaid, and redrawn. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479319/326-20-50-6 + Details
Name: | us-gaap_FinancingReceivableExcludingAccruedInterestRevolvingWriteoff
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amortized cost excluding accrued interest, of financing receivable originated four years prior to current fiscal year. Excludes net investment in lease. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 79 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479294/326-20-55-79 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479319/326-20-50-6 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 3B -Publisher FASB -URI https://asc.fasb.org/1943274/2147479319/326-20-50-3B + Details
Name: | us-gaap_FinancingReceivableExcludingAccruedInterestYearFiveOriginatedFourYearsBeforeCurrentFiscalYear
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount, excluding accrued interest, of writeoff of financing receivable originated four years before current fiscal year. Excludes net investment in lease. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479319/326-20-50-6 + Details
Name: | us-gaap_FinancingReceivableExcludingAccruedInterestYearFiveOriginatedFourYearsBeforeCurrentFiscalYearWriteoff
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amortized cost excluding accrued interest, of financing receivable originated three years prior to current fiscal year. Excludes net investment in lease. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 79 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479294/326-20-55-79 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479319/326-20-50-6 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 3B -Publisher FASB -URI https://asc.fasb.org/1943274/2147479319/326-20-50-3B + Details
Name: | us-gaap_FinancingReceivableExcludingAccruedInterestYearFourOriginatedThreeYearsBeforeCurrentFiscalYear
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount, excluding accrued interest, of writeoff of financing receivable originated three years before current fiscal year. Excludes net investment in lease. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479319/326-20-50-6 + Details
Name: | us-gaap_FinancingReceivableExcludingAccruedInterestYearFourOriginatedThreeYearsBeforeCurrentFiscalYearWriteoff
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amortized cost excluding accrued interest, of financing receivable originated in current fiscal year. Excludes net investment in lease. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 79 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479294/326-20-55-79 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479319/326-20-50-6 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 3B -Publisher FASB -URI https://asc.fasb.org/1943274/2147479319/326-20-50-3B + Details
Name: | us-gaap_FinancingReceivableExcludingAccruedInterestYearOneOriginatedCurrentFiscalYear
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount, excluding accrued interest, of writeoff of financing receivable originated in current fiscal year. Excludes net investment in lease. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479319/326-20-50-6 + Details
Name: | us-gaap_FinancingReceivableExcludingAccruedInterestYearOneOriginatedCurrentFiscalYearWriteoff
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amortized cost excluding accrued interest, of financing receivable originated two years prior to current fiscal year. Excludes net investment in lease. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 79 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479294/326-20-55-79 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479319/326-20-50-6 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 3B -Publisher FASB -URI https://asc.fasb.org/1943274/2147479319/326-20-50-3B + Details
Name: | us-gaap_FinancingReceivableExcludingAccruedInterestYearThreeOriginatedTwoYearsBeforeCurrentFiscalYear
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount, excluding accrued interest, of writeoff of financing receivable originated two years before current fiscal year. Excludes net investment in lease. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479319/326-20-50-6 + Details
Name: | us-gaap_FinancingReceivableExcludingAccruedInterestYearThreeOriginatedTwoYearsBeforeCurrentFiscalYearWriteoff
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amortized cost excluding accrued interest of financing receivable originated in fiscal year prior to current fiscal year. Excludes net investment in lease. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 79 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479294/326-20-55-79 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479319/326-20-50-6 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 3B -Publisher FASB -URI https://asc.fasb.org/1943274/2147479319/326-20-50-3B + Details
Name: | us-gaap_FinancingReceivableExcludingAccruedInterestYearTwoOriginatedFiscalYearBeforeCurrentFiscalYear
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount, excluding accrued interest, of writeoff of financing receivable originated in fiscal year before current fiscal year. Excludes net investment in lease. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479319/326-20-50-6 + Details
Name: | us-gaap_FinancingReceivableExcludingAccruedInterestYearTwoOriginatedFiscalYearBeforeCurrentFiscalYearWriteoff
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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

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

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

X
- Details
Name: | us-gaap_InternalCreditAssessmentAxis=us-gaap_PassMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_InternalCreditAssessmentAxis=us-gaap_SpecialMentionMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_InternalCreditAssessmentAxis=us-gaap_SubstandardMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |