XML 66 R55.htm IDEA: XBRL DOCUMENT
v3.24.2.u1

LOANS - Schedule of Financing Receivables Credit Quality Indicators (Details) - USD ($) $ in Thousands | 3 Months Ended | 6 Months Ended |
--- | --- | --- | ---
Jun. 30, 2024 | Jun. 30, 2023 | Jun. 30, 2024 | Jun. 30, 2023 | Dec. 31, 2023
Total |  |  |  |  |
Total | $ 10,041,653 |  | $ 10,041,653 |  | $ 9,623,119
Agricultural Finance |  |  |  |  |
Total |  |  |  |  |
Current period charge-offs | 4,043 | $ 0 | 4,043 | $ 0 |
Farm & Ranch |  |  |  |  |
Year One |  |  |  |  |
Total | 522,902 |  | 522,902 |  | 604,837
Current period charge-offs | 0 | 0 | 0 | 0 |
Year Two |  |  |  |  |
Total | 606,871 |  | 606,871 |  | 1,207,742
Current period charge-offs | 0 | 0 | 0 | 0 |
Year Three |  |  |  |  |
Total | 1,182,714 |  | 1,182,714 |  | 1,691,901
Current period charge-offs | 0 | 0 | 0 | 0 |
Year Four |  |  |  |  |
Total | 1,646,281 |  | 1,646,281 |  | 1,149,903
Current period charge-offs | 101 | 0 | 101 | 0 |
Year Five |  |  |  |  |
Total | 1,115,215 |  | 1,115,215 |  | 357,646
Current period charge-offs | 0 | 0 | 0 | 0 |
Prior |  |  |  |  |
Total | 1,432,288 |  | 1,432,288 |  | 1,148,725
Current period charge-offs | 0 | 0 | 0 | 0 |
Revolving Loans - Amortized Cost Basis |  |  |  |  |
Total | 393,903 |  | 393,903 |  | 404,957
Current period charge-offs | 0 | 0 | 0 | 0 |
Total |  |  |  |  |
Total | 6,900,174 |  | 6,900,174 |  | 6,565,711
Current period charge-offs | 101 | 0 | 101 | 0 |
Corporate AgFinance |  |  |  |  |
Year One |  |  |  |  |
Total | 72,344 |  | 72,344 |  | 207,279
Current period charge-offs | 0 | 0 | 0 | 0 |
Year Two |  |  |  |  |
Total | 203,158 |  | 203,158 |  | 112,444
Current period charge-offs | 0 | 0 | 0 | 0 |
Year Three |  |  |  |  |
Total | 84,080 |  | 84,080 |  | 277,400
Current period charge-offs | 0 | 0 | 0 | 0 |
Year Four |  |  |  |  |
Total | 260,615 |  | 260,615 |  | 173,980
Current period charge-offs | 0 | 0 | 0 | 0 |
Year Five |  |  |  |  |
Total | 172,029 |  | 172,029 |  | 119,685
Current period charge-offs | 0 | 0 | 0 | 0 |
Prior |  |  |  |  |
Total | 224,691 |  | 224,691 |  | 112,947
Current period charge-offs | 0 | 0 | 0 | 0 |
Revolving Loans - Amortized Cost Basis |  |  |  |  |
Total | 269,250 |  | 269,250 |  | 255,988
Current period charge-offs | 3,942 | 0 | 3,942 | 0 |
Total |  |  |  |  |
Total | 1,286,167 |  | 1,286,167 |  | 1,259,723
Current period charge-offs | 3,942 | 0 | 3,942 | 0 |
Rural Infrastructure Finance |  |  |  |  |
Year One |  |  |  |  |
Total | 441,378 |  | 441,378 |  | 618,946
Current period charge-offs | 0 | 0 | 0 | 0 |
Year Two |  |  |  |  |
Total | 547,120 |  | 547,120 |  | 720,522
Current period charge-offs | 0 | 0 | 0 | 0 |
Year Three |  |  |  |  |
Total | 684,571 |  | 684,571 |  | 187,746
Current period charge-offs | 0 | 0 | 0 | 0 |
Year Four |  |  |  |  |
Total | 188,592 |  | 188,592 |  | 593,841
Current period charge-offs | 0 | 0 | 0 | 0 |
Year Five |  |  |  |  |
Total | 570,283 |  | 570,283 |  | 701,937
Current period charge-offs | 0 | 0 | 0 | 0 |
Prior |  |  |  |  |
Total | 1,272,743 |  | 1,272,743 |  | 611,548
Current period charge-offs | 0 | 0 | 0 | 0 |
Revolving Loans - Amortized Cost Basis |  |  |  |  |
Total | 274,551 |  | 274,551 |  | 100,223
Current period charge-offs | 0 | 0 | 0 | 0 |
Total |  |  |  |  |
Total | 3,979,238 |  | 3,979,238 |  | 3,534,763
Current period charge-offs | 0 | $ 0 | 0 | $ 0 |
Acceptable | Farm & Ranch |  |  |  |  |
Year One |  |  |  |  |
Total | 492,566 |  | 492,566 |  | 530,956
Year Two |  |  |  |  |
Total | 487,709 |  | 487,709 |  | 1,137,226
Year Three |  |  |  |  |
Total | 1,117,947 |  | 1,117,947 |  | 1,653,780
Year Four |  |  |  |  |
Total | 1,597,313 |  | 1,597,313 |  | 1,120,917
Year Five |  |  |  |  |
Total | 1,066,209 |  | 1,066,209 |  | 323,922
Prior |  |  |  |  |
Total | 1,323,782 |  | 1,323,782 |  | 1,068,862
Revolving Loans - Amortized Cost Basis |  |  |  |  |
Total | 369,423 |  | 369,423 |  | 385,766
Total |  |  |  |  |
Total | 6,454,949 |  | 6,454,949 |  | 6,221,429
Acceptable | Corporate AgFinance |  |  |  |  |
Year One |  |  |  |  |
Total | 72,344 |  | 72,344 |  | 207,279
Year Two |  |  |  |  |
Total | 158,535 |  | 158,535 |  | 97,922
Year Three |  |  |  |  |
Total | 76,550 |  | 76,550 |  | 261,992
Year Four |  |  |  |  |
Total | 245,625 |  | 245,625 |  | 123,158
Year Five |  |  |  |  |
Total | 95,662 |  | 95,662 |  | 99,352
Prior |  |  |  |  |
Total | 211,201 |  | 211,201 |  | 112,947
Revolving Loans - Amortized Cost Basis |  |  |  |  |
Total | 237,897 |  | 237,897 |  | 254,325
Total |  |  |  |  |
Total | 1,097,814 |  | 1,097,814 |  | 1,156,975
Acceptable | Rural Infrastructure Finance |  |  |  |  |
Year One |  |  |  |  |
Total | 441,378 |  | 441,378 |  | 618,946
Year Two |  |  |  |  |
Total | 547,120 |  | 547,120 |  | 681,272
Year Three |  |  |  |  |
Total | 649,907 |  | 649,907 |  | 187,746
Year Four |  |  |  |  |
Total | 188,592 |  | 188,592 |  | 593,841
Year Five |  |  |  |  |
Total | 570,283 |  | 570,283 |  | 701,937
Prior |  |  |  |  |
Total | 1,272,743 |  | 1,272,743 |  | 611,548
Revolving Loans - Amortized Cost Basis |  |  |  |  |
Total | 274,551 |  | 274,551 |  | 100,223
Total |  |  |  |  |
Total | 3,944,574 |  | 3,944,574 |  | 3,495,513
Special mention | Farm & Ranch |  |  |  |  |
Year One |  |  |  |  |
Total | 30,336 |  | 30,336 |  | 70,524
Year Two |  |  |  |  |
Total | 97,476 |  | 97,476 |  | 46,529
Year Three |  |  |  |  |
Total | 32,482 |  | 32,482 |  | 27,957
Year Four |  |  |  |  |
Total | 28,695 |  | 28,695 |  | 11,591
Year Five |  |  |  |  |
Total | 14,252 |  | 14,252 |  | 4,782
Prior |  |  |  |  |
Total | 31,330 |  | 31,330 |  | 21,257
Revolving Loans - Amortized Cost Basis |  |  |  |  |
Total | 6,010 |  | 6,010 |  | 8,777
Total |  |  |  |  |
Total | 240,581 |  | 240,581 |  | 191,417
Special mention | Corporate AgFinance |  |  |  |  |
Year One |  |  |  |  |
Total | 0 |  | 0 |  | 0
Year Two |  |  |  |  |
Total | 44,623 |  | 44,623 |  | 14,522
Year Three |  |  |  |  |
Total | 0 |  | 0 |  | 15,408
Year Four |  |  |  |  |
Total | 14,990 |  | 14,990 |  | 50,822
Year Five |  |  |  |  |
Total | 76,367 |  | 76,367 |  | 20,333
Prior |  |  |  |  |
Total | 13,490 |  | 13,490 |  | 0
Revolving Loans - Amortized Cost Basis |  |  |  |  |
Total | 23,848 |  | 23,848 |  | 1,663
Total |  |  |  |  |
Total | 173,318 |  | 173,318 |  | 102,748
Special mention | Rural Infrastructure Finance |  |  |  |  |
Year One |  |  |  |  |
Total | 0 |  | 0 |  | 0
Year Two |  |  |  |  |
Total | 0 |  | 0 |  | 9,850
Year Three |  |  |  |  |
Total | 34,664 |  | 34,664 |  | 0
Year Four |  |  |  |  |
Total | 0 |  | 0 |  | 0
Year Five |  |  |  |  |
Total | 0 |  | 0 |  | 0
Prior |  |  |  |  |
Total | 0 |  | 0 |  | 0
Revolving Loans - Amortized Cost Basis |  |  |  |  |
Total | 0 |  | 0 |  | 0
Total |  |  |  |  |
Total | 34,664 |  | 34,664 |  | 9,850
Substandard | Farm & Ranch |  |  |  |  |
Year One |  |  |  |  |
Total | 0 |  | 0 |  | 3,357
Year Two |  |  |  |  |
Total | 21,686 |  | 21,686 |  | 23,987
Year Three |  |  |  |  |
Total | 32,285 |  | 32,285 |  | 10,164
Year Four |  |  |  |  |
Total | 20,273 |  | 20,273 |  | 17,395
Year Five |  |  |  |  |
Total | 34,754 |  | 34,754 |  | 28,942
Prior |  |  |  |  |
Total | 77,176 |  | 77,176 |  | 58,606
Revolving Loans - Amortized Cost Basis |  |  |  |  |
Total | 18,470 |  | 18,470 |  | 10,414
Total |  |  |  |  |
Total | 204,644 |  | 204,644 |  | 152,865
Substandard | Corporate AgFinance |  |  |  |  |
Year One |  |  |  |  |
Total | 0 |  | 0 |  | 0
Year Two |  |  |  |  |
Total | 0 |  | 0 |  | 0
Year Three |  |  |  |  |
Total | 7,530 |  | 7,530 |  | 0
Year Four |  |  |  |  |
Total | 0 |  | 0 |  | 0
Year Five |  |  |  |  |
Total | 0 |  | 0 |  | 0
Prior |  |  |  |  |
Total | 0 |  | 0 |  | 0
Revolving Loans - Amortized Cost Basis |  |  |  |  |
Total | 7,505 |  | 7,505 |  | 0
Total |  |  |  |  |
Total | 15,035 |  | 15,035 |  | 0
Substandard | Rural Infrastructure Finance |  |  |  |  |
Year One |  |  |  |  |
Total | 0 |  | 0 |  | 0
Year Two |  |  |  |  |
Total | 0 |  | 0 |  | 29,400
Year Three |  |  |  |  |
Total | 0 |  | 0 |  | 0
Year Four |  |  |  |  |
Total | 0 |  | 0 |  | 0
Year Five |  |  |  |  |
Total | 0 |  | 0 |  | 0
Prior |  |  |  |  |
Total | 0 |  | 0 |  | 0
Revolving Loans - Amortized Cost Basis |  |  |  |  |
Total | 0 |  | 0 |  | 0
Total |  |  |  |  |
Total | $ 0 |  | $ 0 |  | $ 29,400

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 6 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479319/326-20-50-6 Reference 2: 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 + 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_AgriculturalFinanceMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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_RuralInfrastructureFinanceMember
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: |