XML 65 R55.htm IDEA: XBRL DOCUMENT
v3.23.3

Loans - Schedule of Financing Receivables Credit Quality Indicators (Details) - USD ($) $ in Thousands | 3 Months Ended | 9 Months Ended |
--- | --- | --- | ---
Sep. 30, 2023 | Sep. 30, 2022 | Sep. 30, 2023 | Sep. 30, 2022 | Dec. 31, 2022
Total |  |  |  |  |
Total | $ 9,130,933 |  | $ 9,130,933 |  | $ 9,008,979
Farm & Ranch |  |  |  |  |
Year One |  |  |  |  |
Total | 396,304 |  | 396,304 |  | 1,252,022
Current period charge-offs | 0 | $ 0 | 0 | $ 0 |
Year Two |  |  |  |  |
Total | 1,213,248 |  | 1,213,248 |  | 1,781,621
Current period charge-offs | 0 | 0 | 0 | 0 |
Year Three |  |  |  |  |
Total | 1,702,094 |  | 1,702,094 |  | 1,236,079
Current period charge-offs | 0 | 0 | 0 | 0 |
Year Four |  |  |  |  |
Total | 1,163,359 |  | 1,163,359 |  | 395,895
Current period charge-offs | 0 | 0 | 0 | 0 |
Year Five |  |  |  |  |
Total | 360,067 |  | 360,067 |  | 265,661
Current period charge-offs | 0 | 0 | 0 | 0 |
Prior |  |  |  |  |
Total | 1,172,364 |  | 1,172,364 |  | 1,032,986
Current period charge-offs | 0 | 0 | 0 | (84) |
Revolving Loans - Amortized Cost Basis |  |  |  |  |
Total | 403,236 |  | 403,236 |  | 398,062
Current period charge-offs | 0 | 0 | 0 | 0 |
Total |  |  |  |  |
Total | 6,410,672 |  | 6,410,672 |  | 6,362,326
Current period charge-offs | 0 | 0 | 0 | (84) |
Corporate AgFinance |  |  |  |  |
Year One |  |  |  |  |
Total | 180,030 |  | 180,030 |  | 145,263
Current period charge-offs | 0 | 0 | 0 | 0 |
Year Two |  |  |  |  |
Total | 113,149 |  | 113,149 |  | 299,729
Current period charge-offs | 0 | 0 | 0 | 0 |
Year Three |  |  |  |  |
Total | 278,204 |  | 278,204 |  | 226,158
Current period charge-offs | 0 | 0 | 0 | 0 |
Year Four |  |  |  |  |
Total | 174,541 |  | 174,541 |  | 128,928
Current period charge-offs | 0 | 0 | 0 | 0 |
Year Five |  |  |  |  |
Total | 120,043 |  | 120,043 |  | 76,454
Current period charge-offs | 0 | 0 | 0 | 0 |
Prior |  |  |  |  |
Total | 114,779 |  | 114,779 |  | 44,827
Current period charge-offs | 0 | 0 | 0 | 0 |
Revolving Loans - Amortized Cost Basis |  |  |  |  |
Total | 243,031 |  | 243,031 |  | 244,894
Current period charge-offs | 0 | 0 | 0 | 0 |
Total |  |  |  |  |
Total | 1,223,777 |  | 1,223,777 |  | 1,166,253
Current period charge-offs | 0 | 0 | 0 | 0 |
Rural Infrastructure Finance |  |  |  |  |
Year One |  |  |  |  |
Total | 450,241 |  | 450,241 |  | 741,021
Current period charge-offs | 0 | 0 | 0 | 0 |
Year Two |  |  |  |  |
Total | 724,129 |  | 724,129 |  | 220,420
Current period charge-offs | 0 | 0 | 0 | 0 |
Year Three |  |  |  |  |
Total | 189,385 |  | 189,385 |  | 629,223
Current period charge-offs | 0 | 0 | 0 | 0 |
Year Four |  |  |  |  |
Total | 598,689 |  | 598,689 |  | 739,270
Current period charge-offs | 0 | 0 | 0 | 0 |
Year Five |  |  |  |  |
Total | 711,794 |  | 711,794 |  | 7,932
Current period charge-offs | 0 | 0 | 0 | 0 |
Prior |  |  |  |  |
Total | 610,062 |  | 610,062 |  | 649,830
Current period charge-offs | 0 | 0 | 0 | 0 |
Revolving Loans - Amortized Cost Basis |  |  |  |  |
Total | 58,413 |  | 58,413 |  | 33,570
Current period charge-offs | 0 | 0 | 0 | 0 |
Total |  |  |  |  |
Total | 3,342,713 |  | 3,342,713 |  | 3,021,266
Current period charge-offs | 0 | $ 0 | 0 | $ 0 |
Acceptable | Farm & Ranch |  |  |  |  |
Year One |  |  |  |  |
Total | 346,745 |  | 346,745 |  | 1,157,829
Year Two |  |  |  |  |
Total | 1,143,457 |  | 1,143,457 |  | 1,704,547
Year Three |  |  |  |  |
Total | 1,633,550 |  | 1,633,550 |  | 1,187,474
Year Four |  |  |  |  |
Total | 1,129,203 |  | 1,129,203 |  | 360,704
Year Five |  |  |  |  |
Total | 317,213 |  | 317,213 |  | 242,491
Prior |  |  |  |  |
Total | 1,077,958 |  | 1,077,958 |  | 947,535
Revolving Loans - Amortized Cost Basis |  |  |  |  |
Total | 379,009 |  | 379,009 |  | 385,503
Total |  |  |  |  |
Total | 6,027,135 |  | 6,027,135 |  | 5,986,083
Acceptable | Corporate AgFinance |  |  |  |  |
Year One |  |  |  |  |
Total | 180,030 |  | 180,030 |  | 145,263
Year Two |  |  |  |  |
Total | 98,524 |  | 98,524 |  | 299,729
Year Three |  |  |  |  |
Total | 262,572 |  | 262,572 |  | 221,560
Year Four |  |  |  |  |
Total | 123,685 |  | 123,685 |  | 108,230
Year Five |  |  |  |  |
Total | 99,696 |  | 99,696 |  | 76,454
Prior |  |  |  |  |
Total | 113,758 |  | 113,758 |  | 44,827
Revolving Loans - Amortized Cost Basis |  |  |  |  |
Total | 240,977 |  | 240,977 |  | 232,107
Total |  |  |  |  |
Total | 1,119,242 |  | 1,119,242 |  | 1,128,170
Acceptable | Rural Infrastructure Finance |  |  |  |  |
Year One |  |  |  |  |
Total | 450,241 |  | 450,241 |  | 741,021
Year Two |  |  |  |  |
Total | 694,635 |  | 694,635 |  | 220,420
Year Three |  |  |  |  |
Total | 189,385 |  | 189,385 |  | 629,223
Year Four |  |  |  |  |
Total | 598,689 |  | 598,689 |  | 739,270
Year Five |  |  |  |  |
Total | 711,794 |  | 711,794 |  | 7,932
Prior |  |  |  |  |
Total | 610,062 |  | 610,062 |  | 649,830
Revolving Loans - Amortized Cost Basis |  |  |  |  |
Total | 58,413 |  | 58,413 |  | 33,570
Total |  |  |  |  |
Total | 3,313,219 |  | 3,313,219 |  | 3,021,266
Special mention | Farm & Ranch |  |  |  |  |
Year One |  |  |  |  |
Total | 49,039 |  | 49,039 |  | 91,099
Year Two |  |  |  |  |
Total | 48,891 |  | 48,891 |  | 68,260
Year Three |  |  |  |  |
Total | 61,030 |  | 61,030 |  | 25,629
Year Four |  |  |  |  |
Total | 12,530 |  | 12,530 |  | 11,254
Year Five |  |  |  |  |
Total | 19,164 |  | 19,164 |  | 5,325
Prior |  |  |  |  |
Total | 29,464 |  | 29,464 |  | 17,797
Revolving Loans - Amortized Cost Basis |  |  |  |  |
Total | 13,430 |  | 13,430 |  | 2,452
Total |  |  |  |  |
Total | 233,548 |  | 233,548 |  | 221,816
Special mention | Corporate AgFinance |  |  |  |  |
Year One |  |  |  |  |
Total | 0 |  | 0 |  | 0
Year Two |  |  |  |  |
Total | 14,625 |  | 14,625 |  | 0
Year Three |  |  |  |  |
Total | 15,632 |  | 15,632 |  | 0
Year Four |  |  |  |  |
Total | 50,856 |  | 50,856 |  | 20,698
Year Five |  |  |  |  |
Total | 20,347 |  | 20,347 |  | 0
Prior |  |  |  |  |
Total | 1,021 |  | 1,021 |  | 0
Revolving Loans - Amortized Cost Basis |  |  |  |  |
Total | 2,054 |  | 2,054 |  | 2,145
Total |  |  |  |  |
Total | 104,535 |  | 104,535 |  | 22,843
Special mention | Rural Infrastructure Finance |  |  |  |  |
Year One |  |  |  |  |
Total | 0 |  | 0 |  | 0
Year Two |  |  |  |  |
Total | 0 |  | 0 |  | 0
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 |  | 0
Substandard | Farm & Ranch |  |  |  |  |
Year One |  |  |  |  |
Total | 520 |  | 520 |  | 3,094
Year Two |  |  |  |  |
Total | 20,900 |  | 20,900 |  | 8,814
Year Three |  |  |  |  |
Total | 7,514 |  | 7,514 |  | 22,976
Year Four |  |  |  |  |
Total | 21,626 |  | 21,626 |  | 23,937
Year Five |  |  |  |  |
Total | 23,690 |  | 23,690 |  | 17,845
Prior |  |  |  |  |
Total | 64,942 |  | 64,942 |  | 67,654
Revolving Loans - Amortized Cost Basis |  |  |  |  |
Total | 10,797 |  | 10,797 |  | 10,107
Total |  |  |  |  |
Total | 149,989 |  | 149,989 |  | 154,427
Substandard | Corporate AgFinance |  |  |  |  |
Year One |  |  |  |  |
Total | 0 |  | 0 |  | 0
Year Two |  |  |  |  |
Total | 0 |  | 0 |  | 0
Year Three |  |  |  |  |
Total | 0 |  | 0 |  | 4,598
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 |  | 10,642
Total |  |  |  |  |
Total | 0 |  | 0 |  | 15,240
Substandard | Rural Infrastructure Finance |  |  |  |  |
Year One |  |  |  |  |
Total | 0 |  | 0 |  | 0
Year Two |  |  |  |  |
Total | 29,494 |  | 29,494 |  | 0
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 | $ 29,494 |  | $ 29,494 |  | $ 0

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 Five or More Years before Latest Fiscal Year, Excluding Accrued Interest, Allowance for Credit Loss, Writeoff + References No definition available. + Details
Name: | agm_FinancingReceivableOriginatedFiveOrMoreYearsBeforeLatestFiscalYearExcludingAccruedInterestAllowanceForCreditLossWriteoff
Namespace Prefix: | agm_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
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 Four Years before Latest Fiscal Year, Excluding Accrued Interest, Allowance for Credit Loss, Writeoff + References No definition available. + Details
Name: | agm_FinancingReceivableOriginatedFourYearsBeforeLatestFiscalYearExcludingAccruedInterestAllowanceForCreditLossWriteoff
Namespace Prefix: | agm_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
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 Current Fiscal Year, Excluding Accrued Interest, Allowance for Credit Loss, Writeoff + References No definition available. + Details
Name: | agm_FinancingReceivableOriginatedInCurrentFiscalYearExcludingAccruedInterestAllowanceForCreditLossWriteoff
Namespace Prefix: | agm_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
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 in Fiscal Year before Latest Fiscal Year, Excluding Accrued Interest, Allowance for Credit Loss, Writeoff + References No definition available. + Details
Name: | agm_FinancingReceivableOriginatedInFiscalYearBeforeLatestFiscalYearExcludingAccruedInterestAllowanceForCreditLossWriteoff
Namespace Prefix: | agm_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
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 Three Years before Latest Fiscal Year, Excluding Accrued Interest, Allowance for Credit Loss, Writeoff + References No definition available. + Details
Name: | agm_FinancingReceivableOriginatedThreeYearsBeforeLatestFiscalYearExcludingAccruedInterestAllowanceForCreditLossWriteoff
Namespace Prefix: | agm_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
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, Originated Two Years before Latest Fiscal Year, Excluding Accrued Interest, Allowance for Credit Loss, Writeoff + References No definition available. + Details
Name: | agm_FinancingReceivableOriginatedTwoYearsBeforeLatestFiscalYearExcludingAccruedInterestAllowanceForCreditLossWriteoff
Namespace Prefix: | agm_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
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
- Definition Financing Receivable, Revolving, Excluding Accrued Interest, Allowance for Credit Loss, Writeoff + References No definition available. + Details
Name: | agm_FinancingReceivableRevolvingExcludingAccruedInterestAllowanceForCreditLossWriteoff
Namespace Prefix: | agm_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
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 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 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 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 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 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 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
- Details
Name: | us-gaap_StatementBusinessSegmentsAxis=agm_FarmRanchMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementBusinessSegmentsAxis=agm_CorporateAgFinanceMember
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: |