XML 70 R60.htm IDEA: XBRL DOCUMENT
v3.22.2

Guarantees and Commitments - Credit Quality Indicators (Details) - USD ($) $ in Thousands | 3 Months Ended | 6 Months Ended |
--- | --- | --- | ---
Jun. 30, 2022 | Jun. 30, 2021 | Jun. 30, 2022 | Jun. 30, 2021 | Dec. 31, 2021
Total |  |  |  |  |
Total | $ 8,911,475 |  | $ 8,911,475 |  | $ 8,314,096
Current period, net charge offs | 0 |  | (84) |  |
Agricultural Finance |  |  |  |  |
Year One |  |  |  |  |
Total | 824,430 |  | 824,430 |  | 2,224,509
Current period charge-offs | 0 | $ 0 | 0 | $ 0 |
Current period recoveries | 0 | 0 | 0 | 0 |
Current period, net charge offs | 0 | 0 | 0 | 0 |
Year Two |  |  |  |  |
Total | 2,180,452 |  | 2,180,452 |  | 1,596,563
Current period charge-offs | 0 | 0 | 0 | 0 |
Current period recoveries | 0 | 0 | 0 | 0 |
Current period, net charge offs | 0 | 0 | 0 | 0 |
Year Three |  |  |  |  |
Total | 1,512,669 |  | 1,512,669 |  | 617,576
Current period charge-offs | 0 | 0 | 0 | 0 |
Current period recoveries | 0 | 0 | 0 | 0 |
Current period, net charge offs | 0 | 0 | 0 | 0 |
Year Four |  |  |  |  |
Total | 553,062 |  | 553,062 |  | 400,104
Current period charge-offs | 0 | 0 | 0 | 0 |
Current period recoveries | 0 | 0 | 0 | 0 |
Current period, net charge offs | 0 | 0 | 0 | 0 |
Year Five |  |  |  |  |
Total | 355,192 |  | 355,192 |  | 351,687
Current period charge-offs | 0 | 0 | 0 | 0 |
Current period recoveries | 0 | 0 | 0 | 0 |
Current period, net charge offs | 0 | 0 | 0 | 0 |
Prior |  |  |  |  |
Total | 1,206,459 |  | 1,206,459 |  | 1,095,135
Current period charge-offs | 0 | 0 | (84) | 0 |
Current period recoveries | 0 | 0 | 0 | 0 |
Current period, net charge offs | 0 | 0 | (84) | 0 |
Revolving Loans - Amortized Cost Basis |  |  |  |  |
Total | 566,598 |  | 566,598 |  | 561,419
Current period charge-offs | 0 | 0 | 0 | 0 |
Current period recoveries | 0 | 0 | 0 | 0 |
Current period, net charge offs | 0 | 0 | 0 | 0 |
Total |  |  |  |  |
Total | 7,198,862 |  | 7,198,862 |  | 6,846,993
Current period charge-offs | 0 | 0 | (84) | 0 |
Current period recoveries | 0 | 0 | 0 | 0 |
Current period, net charge offs |  | 0 |  | 0 |
Rural Infrastructure Finance |  |  |  |  |
Year One |  |  |  |  |
Total | 415,701 |  | 415,701 |  | 242,570
Current period charge-offs | 0 | 0 | 0 | 0 |
Current period recoveries | 0 | 0 | 0 | 0 |
Current period, net charge offs | 0 | 0 | 0 | 0 |
Year Two |  |  |  |  |
Total | 206,967 |  | 206,967 |  | 635,166
Current period charge-offs | 0 | 0 | 0 | 0 |
Current period recoveries | 0 | 0 | 0 | 0 |
Current period, net charge offs | 0 | 0 | 0 | 0 |
Year Three |  |  |  |  |
Total | 638,579 |  | 638,579 |  | 774,941
Current period charge-offs | 0 | 0 | 0 | 0 |
Current period recoveries | 0 | 0 | 0 | 0 |
Current period, net charge offs | 0 | 0 | 0 | 0 |
Year Four |  |  |  |  |
Total | 757,248 |  | 757,248 |  | 8,100
Current period charge-offs | 0 | 0 | 0 | 0 |
Current period recoveries | 0 | 0 | 0 | 0 |
Current period, net charge offs | 0 | 0 | 0 | 0 |
Year Five |  |  |  |  |
Total | 3,792 |  | 3,792 |  | 86,878
Current period charge-offs | 0 | 0 | 0 | 0 |
Current period recoveries | 0 | 0 | 0 | 0 |
Current period, net charge offs | 0 | 0 | 0 | 0 |
Prior |  |  |  |  |
Total | 693,200 |  | 693,200 |  | 628,903
Current period charge-offs | 0 | 0 | 0 | 0 |
Current period recoveries | 0 | 0 | 0 | 0 |
Current period, net charge offs | 0 | 0 | 0 | 0 |
Revolving Loans - Amortized Cost Basis |  |  |  |  |
Total | 42,506 |  | 42,506 |  | 12,578
Current period charge-offs | 0 | 0 | 0 | 0 |
Current period recoveries | 0 | 0 | 0 | 0 |
Current period, net charge offs | 0 | 0 | 0 | 0 |
Total |  |  |  |  |
Total | 2,757,993 |  | 2,757,993 |  | 2,389,136
Current period charge-offs | 0 | 0 | 0 | 0 |
Current period recoveries | 0 | 0 | 0 | 0 |
Current period, net charge offs | 0 | 0 | 0 | 0 |
Acceptable | Agricultural Finance |  |  |  |  |
Year One |  |  |  |  |
Total | 806,441 |  | 806,441 |  | 2,138,060
Year Two |  |  |  |  |
Total | 2,069,734 |  | 2,069,734 |  | 1,541,509
Year Three |  |  |  |  |
Total | 1,452,337 |  | 1,452,337 |  | 540,139
Year Four |  |  |  |  |
Total | 477,525 |  | 477,525 |  | 324,917
Year Five |  |  |  |  |
Total | 300,187 |  | 300,187 |  | 303,852
Prior |  |  |  |  |
Total | 1,100,135 |  | 1,100,135 |  | 1,004,709
Revolving Loans - Amortized Cost Basis |  |  |  |  |
Total | 537,395 |  | 537,395 |  | 545,370
Total |  |  |  |  |
Total | 6,743,754 |  | 6,743,754 |  | 6,398,556
Acceptable | Rural Infrastructure Finance |  |  |  |  |
Year One |  |  |  |  |
Total | 415,701 |  | 415,701 |  | 242,570
Year Two |  |  |  |  |
Total | 206,967 |  | 206,967 |  | 612,366
Year Three |  |  |  |  |
Total | 638,579 |  | 638,579 |  | 774,941
Year Four |  |  |  |  |
Total | 757,248 |  | 757,248 |  | 8,100
Year Five |  |  |  |  |
Total | 3,792 |  | 3,792 |  | 86,878
Prior |  |  |  |  |
Total | 693,200 |  | 693,200 |  | 628,903
Revolving Loans - Amortized Cost Basis |  |  |  |  |
Total | 42,506 |  | 42,506 |  | 12,578
Total |  |  |  |  |
Total | 2,757,993 |  | 2,757,993 |  | 2,366,336
Special mention | Agricultural Finance |  |  |  |  |
Year One |  |  |  |  |
Total | 17,989 |  | 17,989 |  | 84,795
Year Two |  |  |  |  |
Total | 104,734 |  | 104,734 |  | 50,057
Year Three |  |  |  |  |
Total | 40,616 |  | 40,616 |  | 51,200
Year Four |  |  |  |  |
Total | 50,915 |  | 50,915 |  | 48,078
Year Five |  |  |  |  |
Total | 34,897 |  | 34,897 |  | 9,132
Prior |  |  |  |  |
Total | 25,188 |  | 25,188 |  | 14,646
Revolving Loans - Amortized Cost Basis |  |  |  |  |
Total | 11,459 |  | 11,459 |  | 4,771
Total |  |  |  |  |
Total | 285,798 |  | 285,798 |  | 262,679
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 | Agricultural Finance |  |  |  |  |
Year One |  |  |  |  |
Total | 0 |  | 0 |  | 1,654
Year Two |  |  |  |  |
Total | 5,984 |  | 5,984 |  | 4,997
Year Three |  |  |  |  |
Total | 19,716 |  | 19,716 |  | 26,237
Year Four |  |  |  |  |
Total | 24,622 |  | 24,622 |  | 27,109
Year Five |  |  |  |  |
Total | 20,108 |  | 20,108 |  | 38,703
Prior |  |  |  |  |
Total | 81,136 |  | 81,136 |  | 75,780
Revolving Loans - Amortized Cost Basis |  |  |  |  |
Total | 17,744 |  | 17,744 |  | 11,278
Total |  |  |  |  |
Total | 169,310 |  | 169,310 |  | 185,758
Substandard | Rural Infrastructure Finance |  |  |  |  |
Year One |  |  |  |  |
Total | 0 |  | 0 |  | 0
Year Two |  |  |  |  |
Total | 0 |  | 0 |  | 22,800
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 |  | 22,800
LTSPCs and Farmer Mac Guaranteed Securities | Agricultural Finance |  |  |  |  |
Year One |  |  |  |  |
Total | 77,240 |  | 77,240 |  | 376,027
Current period charge-offs | 0 |  | 0 | 0 |
Current period recoveries | 0 |  | 0 | 0 |
Current period, net charge offs | 0 |  | 0 | 0 |
Year Two |  |  |  |  |
Total | 448,463 |  | 448,463 |  | 544,098
Current period charge-offs | 0 |  | 0 | 0 |
Current period recoveries | 0 |  | 0 | 0 |
Current period, net charge offs | 0 |  | 0 | 0 |
Year Three |  |  |  |  |
Total | 508,637 |  | 508,637 |  | 245,089
Current period charge-offs | 0 |  | 0 | 0 |
Current period recoveries | 0 |  | 0 | 0 |
Current period, net charge offs | 0 |  | 0 | 0 |
Year Four |  |  |  |  |
Total | 237,501 |  | 237,501 |  | 200,298
Current period charge-offs | 0 |  | 0 | 0 |
Current period recoveries | 0 |  | 0 | 0 |
Current period, net charge offs | 0 |  | 0 | 0 |
Year Five |  |  |  |  |
Total | 190,161 |  | 190,161 |  | 251,812
Current period charge-offs | 0 |  | 0 | 0 |
Current period recoveries | 0 |  | 0 | 0 |
Current period, net charge offs | 0 |  | 0 | 0 |
Prior |  |  |  |  |
Total | 1,202,651 |  | 1,202,651 |  | 1,089,305
Current period charge-offs | 0 |  | 0 | 0 |
Current period recoveries | 0 |  | 0 | 0 |
Current period, net charge offs | 0 |  | 0 | 0 |
Revolving Loans - Amortized Cost Basis |  |  |  |  |
Total | 264,567 |  | 264,567 |  | 258,127
Current period charge-offs | 0 |  | 0 | 0 |
Current period recoveries | 0 |  | 0 | 0 |
Current period, net charge offs | 0 |  | 0 | 0 |
Total |  |  |  |  |
Total | 2,929,220 |  | 2,929,220 |  | 2,964,756
Current period charge-offs | 0 |  | 0 | 0 |
Current period recoveries | 0 |  | 0 | 0 |
Current period, net charge offs | 0 |  | 0 | 0 |
LTSPCs and Farmer Mac Guaranteed Securities | Acceptable | Agricultural Finance |  |  |  |  |
Year One |  |  |  |  |
Total | 77,240 |  | 77,240 |  | 376,027
Year Two |  |  |  |  |
Total | 442,971 |  | 442,971 |  | 537,521
Year Three |  |  |  |  |
Total | 504,112 |  | 504,112 |  | 244,365
Year Four |  |  |  |  |
Total | 236,781 |  | 236,781 |  | 188,452
Year Five |  |  |  |  |
Total | 183,049 |  | 183,049 |  | 235,865
Prior |  |  |  |  |
Total | 1,134,264 |  | 1,134,264 |  | 1,013,937
Revolving Loans - Amortized Cost Basis |  |  |  |  |
Total | 256,933 |  | 256,933 |  | 252,039
Total |  |  |  |  |
Total | 2,835,350 |  | 2,835,350 |  | 2,848,206
LTSPCs and Farmer Mac Guaranteed Securities | Special mention | Agricultural Finance |  |  |  |  |
Year One |  |  |  |  |
Total | 0 |  | 0 |  | 0
Year Two |  |  |  |  |
Total | 0 |  | 0 |  | 5,270
Year Three |  |  |  |  |
Total | 1,882 |  | 1,882 |  | 0
Year Four |  |  |  |  |
Total | 0 |  | 0 |  | 6,808
Year Five |  |  |  |  |
Total | 1,219 |  | 1,219 |  | 3,154
Prior |  |  |  |  |
Total | 44,111 |  | 44,111 |  | 38,042
Revolving Loans - Amortized Cost Basis |  |  |  |  |
Total | 2,296 |  | 2,296 |  | 2,354
Total |  |  |  |  |
Total | 49,508 |  | 49,508 |  | 55,628
LTSPCs and Farmer Mac Guaranteed Securities | Substandard | Agricultural Finance |  |  |  |  |
Year One |  |  |  |  |
Total | 0 |  | 0 |  | 0
Year Two |  |  |  |  |
Total | 5,492 |  | 5,492 |  | 1,307
Year Three |  |  |  |  |
Total | 2,643 |  | 2,643 |  | 724
Year Four |  |  |  |  |
Total | 720 |  | 720 |  | 5,038
Year Five |  |  |  |  |
Total | 5,893 |  | 5,893 |  | 12,793
Prior |  |  |  |  |
Total | 24,276 |  | 24,276 |  | 37,326
Revolving Loans - Amortized Cost Basis |  |  |  |  |
Total | 5,338 |  | 5,338 |  | 3,734
Total |  |  |  |  |
Total | 44,362 |  | 44,362 |  | 60,922
LTSPCs | Rural Infrastructure Finance |  |  |  |  |
Year One |  |  |  |  |
Total | 0 |  | 0 |  | 0
Current period charge-offs | 0 | 0 | 0 | 0 |
Current period recoveries | 0 | 0 | 0 | 0 |
Current period, net charge offs | 0 | 0 | 0 | 0 |
Year Two |  |  |  |  |
Total | 0 |  | 0 |  | 0
Current period charge-offs | 0 | 0 | 0 | 0 |
Current period recoveries | 0 | 0 | 0 | 0 |
Current period, net charge offs | 0 | 0 | 0 | 0 |
Year Three |  |  |  |  |
Total | 0 |  | 0 |  | 0
Current period charge-offs | 0 | 0 | 0 | 0 |
Current period recoveries | 0 | 0 | 0 | 0 |
Current period, net charge offs | 0 | 0 | 0 | 0 |
Year Four |  |  |  |  |
Total | 0 |  | 0 |  | 0
Current period charge-offs | 0 | 0 | 0 | 0 |
Current period recoveries | 0 | 0 | 0 | 0 |
Current period, net charge offs | 0 | 0 | 0 | 0 |
Year Five |  |  |  |  |
Total | 0 |  | 0 |  | 0
Current period charge-offs | 0 | 0 | 0 | 0 |
Current period recoveries | 0 | 0 | 0 | 0 |
Current period, net charge offs | 0 | 0 | 0 | 0 |
Prior |  |  |  |  |
Total | 490,615 |  | 490,615 |  | 499,594
Current period charge-offs | 0 | 0 | 0 | 0 |
Current period recoveries | 0 | 0 | 0 | 0 |
Current period, net charge offs | 0 | 0 | 0 | 0 |
Revolving Loans - Amortized Cost Basis |  |  |  |  |
Total | 82,314 |  | 82,314 |  | 57,243
Current period charge-offs | 0 | 0 | 0 | 0 |
Current period recoveries | 0 | 0 | 0 | 0 |
Current period, net charge offs | 0 | 0 | 0 | 0 |
Total |  |  |  |  |
Total | 572,929 |  | 572,929 |  | 556,837
Current period charge-offs | 0 | 0 | 0 | 0 |
Current period recoveries | 0 | 0 | 0 | 0 |
Current period, net charge offs | 0 | $ 0 | 0 | $ 0 |
LTSPCs | Acceptable | 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 | 490,615 |  | 490,615 |  | 499,594
Revolving Loans - Amortized Cost Basis |  |  |  |  |
Total | 82,314 |  | 82,314 |  | 57,243
Total |  |  |  |  |
Total | 572,929 |  | 572,929 |  | 556,837
LTSPCs | 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
LTSPCs | Substandard | 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

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, Recovery + References No definition available. + Details
Name: | agm_FinancingReceivableOriginatedFiveOrMoreYearsBeforeLatestFiscalYearExcludingAccruedInterestAllowanceForCreditLossRecovery
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, 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 Five or More Years before Latest Fiscal Year, Excluding Accrued Interest, Allowance for Credit Loss, Writeoff, After Recovery + References No definition available. + Details
Name: | agm_FinancingReceivableOriginatedFiveOrMoreYearsBeforeLatestFiscalYearExcludingAccruedInterestAllowanceForCreditLossWriteoffAfterRecovery
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, Recovery + References No definition available. + Details
Name: | agm_FinancingReceivableOriginatedFourYearsBeforeLatestFiscalYearExcludingAccruedInterestAllowanceForCreditLossRecovery
Namespace Prefix: | agm_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
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 Four Years before Latest Fiscal Year, Excluding Accrued Interest, Allowance for Credit Loss, Writeoff, After Recovery + References No definition available. + Details
Name: | agm_FinancingReceivableOriginatedFourYearsBeforeLatestFiscalYearExcludingAccruedInterestAllowanceForCreditLossWriteoffAfterRecovery
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, Recovery + References No definition available. + Details
Name: | agm_FinancingReceivableOriginatedInCurrentFiscalYearExcludingAccruedInterestAllowanceForCreditLossRecovery
Namespace Prefix: | agm_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
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 Current Fiscal Year, Excluding Accrued Interest, Allowance for Credit Loss, Writeoff, After Recovery + References No definition available. + Details
Name: | agm_FinancingReceivableOriginatedInCurrentFiscalYearExcludingAccruedInterestAllowanceForCreditLossWriteoffAfterRecovery
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, Recovery + References No definition available. + Details
Name: | agm_FinancingReceivableOriginatedInFiscalYearBeforeLatestFiscalYearExcludingAccruedInterestAllowanceForCreditLossRecovery
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, 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 in Fiscal Year before Latest Fiscal Year, Excluding Accrued Interest, Allowance for Credit Loss, Writeoff, After Recovery + References No definition available. + Details
Name: | agm_FinancingReceivableOriginatedInFiscalYearBeforeLatestFiscalYearExcludingAccruedInterestAllowanceForCreditLossWriteoffAfterRecovery
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, Recovery + References No definition available. + Details
Name: | agm_FinancingReceivableOriginatedThreeYearsBeforeLatestFiscalYearExcludingAccruedInterestAllowanceForCreditLossRecovery
Namespace Prefix: | agm_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

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

