XML 62 R52.htm IDEA: XBRL DOCUMENT
v3.22.1

Loans - Schedule of Financing Receivables Credit Quality Indicators (Details) - USD ($) $ in Thousands | 3 Months Ended | 12 Months Ended
--- | --- | ---
Mar. 31, 2022 | Mar. 31, 2021 | Dec. 31, 2021
Total |  |  |
Total | $ 8,481,310 |  | $ 8,314,096
Agricultural Finance |  |  |
Year One |  |  |
Total | 407,133 |  | 2,224,509
Current period charge-offs | 0 |  | 0
Current period recoveries | 0 |  | 0
Current period Agricultural Finance net charge-offs | 0 |  | 0
Year Two |  |  |
Total | 2,207,958 |  | 1,596,563
Current period charge-offs | 0 |  | 0
Current period recoveries | 0 |  | 0
Current period Agricultural Finance net charge-offs | 0 |  | 0
Year Three |  |  |
Total | 1,537,824 |  | 617,576
Current period charge-offs | 0 |  | 0
Current period recoveries | 0 |  | 0
Current period Agricultural Finance net charge-offs | 0 |  | 0
Year Four |  |  |
Total | 571,198 |  | 400,104
Current period charge-offs | 0 |  | 0
Current period recoveries | 0 |  | 0
Current period Agricultural Finance net charge-offs | 0 |  | 0
Year Five |  |  |
Total | 372,486 |  | 351,687
Current period charge-offs | 0 |  | 0
Current period recoveries | 0 |  | 0
Current period Agricultural Finance net charge-offs | 0 |  | 0
Prior |  |  |
Total | 1,295,289 |  | 1,095,135
Current period charge-offs | (84) |  | 0
Current period recoveries | 0 |  | 0
Current period Agricultural Finance net charge-offs | (84) |  | 0
Revolving Loans - Amortized Cost Basis |  |  |
Total | 540,341 |  | 561,419
Current period charge-offs | 0 |  | 0
Current period recoveries | 0 |  | 0
Current period Agricultural Finance net charge-offs | 0 |  | 0
Total |  |  |
Total | 6,932,229 |  | 6,846,993
Current period charge-offs | (84) | $ 0 | 0
Current period recoveries | 0 |  | 0
Current period Agricultural Finance net charge-offs | (84) |  | 0
Rural Infrastructure Finance |  |  |
Year One |  |  |
Total | 175,976 |  | 242,570
Current period charge-offs | 0 |  | 0
Current period recoveries | 0 |  | 0
Current period Agricultural Finance net charge-offs | 0 |  | 0
Year Two |  |  |
Total | 230,729 |  | 635,166
Current period charge-offs | 0 |  | 0
Current period recoveries | 0 |  | 0
Current period Agricultural Finance net charge-offs | 0 |  | 0
Year Three |  |  |
Total | 643,667 |  | 774,941
Current period charge-offs | 0 |  | 0
Current period recoveries | 0 |  | 0
Current period Agricultural Finance net charge-offs | 0 |  | 0
Year Four |  |  |
Total | 766,559 |  | 8,100
Current period charge-offs | 0 |  | 0
Current period recoveries | 0 |  | 0
Current period Agricultural Finance net charge-offs | 0 |  | 0
Year Five |  |  |
Total | 8,017 |  | 86,878
Current period charge-offs | 0 |  | 0
Current period recoveries | 0 |  | 0
Current period Agricultural Finance net charge-offs | 0 |  | 0
Prior |  |  |
Total | 695,266 |  | 628,903
Current period charge-offs | 0 |  | 0
Current period recoveries | 0 |  | 0
Current period Agricultural Finance net charge-offs | 0 |  | 0
Revolving Loans - Amortized Cost Basis |  |  |
Total | 31,637 |  | 12,578
Current period charge-offs | 0 |  | 0
Current period recoveries | 0 |  | 0
Current period Agricultural Finance net charge-offs | 0 |  | 0
Total |  |  |
Total | 2,551,851 |  | 2,389,136
Current period charge-offs | 0 | $ 0 | 0
Current period recoveries | 0 |  | 0
Current period Agricultural Finance net charge-offs | 0 |  | 0
Acceptable | Agricultural Finance |  |  |
Year One |  |  |
Total | 400,124 |  | 2,138,060
Year Two |  |  |
Total | 2,080,013 |  | 1,541,509
Year Three |  |  |
Total | 1,473,300 |  | 540,139
Year Four |  |  |
Total | 504,767 |  | 324,917
Year Five |  |  |
Total | 306,332 |  | 303,852
Prior |  |  |
Total | 1,179,889 |  | 1,004,709
Revolving Loans - Amortized Cost Basis |  |  |
Total | 512,678 |  | 545,370
Total |  |  |
Total | 6,457,103 |  | 6,398,556
Acceptable | Rural Infrastructure Finance |  |  |
Year One |  |  |
Total | 175,976 |  | 242,570
Year Two |  |  |
Total | 230,729 |  | 612,366
Year Three |  |  |
Total | 643,667 |  | 774,941
Year Four |  |  |
Total | 766,559 |  | 8,100
Year Five |  |  |
Total | 8,017 |  | 86,878
Prior |  |  |
Total | 695,266 |  | 628,903
Revolving Loans - Amortized Cost Basis |  |  |
Total | 31,637 |  | 12,578
Total |  |  |
Total | 2,551,851 |  | 2,366,336
Special mention | Agricultural Finance |  |  |
Year One |  |  |
Total | 7,009 |  | 84,795
Year Two |  |  |
Total | 123,893 |  | 50,057
Year Three |  |  |
Total | 38,473 |  | 51,200
Year Four |  |  |
Total | 43,697 |  | 48,078
Year Five |  |  |
Total | 45,722 |  | 9,132
Prior |  |  |
Total | 25,750 |  | 14,646
Revolving Loans - Amortized Cost Basis |  |  |
Total | 9,279 |  | 4,771
Total |  |  |
Total | 293,823 |  | 262,679
Special mention | Rural Infrastructure Finance |  |  |
Year One |  |  |
Total | 0 |  | 0
Year Two |  |  |
Total | 0 |  | 0
Year Three |  |  |
Total | 0 |  | 0
Year Four |  |  |
Total | 0 |  | 0
Year Five |  |  |
Total | 0 |  | 0
Prior |  |  |
Total | 0 |  | 0
Revolving Loans - Amortized Cost Basis |  |  |
Total | 0 |  | 0
Total |  |  |
Total | 0 |  | 0
Substandard | Agricultural Finance |  |  |
Year One |  |  |
Total | 0 |  | 1,654
Year Two |  |  |
Total | 4,052 |  | 4,997
Year Three |  |  |
Total | 26,051 |  | 26,237
Year Four |  |  |
Total | 22,734 |  | 27,109
Year Five |  |  |
Total | 20,432 |  | 38,703
Prior |  |  |
Total | 89,650 |  | 75,780
Revolving Loans - Amortized Cost Basis |  |  |
Total | 18,384 |  | 11,278
Total |  |  |
Total | 181,303 |  | 185,758
Substandard | Rural Infrastructure Finance |  |  |
Year One |  |  |
Total | 0 |  | 0
Year Two |  |  |
Total | 0 |  | 22,800
Year Three |  |  |
Total | 0 |  | 0
Year Four |  |  |
Total | 0 |  | 0
Year Five |  |  |
Total | 0 |  | 0
Prior |  |  |
Total | 0 |  | 0
Revolving Loans - Amortized Cost Basis |  |  |
Total | 0 |  | 0
Total |  |  |
Total | $ 0 |  | $ 22,800

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, Allowance for Credit Loss, Recovery + References No definition available. + Details
Name: | agm_FinancingReceivableOriginatedFiveOrMoreYearsBeforeLatestFiscalYearAllowanceForCreditLossRecovery
Namespace Prefix: | agm_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Financing Receivable, Originated Five or More Years before Latest Fiscal Year, Allowance for Credit Loss, Writeoff + References No definition available. + Details
Name: | agm_FinancingReceivableOriginatedFiveOrMoreYearsBeforeLatestFiscalYearAllowanceForCreditLossWriteoff
Namespace Prefix: | agm_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Financing Receivable, Originated Five or More Years before Latest Fiscal Year, Allowance for Credit Loss, Writeoff, After Recovery + References No definition available. + Details
Name: | agm_FinancingReceivableOriginatedFiveOrMoreYearsBeforeLatestFiscalYearAllowanceForCreditLossWriteoffAfterRecovery
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, Allowance for Credit Loss, Recovery + References No definition available. + Details
Name: | agm_FinancingReceivableOriginatedFourYearsBeforeLatestFiscalYearAllowanceForCreditLossRecovery
Namespace Prefix: | agm_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Financing Receivable, Originated Four Years before Latest Fiscal Year, Allowance for Credit Loss, Writeoff + References No definition available. + Details
Name: | agm_FinancingReceivableOriginatedFourYearsBeforeLatestFiscalYearAllowanceForCreditLossWriteoff
Namespace Prefix: | agm_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Financing Receivable, Originated Four Years before Latest Fiscal Year, Allowance for Credit Loss, Writeoff, After Recovery + References No definition available. + Details
Name: | agm_FinancingReceivableOriginatedFourYearsBeforeLatestFiscalYearAllowanceForCreditLossWriteoffAfterRecovery
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, Allowance for Credit Loss, Recovery + References No definition available. + Details
Name: | agm_FinancingReceivableOriginatedInCurrentFiscalYearAllowanceForCreditLossRecovery
Namespace Prefix: | agm_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Financing Receivable, Originated in Current Fiscal Year, Allowance for Credit Loss, Writeoff + References No definition available. + Details
Name: | agm_FinancingReceivableOriginatedInCurrentFiscalYearAllowanceForCreditLossWriteoff
Namespace Prefix: | agm_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Financing Receivable, Originated in Current Fiscal Year, Allowance for Credit Loss, Writeoff, After Recovery + References No definition available. + Details
Name: | agm_FinancingReceivableOriginatedInCurrentFiscalYearAllowanceForCreditLossWriteoffAfterRecovery
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, Allowance for Credit Loss, Recovery + References No definition available. + Details
Name: | agm_FinancingReceivableOriginatedInFiscalYearBeforeLatestFiscalYearAllowanceForCreditLossRecovery
Namespace Prefix: | agm_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Financing Receivable, Originated in Fiscal Year before Latest Fiscal Year, Allowance for Credit Loss, Writeoff + References No definition available. + Details
Name: | agm_FinancingReceivableOriginatedInFiscalYearBeforeLatestFiscalYearAllowanceForCreditLossWriteoff
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, Allowance for Credit Loss, Writeoff, After Recovery + References No definition available. + Details
Name: | agm_FinancingReceivableOriginatedInFiscalYearBeforeLatestFiscalYearAllowanceForCreditLossWriteoffAfterRecovery
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, Allowance for Credit Loss, Recovery + References No definition available. + Details
Name: | agm_FinancingReceivableOriginatedThreeYearsBeforeLatestFiscalYearAllowanceForCreditLossRecovery
Namespace Prefix: | agm_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Financing Receivable, Originated Three Years before Latest Fiscal Year, Allowance for Credit Loss, Writeoff + References No definition available. + Details
Name: | agm_FinancingReceivableOriginatedThreeYearsBeforeLatestFiscalYearAllowanceForCreditLossWriteoff
Namespace Prefix: | agm_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Financing Receivable, Originated Three Years before Latest Fiscal Year, Allowance for Credit Loss, Writeoff, After Recovery + References No definition available. + Details
Name: | agm_FinancingReceivableOriginatedThreeYearsBeforeLatestFiscalYearAllowanceForCreditLossWriteoffAfterRecovery
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, Allowance for Credit Loss, Recovery + References No definition available. + Details
Name: | agm_FinancingReceivableOriginatedTwoYearsBeforeLatestFiscalYearAllowanceForCreditLossRecovery
Namespace Prefix: | agm_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Financing Receivable, Originated Two Years before Latest Fiscal Year, Allowance for Credit Loss, Writeoff + References No definition available. + Details
Name: | agm_FinancingReceivableOriginatedTwoYearsBeforeLatestFiscalYearAllowanceForCreditLossWriteoff
Namespace Prefix: | agm_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Financing Receivable, Originated Two Years before Latest Fiscal Year, Allowance for Credit Loss, Writeoff, After Recovery + References No definition available. + Details
Name: | agm_FinancingReceivableOriginatedTwoYearsBeforeLatestFiscalYearAllowanceForCreditLossWriteoffAfterRecovery
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, Allowance for Credit Loss, Recovery + References No definition available. + Details
Name: | agm_FinancingReceivableRevolvingAllowanceForCreditLossRecovery
Namespace Prefix: | agm_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Financing Receivable, Revolving, Allowance for Credit Loss, Writeoff + References No definition available. + Details
Name: | agm_FinancingReceivableRevolvingAllowanceForCreditLossWriteoff
Namespace Prefix: | agm_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Financing Receivable, Revolving, Allowance for Credit Loss, Writeoff, After Recovery + References No definition available. + Details
Name: | agm_FinancingReceivableRevolvingAllowanceForCreditLossWriteoffAfterRecovery
Namespace Prefix: | agm_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount, after recovery, of writeoff of financing receivable, charged against allowance for credit loss. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 50 -Paragraph 13 -URI http://asc.fasb.org/extlink&oid=124255953&loc=SL82919249-210447 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 55 -Paragraph 79 -URI http://asc.fasb.org/extlink&oid=124267575&loc=SL82922352-210448 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher SEC -Name Regulation S-K (SK) -Number 229 -Section 1405 -Paragraph (a) -Subparagraph (4) + Details
Name: | us-gaap_FinancingReceivableAllowanceForCreditLossWriteoffAfterRecovery
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of increase in allowance for credit loss on financing receivable from recovery. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 55 -Paragraph 79 -URI http://asc.fasb.org/extlink&oid=124267575&loc=SL82922352-210448 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 50 -Paragraph 13 -Subparagraph (e) -URI http://asc.fasb.org/extlink&oid=124255953&loc=SL82919249-210447 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 11B -Subparagraph (c)(4) -URI http://asc.fasb.org/extlink&oid=123577603&loc=SL6953423-111524 + Details
Name: | us-gaap_FinancingReceivableAllowanceForCreditLossesRecovery
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of writeoff of financing receivable, charged against allowance for credit loss. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 50 -Paragraph 13 -Subparagraph (d) -URI http://asc.fasb.org/extlink&oid=124255953&loc=SL82919249-210447 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 11B -Subparagraph (c)(3) -URI http://asc.fasb.org/extlink&oid=123577603&loc=SL6953423-111524 Reference 3: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 55 -Paragraph 79 -URI http://asc.fasb.org/extlink&oid=124267575&loc=SL82922352-210448 + Details
Name: | us-gaap_FinancingReceivableAllowanceForCreditLossesWriteOffs
Namespace Prefix: | us-gaap_
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, before allowance for credit loss, of financing receivable. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 50 -Paragraph 5 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=124255953&loc=SL82919230-210447 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 45 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=124255206&loc=SL82895884-210446 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 50 -Paragraph 3B -URI http://asc.fasb.org/extlink&oid=124255953&loc=SL120267963-210447 + Details
Name: | us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount excluding accrued interest of financing receivable originated more than five years prior to current fiscal year. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 50 -Paragraph 3B -URI http://asc.fasb.org/extlink&oid=124255953&loc=SL120267963-210447 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 50 -Paragraph 6 -URI http://asc.fasb.org/extlink&oid=124255953&loc=SL82919232-210447 Reference 3: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 55 -Paragraph 79 -URI http://asc.fasb.org/extlink&oid=124267575&loc=SL82922352-210448 + 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 financing receivable that can be withdrawn, repaid, and redrawn. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 50 -Paragraph 6 -URI http://asc.fasb.org/extlink&oid=124255953&loc=SL82919232-210447 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 55 -Paragraph 79 -URI http://asc.fasb.org/extlink&oid=124267575&loc=SL82922352-210448 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 50 -Paragraph 3B -URI http://asc.fasb.org/extlink&oid=124255953&loc=SL120267963-210447 + 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 financing receivable originated four years prior to current fiscal year. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 55 -Paragraph 79 -URI http://asc.fasb.org/extlink&oid=124267575&loc=SL82922352-210448 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 50 -Paragraph 6 -URI http://asc.fasb.org/extlink&oid=124255953&loc=SL82919232-210447 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 50 -Paragraph 3B -URI http://asc.fasb.org/extlink&oid=124255953&loc=SL120267963-210447 + 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 financing receivable originated three years prior to current fiscal year. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 50 -Paragraph 6 -URI http://asc.fasb.org/extlink&oid=124255953&loc=SL82919232-210447 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 55 -Paragraph 79 -URI http://asc.fasb.org/extlink&oid=124267575&loc=SL82922352-210448 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 50 -Paragraph 3B -URI http://asc.fasb.org/extlink&oid=124255953&loc=SL120267963-210447 + 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 financing receivable originated in current fiscal year. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 50 -Paragraph 6 -URI http://asc.fasb.org/extlink&oid=124255953&loc=SL82919232-210447 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 55 -Paragraph 79 -URI http://asc.fasb.org/extlink&oid=124267575&loc=SL82922352-210448 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 50 -Paragraph 3B -URI http://asc.fasb.org/extlink&oid=124255953&loc=SL120267963-210447 + 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 financing receivable originated two years prior to current fiscal year. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 50 -Paragraph 3B -URI http://asc.fasb.org/extlink&oid=124255953&loc=SL120267963-210447 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 50 -Paragraph 6 -URI http://asc.fasb.org/extlink&oid=124255953&loc=SL82919232-210447 Reference 3: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 55 -Paragraph 79 -URI http://asc.fasb.org/extlink&oid=124267575&loc=SL82922352-210448 + 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 financing receivable originated in fiscal year prior to current fiscal year. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 50 -Paragraph 3B -URI http://asc.fasb.org/extlink&oid=124255953&loc=SL120267963-210447 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 50 -Paragraph 6 -URI http://asc.fasb.org/extlink&oid=124255953&loc=SL82919232-210447 Reference 3: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 55 -Paragraph 79 -URI http://asc.fasb.org/extlink&oid=124267575&loc=SL82922352-210448 + 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_AgriculturalFinanceMember
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: |