XML 84 R73.htm IDEA: XBRL DOCUMENT
v3.24.2.u1

BUSINESS SEGMENT REPORTING (Details) $ in Thousands | 3 Months Ended | 6 Months Ended |
--- | --- | --- | ---
Jun. 30, 2024 USD ($) | Jun. 30, 2023 USD ($) | Jun. 30, 2024 USD ($) segment | Jun. 30, 2023 USD ($) | Dec. 31, 2023 USD ($)
Segment Reporting [Abstract] |  |  |  |  |
Number of operating segments | segment |  |  | 7 |  |
Segment Reporting Information, Profit (Loss) [Abstract] |  |  |  |  |
Net interest income | $ 87,340 | $ 78,677 | $ 173,708 | $ 157,735 |
Guarantee and commitment fees | 3,797 | 3,489 | 7,714 | 7,422 |
Gain on sale of investment securities | 1,052 | 0 | 1,052 | 0 |
Losses on sale of mortgage loans | (1,147) | 0 | (1,147) | 0 |
Other income/(expense) | (1,125) | 2,451 | 2,203 | 4,076 |
Total revenues | 89,917 | 84,617 | 183,530 | 169,233 |
Provision for losses | (6,179) | (1,073) | (4,378) | (1,620) |
(Provision for)/release of reserve for losses | (51) | (69) | 18 | (272) |
Operating expenses | (24,469) | (24,188) | (51,706) | (47,901) |
Total non-interest expense | (24,520) | (24,257) | (51,688) | (48,173) |
Core earnings before income taxes | 59,218 | 59,287 | 127,464 | 119,440 |
Income tax (expense)/benefit | (12,113) | (12,075) | (26,613) | (25,193) |
Core earnings before preferred stock dividends | 47,105 | 47,212 | 100,851 | 94,247 |
Preferred stock dividends | (6,792) | (6,791) | (13,583) | (13,582) |
Segment core earnings/(losses) | 40,313 | 40,421 | 87,268 | 80,665 |
Total Assets | 30,194,314 | 27,659,565 | 30,194,314 | 27,659,565 | $ 29,524,382
Total on- and off-balance sheet program assets at principal balance | 28,758,339 | 26,737,052 | 28,758,339 | 26,737,052 |
Reconciling Adjustments |  |  |  |  |
Segment Reporting Information, Profit (Loss) [Abstract] |  |  |  |  |
Net interest income | 0 | 0 | 0 | 0 |
Less: reconciling adjustments | 3,744 | (3,155) | 7,068 | (1,270) |
Net effective spread | 3,744 | (3,155) | 7,068 | (1,270) |
Guarantee and commitment fees | (1,459) | (1,092) | (2,524) | (1,813) |
Gain on sale of investment securities | 0 |  | 0 |  |
Losses on sale of mortgage loans | 0 |  | 0 |  |
Other income/(expense) | (1,606) | 2,042 | 645 | 2,600 |
Total revenues | 679 | (2,205) | 5,189 | (483) |
Provision for losses | 0 | 0 | 0 | 0 |
(Provision for)/release of reserve for losses | 0 | 0 | 0 | 0 |
Operating expenses | 0 | 0 | 0 | 0 |
Total non-interest expense | 0 | 0 | 0 | 0 |
Core earnings before income taxes | 679 | (2,205) | 5,189 | (483) |
Income tax (expense)/benefit | (143) | 464 | (1,090) | 102 |
Core earnings before preferred stock dividends | 536 | (1,741) | 4,099 | (381) |
Preferred stock dividends | 0 | 0 | 0 | 0 |
Segment core earnings/(losses) | 536 | (1,741) | 4,099 | (381) |
Total Assets | 0 | 0 | 0 | 0 |
Total on- and off-balance sheet program assets at principal balance | 0 | 0 | $ 0 | 0 |
Agricultural Finance |  |  |  |  |
Segment Reporting [Abstract] |  |  |  |  |
Number of operating segments | segment |  |  | 2 |  |
Segment Reporting Information, Profit (Loss) [Abstract] |  |  |  |  |
(Provision for)/release of reserve for losses | (36) | (75) | $ 28 | (652) |
Farm & Ranch | Operating Segments |  |  |  |  |
Segment Reporting Information, Profit (Loss) [Abstract] |  |  |  |  |
Net interest income | 35,522 | 35,425 | 69,411 | 68,936 |
Less: reconciling adjustments | (1,366) | (1,037) | (2,412) | (2,083) |
Net effective spread | 34,156 | 34,388 | 66,999 | 66,853 |
Guarantee and commitment fees | 4,612 | 4,221 | 9,096 | 8,513 |
Gain on sale of investment securities | 0 |  | 0 |  |
Losses on sale of mortgage loans | 0 |  | 0 |  |
Other income/(expense) | 517 | 342 | 1,512 | 1,409 |
Total revenues | 39,285 | 38,951 | 77,607 | 76,775 |
Provision for losses | (211) | (5) | (772) | 123 |
(Provision for)/release of reserve for losses | (36) | (75) | 28 | (652) |
Operating expenses | 0 | 0 | 0 | 0 |
Total non-interest expense | (36) | (75) | 28 | (652) |
Core earnings before income taxes | 39,038 | 38,871 | 76,863 | 76,246 |
Income tax (expense)/benefit | (8,198) | (8,163) | (16,141) | (16,012) |
Core earnings before preferred stock dividends | 30,840 | 30,708 | 60,722 | 60,234 |
Preferred stock dividends | 0 | 0 | 0 | 0 |
Segment core earnings/(losses) | 30,840 | 30,708 | 60,722 | 60,234 |
Total Assets | 14,962,357 | 14,456,296 | 14,962,357 | 14,456,296 |
Total on- and off-balance sheet program assets at principal balance | 18,504,501 | 18,116,503 | 18,504,501 | 18,116,503 |
Corporate AgFinance | Operating Segments |  |  |  |  |
Segment Reporting Information, Profit (Loss) [Abstract] |  |  |  |  |
Net interest income | 7,866 | 7,444 | 15,837 | 14,592 |
Less: reconciling adjustments | 0 | 0 | 0 | 0 |
Net effective spread | 7,866 | 7,444 | 15,837 | 14,592 |
Guarantee and commitment fees | 127 | 62 | 214 | 115 |
Gain on sale of investment securities | 0 |  | 0 |  |
Losses on sale of mortgage loans | (1,147) |  | (1,147) |  |
Other income/(expense) | (5) | 12 | 7 | 12 |
Total revenues | 6,841 | 7,518 | 14,911 | 14,719 |
Provision for losses | (5,354) | (327) | (4,976) | (4,628) |
(Provision for)/release of reserve for losses | 0 | 0 | 0 | 0 |
Operating expenses | 0 | 0 | 0 | 0 |
Total non-interest expense | 0 | 0 | 0 | 0 |
Core earnings before income taxes | 1,487 | 7,191 | 9,935 | 10,091 |
Income tax (expense)/benefit | (312) | (1,510) | (2,086) | (2,119) |
Core earnings before preferred stock dividends | 1,175 | 5,681 | 7,849 | 7,972 |
Preferred stock dividends | 0 | 0 | 0 | 0 |
Segment core earnings/(losses) | 1,175 | 5,681 | 7,849 | 7,972 |
Total Assets | 1,660,154 | 1,584,841 | 1,660,154 | 1,584,841 |
Total on- and off-balance sheet program assets at principal balance | 1,816,893 | 1,680,756 | 1,816,893 | 1,680,756 |
Rural Infrastructure Finance |  |  |  |  |
Segment Reporting Information, Profit (Loss) [Abstract] |  |  |  |  |
(Provision for)/release of reserve for losses | (16) | 6 | (11) | 380 |
Rural Utilities | Operating Segments |  |  |  |  |
Segment Reporting Information, Profit (Loss) [Abstract] |  |  |  |  |
Net interest income | 7,672 | 5,839 | 14,937 | 11,379 |
Less: reconciling adjustments | (26) | (31) | (60) | (64) |
Net effective spread | 7,646 | 5,808 | 14,877 | 11,315 |
Guarantee and commitment fees | 301 | 281 | 650 | 562 |
Gain on sale of investment securities | 0 |  | 0 |  |
Losses on sale of mortgage loans | 0 |  | 0 |  |
Other income/(expense) | 0 | 0 | 0 | 0 |
Total revenues | 7,947 | 6,089 | 15,527 | 11,877 |
Provision for losses | 502 | (632) | 3,519 | 2,852 |
(Provision for)/release of reserve for losses | (15) | 6 | (10) | 380 |
Operating expenses | 0 | 0 | 0 | 0 |
Total non-interest expense | (15) | 6 | (10) | 380 |
Core earnings before income taxes | 8,434 | 5,463 | 19,036 | 15,109 |
Income tax (expense)/benefit | (1,771) | (1,147) | (3,998) | (3,173) |
Core earnings before preferred stock dividends | 6,663 | 4,316 | 15,038 | 11,936 |
Preferred stock dividends | 0 | 0 | 0 | 0 |
Segment core earnings/(losses) | 6,663 | 4,316 | 15,038 | 11,936 |
Total Assets | 7,135,581 | 6,169,811 | 7,135,581 | 6,169,811 |
Total on- and off-balance sheet program assets at principal balance | 7,561,473 | 6,611,892 | 7,561,473 | 6,611,892 |
Renewable Energy | Operating Segments |  |  |  |  |
Segment Reporting Information, Profit (Loss) [Abstract] |  |  |  |  |
Net interest income | 2,999 | 1,100 | 5,048 | 1,958 |
Less: reconciling adjustments | 0 | 0 | 0 | 0 |
Net effective spread | 2,999 | 1,100 | 5,048 | 1,958 |
Guarantee and commitment fees | 216 | 17 | 278 | 45 |
Gain on sale of investment securities | 0 |  | 0 |  |
Losses on sale of mortgage loans | 0 |  | 0 |  |
Other income/(expense) | 0 | 0 | 0 | 0 |
Total revenues | 3,215 | 1,117 | 5,326 | 2,003 |
Provision for losses | (1,117) | (110) | (2,151) | 28 |
(Provision for)/release of reserve for losses | 0 | 0 | 0 | 0 |
Operating expenses | 0 | 0 | 0 | 0 |
Total non-interest expense | 0 | 0 | 0 | 0 |
Core earnings before income taxes | 2,098 | 1,007 | 3,175 | 2,031 |
Income tax (expense)/benefit | (441) | (211) | (667) | (426) |
Core earnings before preferred stock dividends | 1,657 | 796 | 2,508 | 1,605 |
Preferred stock dividends | 0 | 0 | 0 | 0 |
Segment core earnings/(losses) | 1,657 | 796 | 2,508 | 1,605 |
Total Assets | 736,936 | 314,538 | 736,936 | 314,538 |
Total on- and off-balance sheet program assets at principal balance | 875,472 | 327,901 | 875,472 | 327,901 |
Funding | Operating Segments |  |  |  |  |
Segment Reporting Information, Profit (Loss) [Abstract] |  |  |  |  |
Net interest income | 32,620 | 28,402 | 67,339 | 60,946 |
Less: reconciling adjustments | (2,352) | 4,096 | (4,596) | 3,290 |
Net effective spread | 30,268 | 32,498 | 62,743 | 64,236 |
Guarantee and commitment fees | 0 | 0 | 0 | 0 |
Gain on sale of investment securities | 0 |  | 0 |  |
Losses on sale of mortgage loans | 0 |  | 0 |  |
Other income/(expense) | 0 | 0 | 0 | 0 |
Total revenues | 30,268 | 32,498 | 62,743 | 64,236 |
Provision for losses | 0 | 0 | 0 | 0 |
(Provision for)/release of reserve for losses | 0 | 0 | 0 | 0 |
Operating expenses | 0 | 0 | 0 | 0 |
Total non-interest expense | 0 | 0 | 0 | 0 |
Core earnings before income taxes | 30,268 | 32,498 | 62,743 | 64,236 |
Income tax (expense)/benefit | (6,355) | (6,825) | (13,174) | (13,490) |
Core earnings before preferred stock dividends | 23,913 | 25,673 | 49,569 | 50,746 |
Preferred stock dividends | 0 | 0 | 0 | 0 |
Segment core earnings/(losses) | 23,913 | 25,673 | 49,569 | 50,746 |
Total Assets | 0 | 0 | 0 | 0 |
Total on- and off-balance sheet program assets at principal balance | 0 | 0 | 0 | 0 |
Investments | Operating Segments |  |  |  |  |
Segment Reporting Information, Profit (Loss) [Abstract] |  |  |  |  |
Net interest income | 661 | 467 | 1,136 | (76) |
Less: reconciling adjustments | 0 | 127 | 0 | 127 |
Net effective spread | 661 | 594 | 1,136 | 51 |
Guarantee and commitment fees | 0 | 0 | 0 | 0 |
Gain on sale of investment securities | 1,052 |  | 1,052 |  |
Losses on sale of mortgage loans | 0 |  | 0 |  |
Other income/(expense) | 7 | 11 | 11 | 11 |
Total revenues | 1,720 | 605 | 2,199 | 62 |
Provision for losses | 1 | 1 | 2 | 5 |
(Provision for)/release of reserve for losses | 0 | 0 | 0 | 0 |
Operating expenses | 0 | 0 | 0 | 0 |
Total non-interest expense | 0 | 0 | 0 | 0 |
Core earnings before income taxes | 1,721 | 606 | 2,201 | 67 |
Income tax (expense)/benefit | (362) | (127) | (463) | (14) |
Core earnings before preferred stock dividends | 1,359 | 479 | 1,738 | 53 |
Preferred stock dividends | 0 | 0 | 0 | 0 |
Segment core earnings/(losses) | 1,359 | 479 | 1,738 | 53 |
Total Assets | 5,560,800 | 4,959,243 | 5,560,800 | 4,959,243 |
Total on- and off-balance sheet program assets at principal balance | 0 | 0 | 0 | 0 |
Corporate | Operating Segments |  |  |  |  |
Segment Reporting Information, Profit (Loss) [Abstract] |  |  |  |  |
Net interest income | 0 | 0 | 0 | 0 |
Less: reconciling adjustments | 0 | 0 | 0 | 0 |
Net effective spread | 0 | 0 | 0 | 0 |
Guarantee and commitment fees | 0 | 0 | 0 | 0 |
Gain on sale of investment securities | 0 |  | 0 |  |
Losses on sale of mortgage loans | 0 |  | 0 |  |
Other income/(expense) | (38) | 44 | 28 | 44 |
Total revenues | (38) | 44 | 28 | 44 |
Provision for losses | 0 | 0 | 0 | 0 |
(Provision for)/release of reserve for losses | 0 | 0 | 0 | 0 |
Operating expenses | (24,469) | (24,188) | (51,706) | (47,901) |
Total non-interest expense | (24,469) | (24,188) | (51,706) | (47,901) |
Core earnings before income taxes | (24,507) | (24,144) | (51,678) | (47,857) |
Income tax (expense)/benefit | 5,469 | 5,444 | 11,006 | 9,939 |
Core earnings before preferred stock dividends | (19,038) | (18,700) | (40,672) | (37,918) |
Preferred stock dividends | (6,792) | (6,791) | (13,583) | (13,582) |
Segment core earnings/(losses) | (25,830) | (25,491) | (54,255) | (51,500) |
Total Assets | 138,486 | 174,836 | 138,486 | 174,836 |
Total on- and off-balance sheet program assets at principal balance | $ 0 | $ 0 | $ 0 | $ 0 |

X
- Definition Net Effective Spread + References No definition available. + Details
Name: | agm_NetEffectiveSpread
Namespace Prefix: | agm_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Noninterest Expense, Excluding Loan, Lease and Other Losses + References No definition available. + Details
Name: | agm_NoninterestExpenseExcludingLoanLeaseAndOtherLosses
Namespace Prefix: | agm_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Noninterest Income, Excluding Provision for Other Credit Losses + References No definition available. + Details
Name: | agm_NoninterestIncomeExcludingProvisionForOtherCreditLosses
Namespace Prefix: | agm_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition On And Off Balance Sheet Program Assets, At Principal Balance + References No definition available. + Details
Name: | agm_OnAndOffBalanceSheetProgramAssetsAtPrincipalBalance
Namespace Prefix: | agm_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Other Non-Interest Income (Expense), Excluding Guarantee and Commitment Fees + References No definition available. + Details
Name: | agm_OtherNonInterestIncomeExpenseExcludingGuaranteeAndCommitmentFees
Namespace Prefix: | agm_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Provision for Loan And Securities Losses + References No definition available. + Details
Name: | agm_ProvisionForLoanAndSecuritiesLosses
Namespace Prefix: | agm_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Reconciling Adjustments From Net Interest Income To Net Effective Spread, Net + References No definition available. + Details
Name: | agm_ReconcilingAdjustmentsFromNetInterestIncomeToNetEffectiveSpreadNet
Namespace Prefix: | agm_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Segment core earnings - net income (loss) available to common shareholders, basic, adjusted for reconciling items related to segment reporting + References No definition available. + Details
Name: | agm_SegmentCoreEarnings
Namespace Prefix: | agm_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Segment core earnings before income taxes adjusted for reconciling items for segment reporting + References No definition available. + Details
Name: | agm_SegmentCoreEarningsBeforeIncomeTaxes
Namespace Prefix: | agm_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Segment Core Earnings, Before Preferred Stock Dividends And Attribution Of Income To Non-controlling Interest, Preferred Stock Dividends + References No definition available. + Details
Name: | agm_SegmentCoreEarningsBeforePreferredStockDividendsAndAttributionOfIncomeToNonControllingInterestPreferredStockDividends
Namespace Prefix: | agm_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of asset recognized for present right to economic benefit. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 280 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 48 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482785/280-10-55-48 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Topic 280 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 49 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482785/280-10-55-49 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 270 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (i) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482964/270-10-50-1 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 280 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 32 -Subparagraph (ee) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482810/280-10-50-32 Reference 5: http://fasb.org/us-gaap/role/ref/otherTransitionRef -Topic 280 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 32 -Subparagraph (d) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482810/280-10-50-32 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Topic 280 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 22 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482810/280-10-50-22 Reference 7: http://www.xbrl.org/2003/role/disclosureRef -Topic 810 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Subparagraph (bb) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481203/810-10-50-3 Reference 8: http://www.xbrl.org/2003/role/disclosureRef -Topic 810 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 25 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481231/810-10-45-25 Reference 9: http://www.xbrl.org/2003/role/disclosureRef -Topic 235 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08(g)(1)(ii)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480678/235-10-S99-1 Reference 10: http://www.xbrl.org/2003/role/disclosureRef -Topic 323 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481687/323-10-50-3 Reference 11: http://www.xbrl.org/2003/role/disclosureRef -Topic 825 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 28 -Subparagraph (f) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482907/825-10-50-28 Reference 12: http://www.xbrl.org/2003/role/exampleRef -Topic 852 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 10 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481372/852-10-55-10 Reference 13: http://www.xbrl.org/2003/role/exampleRef -Topic 946 -SubTopic 830 -Name Accounting Standards Codification -Section 55 -Paragraph 12 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479168/946-830-55-12 Reference 14: http://www.xbrl.org/2003/role/disclosureRef -Topic 944 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(a)(12)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478777/944-210-S99-1 Reference 15: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.6-04(8)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479170/946-210-S99-1 Reference 16: http://www.xbrl.org/2003/role/disclosureRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(18)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 17: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1A -Subparagraph (SX 210.13-01(a)(4)(i)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480097/470-10-S99-1A Reference 18: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 470 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1A -Subparagraph (SX 210.13-01(a)(4)(ii)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480097/470-10-S99-1A Reference 19: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 470 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1A -Subparagraph (SX 210.13-01(a)(4)(iii)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480097/470-10-S99-1A Reference 20: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1A -Subparagraph (SX 210.13-01(a)(4)(iii)(A)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480097/470-10-S99-1A Reference 21: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1A -Subparagraph (SX 210.13-01(a)(4)(iv)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480097/470-10-S99-1A Reference 22: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1A -Subparagraph (SX 210.13-01(a)(5)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480097/470-10-S99-1A Reference 23: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1B -Subparagraph (SX 210.13-02(a)(4)(i)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480097/470-10-S99-1B Reference 24: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1B -Subparagraph (SX 210.13-02(a)(4)(iii)(A)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480097/470-10-S99-1B Reference 25: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1B -Subparagraph (SX 210.13-02(a)(4)(iii)(B)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480097/470-10-S99-1B Reference 26: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1B -Subparagraph (SX 210.13-02(a)(4)(iv)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480097/470-10-S99-1B Reference 27: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1B -Subparagraph (SX 210.13-02(a)(5)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480097/470-10-S99-1B Reference 28: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 852 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 7 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481404/852-10-50-7 Reference 29: http://www.xbrl.org/2003/role/disclosureRef -Topic 280 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 30 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482810/280-10-50-30 Reference 30: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 942 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(11)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478546/942-210-S99-1 + Details
Name: | us-gaap_Assets
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of unrealized and realized gain (loss) on investment in debt and equity securities. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 220 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03(9)(a)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147483621/220-10-S99-2 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 220 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03(7)(c)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147483621/220-10-S99-2 + Details
Name: | us-gaap_DebtAndEquitySecuritiesGainLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The gains (losses) included in earnings that represent the difference between the sale price and the carrying value of loans made to finance real estate acquisitions. This element refers to the gain (loss) and not to the cash proceeds of the sale. This element is a noncash adjustment to net income when calculating net cash generated by operating activities using the indirect method. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section 45 -Paragraph 28 -Subparagraph (b) -SubTopic 10 -Topic 230 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482740/230-10-45-28 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name Accounting Standards Codification -Section 45 -Paragraph 1 -SubTopic 310 -Topic 944 -Publisher FASB -URI https://asc.fasb.org/1943274/2147477409/944-310-45-1 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Name Accounting Standards Codification -Section 45 -Paragraph 2 -SubTopic 310 -Topic 944 -Publisher FASB -URI https://asc.fasb.org/1943274/2147477409/944-310-45-2 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Name Accounting Standards Codification -Section 50 -Paragraph 1 -SubTopic 310 -Topic 944 -Publisher FASB -URI https://asc.fasb.org/1943274/2147477363/944-310-50-1 + Details
Name: | us-gaap_GainLossOnSaleOfMortgageLoans
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of current income tax expense (benefit) and deferred income tax expense (benefit) pertaining to continuing operations. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 270 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (i) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482964/270-10-50-1 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 280 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 32 -Subparagraph (ee) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482810/280-10-50-32 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 740 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 12 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482685/740-10-50-12 Reference 4: http://www.xbrl.org/2003/role/exampleRef -Topic 740 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 231 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482663/740-10-55-231 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Topic 250 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 9 -Publisher FASB -URI https://asc.fasb.org/1943274/2147483443/250-10-50-9 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Topic 740 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SAB Topic 6.I.7) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479360/740-10-S99-1 Reference 7: http://www.xbrl.org/2003/role/disclosureRef -Topic 250 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 8 -Publisher FASB -URI https://asc.fasb.org/1943274/2147483443/250-10-50-8 Reference 8: http://www.xbrl.org/2003/role/disclosureRef -Topic 740 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 10 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482685/740-10-50-10 Reference 9: http://www.xbrl.org/2003/role/disclosureRef -Topic 280 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 22 -Subparagraph (h) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482810/280-10-50-22 Reference 10: http://www.xbrl.org/2003/role/disclosureRef -Topic 944 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-04(9)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477250/944-220-S99-1 Reference 11: http://www.xbrl.org/2003/role/disclosureRef -Name Accounting Standards Codification -Section 45 -Paragraph 2 -Subparagraph (a) -SubTopic 20 -Topic 740 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482659/740-20-45-2 Reference 12: http://www.xbrl.org/2003/role/disclosureRef -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08(h)) -SubTopic 10 -Topic 235 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480678/235-10-S99-1 + Details
Name: | us-gaap_IncomeTaxExpenseBenefit
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of interest income (expense) classified as operating. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 280 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 22 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482810/280-10-50-22 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 942 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-04(10)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478524/942-220-S99-1 + Details
Name: | us-gaap_InterestIncomeExpenseNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of fees and commissions from banking, advisory, brokerage, and securities underwriting activities. Activities include, but are not limited to, underwriting securities, private placements of securities, investment advisory and management services, merger and acquisition services, sale and servicing of mutual funds, and other related consulting fees. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 942 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-04(13)(b)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478524/942-220-S99-1 + Details
Name: | us-gaap_InvestmentBankingAdvisoryBrokerageAndUnderwritingFeesAndCommissions
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Total aggregate amount of all noninterest expense. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 942 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-04(14)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478524/942-220-S99-1 + Details
Name: | us-gaap_NoninterestExpense
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Number of operating segments. An operating segment is a component of an enterprise: (a) that engages in business activities from which it may earn revenues and incur expenses (including revenues and expenses relating to transactions with other components of the same enterprise), (b) whose operating results are regularly reviewed by the enterprise's chief operating decision maker to make decisions about resources to be allocated to the segment and assess its performance, and (c) for which discrete financial information is available. An operating segment may engage in business activities for which it has yet to earn revenues, for example, start-up operations may be operating segments before earning revenues. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 280 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 49 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482785/280-10-55-49 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 280 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 18 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482810/280-10-50-18 + Details
Name: | us-gaap_NumberOfOperatingSegments
Namespace Prefix: | us-gaap_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition The amount of preferred stock dividends that is an adjustment to net income apportioned to common stockholders. + References No definition available. + Details
Name: | us-gaap_PreferredStockDividendsIncomeStatementImpact
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of expense related to credit loss from transactions other than loan and lease transactions. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section 45 -Paragraph 28 -Subparagraph (a) -SubTopic 10 -Topic 230 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482740/230-10-45-28 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 942 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-04(11)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478524/942-220-S99-1 + Details
Name: | us-gaap_ProvisionForOtherCreditLosses
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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

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

X
- Details
Name: | srt_ConsolidationItemsAxis=us-gaap_MaterialReconcilingItemsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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: | srt_ConsolidationItemsAxis=us-gaap_OperatingSegmentsMember
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_StatementBusinessSegmentsAxis=agm_RuralInfrastructureRuralUtilitiesSegementMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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

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

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