X
- Definition Financing Receivable, Originated Three Years before Latest Fiscal Year, Excluding Accrued Interest, llowance for Credit Loss, Writeoff + References No definition available. + Details
Name: | agm_FinancingReceivableOriginatedThreeYearsBeforeLatestFiscalYearExcludingAccruedInterestLlowanceForCreditLossWriteoff
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, Recovery + References No definition available. + Details
Name: | agm_FinancingReceivableOriginatedTwoYearsBeforeLatestFiscalYearExcludingAccruedInterestAllowanceForCreditLossRecovery
Namespace Prefix: | agm_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
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, Originated Two Years before Latest Fiscal Year, Excluding Accrued Interest, Allowance for Credit Loss, Writeoff, After Recovery + References No definition available. + Details
Name: | agm_FinancingReceivableOriginatedTwoYearsBeforeLatestFiscalYearExcludingAccruedInterestAllowanceForCreditLossWriteoffAfterRecovery
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, Recovery + References No definition available. + Details
Name: | agm_FinancingReceivableRevolvingExcludingAccruedInterestAllowanceForCreditLossRecovery
Namespace Prefix: | agm_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
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
- Definition Financing Receivable, Revolving, Excluding Accrued Interest, Allowance for Credit Loss, Writeoff, After Recovery + References No definition available. + Details
Name: | agm_FinancingReceivableRevolvingExcludingAccruedInterestAllowanceForCreditLossWriteoffAfterRecovery
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 increase in allowance for credit loss on financing receivable from recovery. Excludes net investment in lease. + 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 (e) -URI https://asc.fasb.org/extlink&oid=124255953&loc=SL82919249-210447 + Details
Name: | us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossRecovery
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
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 -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 50 -Paragraph 13 -Subparagraph (d) -URI https://asc.fasb.org/extlink&oid=124255953&loc=SL82919249-210447 + Details
Name: | us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoff
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount, excluding accrued interest, of decrease (increase) in allowance for credit loss on financing receivable from writeoff (recovery). Excludes net investment in lease. + 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 https://asc.fasb.org/extlink&oid=124255953&loc=SL82919249-210447 + Details
Name: | us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoffAfterRecovery
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/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 50 -Paragraph 5 -Subparagraph (b) -URI https://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 https://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 https://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 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/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 50 -Paragraph 3B -URI https://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 https://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 https://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 Amortized cost 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 https://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 https://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 https://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 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 -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 55 -Paragraph 79 -URI https://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 https://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 https://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 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/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 50 -Paragraph 6 -URI https://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 https://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 https://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 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/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 50 -Paragraph 6 -URI https://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 https://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 https://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 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/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 50 -Paragraph 3B -URI https://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 https://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 https://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 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/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 50 -Paragraph 3B -URI https://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 https://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 https://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: |

X
- Details
Name: | us-gaap_GuaranteeObligationsByNatureAxis=agm_LongTermStandbyPurchaseCommitmentsAndGuaranteedSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_GuaranteeObligationsByNatureAxis=agm_LongTermStandbyPurchaseCommitmentsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |