XML 79 R67.htm IDEA: XBRL DOCUMENT
v3.8.0.1

Business Segment Reporting - Core Earnings - Business Segments (Details) $ in Thousands | 3 Months Ended | 12 Months Ended |
--- | --- | --- | ---
Mar. 31, 2018 USD ($) | Mar. 31, 2017 USD ($) | Dec. 31, 2015 USD ($) | Dec. 31, 2017 USD ($)
Segment Reporting Information [Line Items] |  |  |  |
Number of Operating Segments | 4 |  |  |
Segment Reporting Information, Profit (Loss) [Abstract] |  |  |  |
Net interest income | $ 43,229 | $ 37,071 | $ 125,807 |
Less: reconciling adjustments(1)(2)(3) | 0 | 0 | 0 |
Net Effective Spread | 0 | 0 | 0 |
Guaranty Fee Income | 3,499 | 3,844 | 14,077 |
Other Non-Interest Income (Expense), Excluding Guarantee and Commitment Fees | (3,260) | 2,952 | 6,064 |
Non-interest income | 239 | 6,796 | 20,141 |
Release of/(provision for) loan losses | 431 | (637) | (2,388) |
Provision for Other Credit Losses | (21) | 193 | 2,180 |
Noninterest Expense, Excluding Loan, Lease and Other Losses | (11,621) | (10,742) | (37,662) |
Non-interest expense | (11,642) | (10,549) | (35,482) |
Income Tax Expense (Benefit) | (6,438) | (10,786) | (34,239) |
Net income | 25,819 | 21,895 | 73,839 |
Net income | 32,257 | 32,681 | 108,078 |
Preferred Stock Dividends, Income Statement Impact | (3,295) | (3,295) | (13,182) |
Less: Net loss attributable to non-controlling interest | 0 | 15 | (5,139) |
Preferred Stock Redemption Premium |  |  | 8,147 |
Net Income (Loss) Available to Common Stockholders, Basic | 22,524 | 18,615 | 47,371 |
Segment Reporting Information, Additional Information [Abstract] |  |  |  |
Total Assets | 18,397,236 | 15,931,757 | 15,540,354 | $ 17,792,274
On and Off Balance Sheet Program Assets, At Principal Balance | 19,379,443 | 17,844,541 | 15,898,820 |
Farm & Ranch [Member] |  |  |  |
Segment Reporting Information, Profit (Loss) [Abstract] |  |  |  |
Net interest income | 14,941 | 12,754 | 43,271 |
Less: reconciling adjustments(1)(2)(3) | (2,401) | (2,243) | (5,308) |
Net Effective Spread | 12,540 | 10,511 | 37,963 |
Guaranty Fee Income | 4,378 | 4,295 | 15,076 |
Other Non-Interest Income (Expense), Excluding Guarantee and Commitment Fees | 557 | 194 | 1,039 |
Non-interest income | 4,935 | 4,489 | 16,115 |
Release of/(provision for) loan losses | 431 | (637) | (2,388) |
Provision for Other Credit Losses | (21) | 193 | 2,180 |
Noninterest Expense, Excluding Loan, Lease and Other Losses | (4,520) | (4,065) | (16,876) |
Non-interest expense | (4,541) | (3,872) | (14,696) |
Segment core earnings before income taxes | 13,365 | 10,491 | 36,994 |
Income Tax Expense (Benefit) | (2,807) | (3,672) | (12,956) |
Segment core earnings before preferred stock dividends and attibution of income to non-controlling interest - preferred stock dividends | 10,558 | 6,819 | 24,038 |
Preferred Stock Dividends, Income Statement Impact | 0 | 0 | 0 |
Less: Net loss attributable to non-controlling interest |  | 0 | 0 |
Preferred Stock Redemption Premium |  |  | 0 |
Segment core earnings | 10,558 | 6,819 | 24,038 |
Segment Reporting Information, Additional Information [Abstract] |  |  |  |
Total Assets | 4,306,960 | 3,693,360 | 3,041,386 |
On and Off Balance Sheet Program Assets, At Principal Balance | 6,932,002 | 6,240,467 | 5,725,299 |
USDA Guarantees [Member] |  |  |  |
Segment Reporting Information, Profit (Loss) [Abstract] |  |  |  |
Net interest income | 5,070 | 5,283 | 17,750 |
Less: reconciling adjustments(1)(2)(3) | (670) | (722) | (638) |
Net Effective Spread | 4,400 | 4,561 | 17,112 |
Guaranty Fee Income | 166 | 74 | 17 |
Other Non-Interest Income (Expense), Excluding Guarantee and Commitment Fees | 5 | 14 | 100 |
Non-interest income | 171 | 88 | 117 |
Release of/(provision for) loan losses | 0 | 0 | 0 |
Provision for Other Credit Losses | 0 | 0 | 0 |
Noninterest Expense, Excluding Loan, Lease and Other Losses | (1,193) | (1,087) | (3,449) |
Non-interest expense | (1,193) | (1,087) | (3,449) |
Segment core earnings before income taxes | 3,378 | 3,562 | 13,780 |
Income Tax Expense (Benefit) | (709) | (1,247) | (4,826) |
Segment core earnings before preferred stock dividends and attibution of income to non-controlling interest - preferred stock dividends | 2,669 | 2,315 | 8,954 |
Preferred Stock Dividends, Income Statement Impact | 0 | 0 | 0 |
Less: Net loss attributable to non-controlling interest |  | 0 | 0 |
Preferred Stock Redemption Premium |  |  | 0 |
Segment core earnings | 2,669 | 2,315 | 8,954 |
Segment Reporting Information, Additional Information [Abstract] |  |  |  |
Total Assets | 2,195,714 | 2,109,264 | 1,977,609 |
On and Off Balance Sheet Program Assets, At Principal Balance | 2,391,739 | 2,149,697 | 1,918,277 |
Rural Utilities [Member] |  |  |  |
Segment Reporting Information, Profit (Loss) [Abstract] |  |  |  |
Net interest income | 2,537 | 2,948 | 11,728 |
Less: reconciling adjustments(1)(2)(3) | 413 | (380) | (723) |
Net Effective Spread | 2,950 | 2,568 | 11,005 |
Guaranty Fee Income | 449 | 492 | 397 |
Other Non-Interest Income (Expense), Excluding Guarantee and Commitment Fees | 5 | 5 | 25 |
Non-interest income | 454 | 497 | 422 |
Release of/(provision for) loan losses | 0 | 0 | 0 |
Provision for Other Credit Losses | 0 | 0 | 0 |
Noninterest Expense, Excluding Loan, Lease and Other Losses | (673) | (587) | (3,364) |
Non-interest expense | (673) | (587) | (3,364) |
Segment core earnings before income taxes | 2,731 | 2,478 | 8,063 |
Income Tax Expense (Benefit) | (574) | (867) | (2,828) |
Segment core earnings before preferred stock dividends and attibution of income to non-controlling interest - preferred stock dividends | 2,157 | 1,611 | 5,235 |
Preferred Stock Dividends, Income Statement Impact | 0 | 0 | 0 |
Less: Net loss attributable to non-controlling interest |  | 0 | 0 |
Preferred Stock Redemption Premium |  |  | 0 |
Segment core earnings | 2,157 | 1,611 | 5,235 |
Segment Reporting Information, Additional Information [Abstract] |  |  |  |
Total Assets | 1,043,335 | 1,005,187 | 1,019,279 |
On and Off Balance Sheet Program Assets, At Principal Balance | 1,729,797 | 1,868,794 | 1,530,990 |
Institutional Credit [Member] |  |  |  |
Segment Reporting Information, Profit (Loss) [Abstract] |  |  |  |
Net interest income | 17,832 | 13,502 | 44,971 |
Less: reconciling adjustments(1)(2)(3) | (3,008) | (887) | (1,512) |
Net Effective Spread | 14,824 | 12,615 | 43,459 |
Guaranty Fee Income | 90 | 455 | 1,665 |
Other Non-Interest Income (Expense), Excluding Guarantee and Commitment Fees | 0 | 0 | 0 |
Non-interest income | 90 | 455 | 1,665 |
Release of/(provision for) loan losses | 0 | 0 | 0 |
Provision for Other Credit Losses | 0 | 0 | 0 |
Noninterest Expense, Excluding Loan, Lease and Other Losses | (1,846) | (1,521) | (2,109) |
Non-interest expense | (1,846) | (1,521) | (2,109) |
Segment core earnings before income taxes | 13,068 | 11,549 | 43,015 |
Income Tax Expense (Benefit) | (2,744) | (4,042) | (15,038) |
Segment core earnings before preferred stock dividends and attibution of income to non-controlling interest - preferred stock dividends | 10,324 | 7,507 | 27,977 |
Preferred Stock Dividends, Income Statement Impact | 0 | 0 | 0 |
Less: Net loss attributable to non-controlling interest |  | 0 | 0 |
Preferred Stock Redemption Premium |  |  | 0 |
Segment core earnings | 10,324 | 7,507 | 27,977 |
Segment Reporting Information, Additional Information [Abstract] |  |  |  |
Total Assets | 8,066,231 | 6,315,591 | 5,420,195 |
On and Off Balance Sheet Program Assets, At Principal Balance | 8,325,905 | 7,585,583 | 6,724,254 |
Corporate Segment [Member] |  |  |  |
Segment Reporting Information, Profit (Loss) [Abstract] |  |  |  |
Net interest income | 2,849 | 2,584 | 8,087 |
Less: reconciling adjustments(1)(2)(3) | (462) | (313) | (198) |
Net Effective Spread | 2,387 | 2,271 | 7,889 |
Guaranty Fee Income | 0 | 0 | 0 |
Other Non-Interest Income (Expense), Excluding Guarantee and Commitment Fees | (139) | 267 | 74 |
Non-interest income | (139) | 267 | 74 |
Release of/(provision for) loan losses | 0 | 0 | 0 |
Provision for Other Credit Losses | 0 | 0 | 0 |
Noninterest Expense, Excluding Loan, Lease and Other Losses | (3,389) | (3,482) | (11,864) |
Non-interest expense | (3,389) | (3,482) | (11,864) |
Segment core earnings before income taxes | (1,141) | (944) | (3,901) |
Income Tax Expense (Benefit) | 575 | 984 | 3,053 |
Segment core earnings before preferred stock dividends and attibution of income to non-controlling interest - preferred stock dividends | (566) | 40 | (848) |
Preferred Stock Dividends, Income Statement Impact | (3,295) | (3,295) | (13,182) |
Less: Net loss attributable to non-controlling interest |  | 15 | (5,139) |
Preferred Stock Redemption Premium |  |  | 0 |
Segment core earnings | (3,861) | (3,240) | (19,169) |
Segment Reporting Information, Additional Information [Abstract] |  |  |  |
Total Assets | 2,784,996 | 2,808,355 | 4,081,885 |
Segment Reconciling Items [Member] |  |  |  |
Segment Reporting Information, Profit (Loss) [Abstract] |  |  |  |
Net interest income | 0 | 0 | 0 |
Less: reconciling adjustments(1)(2)(3) | 6,128 | 4,545 | 8,379 |
Net Effective Spread | 6,128 | 4,545 | 8,379 |
Guaranty Fee Income | (1,584) | (1,472) | (3,078) |
Other Non-Interest Income (Expense), Excluding Guarantee and Commitment Fees | (3,688) | 2,472 | 4,826 |
Non-interest income | (5,272) | 1,000 | 1,748 |
Release of/(provision for) loan losses | 0 | 0 | 0 |
Provision for Other Credit Losses | 0 | 0 | 0 |
Noninterest Expense, Excluding Loan, Lease and Other Losses | 0 | 0 | 0 |
Non-interest expense | 0 | 0 | 0 |
Segment core earnings before income taxes | 856 | 5,545 | 10,127 |
Income Tax Expense (Benefit) | (179) | (1,942) | (1,644) |
Segment core earnings before preferred stock dividends and attibution of income to non-controlling interest - preferred stock dividends | 677 | 3,603 | 8,483 |
Preferred Stock Dividends, Income Statement Impact | 0 | 0 | 0 |
Less: Net loss attributable to non-controlling interest |  | 0 | 0 |
Preferred Stock Redemption Premium |  |  | 8,147 |
Segment core earnings | 677 | 3,603 | 336 |
Segment Reporting Information, Additional Information [Abstract] |  |  |  |
Total Assets | 0 | 0 | 0 |
On and Off Balance Sheet Program Assets, At Principal Balance | $ 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 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 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 attibution of income to non-controlling interest - preferred stock dividends + References No definition available. + Details
Name: | agm_SegmentCoreEarningsBeforePreferredStockDividendsAndAttibutionOfIncomeToNonControllingInterestPreferredStockDividends
Namespace Prefix: | agm_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Sum of the carrying amounts as of the balance sheet date of all assets that are recognized. Assets are probable future economic benefits obtained or controlled by an entity as a result of past transactions or events. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(a)(12)) -URI http://asc.fasb.org/extlink&oid=6879938&loc=d3e572229-122910 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(11)) -URI http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878 + Details
Name: | us-gaap_Assets
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition This item represents the portion of monthly guaranty fees collected representing the interest imputed and recognized under the prospective interest method on the present value of the contractually stipulated guarantee payments at inception of the contract. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 225 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-04.13 (d)) -URI http://asc.fasb.org/extlink&oid=6879574&loc=d3e536633-122882 + Details
Name: | us-gaap_GuarantyFeeIncome
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of income (loss) from continuing operations before deduction of income tax expense (benefit) and income (loss) attributable to noncontrolling interest, and addition of income (loss) from equity method investments. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08.(h)(1)(i)) -URI http://asc.fasb.org/extlink&oid=26873400&loc=d3e23780-122690 + Details
Name: | us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments
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/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 9 -Subparagraph (a),(b) -URI http://asc.fasb.org/extlink&oid=84230637&loc=d3e32639-109319 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08.(h)) -URI http://asc.fasb.org/extlink&oid=26873400&loc=d3e23780-122690 + Details
Name: | us-gaap_IncomeTaxExpenseBenefit
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The net amount of operating interest income (expense). + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 225 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-04.10) -URI http://asc.fasb.org/extlink&oid=6879574&loc=d3e536633-122882 + Details
Name: | us-gaap_InterestIncomeExpenseNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of Net Income (Loss) attributable to noncontrolling interest. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 810 -SubTopic 10 -Section 55 -Paragraph 4J -URI http://asc.fasb.org/extlink&oid=84234705&loc=SL4591551-111686 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 810 -SubTopic 10 -Section 50 -Paragraph 1A -Subparagraph (a)(2) -URI http://asc.fasb.org/extlink&oid=84161450&loc=SL4573702-111684 + Details
Name: | us-gaap_NetIncomeLossAttributableToNoncontrollingInterest
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount, after deduction of tax, noncontrolling interests, dividends on preferred stock and participating securities; of income (loss) available to common shareholders. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 45 -Paragraph 11 -URI http://asc.fasb.org/extlink&oid=96947427&loc=d3e1377-109256 + Details
Name: | us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic
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://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 225 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-04.14) -URI http://asc.fasb.org/extlink&oid=6879574&loc=d3e536633-122882 + Details
Name: | us-gaap_NoninterestExpense
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The total amount of noninterest income which may be derived from: (1) fees and commissions; (2) premiums earned; (3) insurance policy charges; (4) the sale or disposal of assets; and (5) other sources not otherwise specified. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 225 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-04.13) -URI http://asc.fasb.org/extlink&oid=6879574&loc=d3e536633-122882 + Details
Name: | us-gaap_NoninterestIncome
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
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 No definition available. + 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 The excess of (1) fair value of the consideration transferred to the holders of the preferred stock over (2) the carrying amount of the preferred stock in the registrant's balance sheet, during the accounting period. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section S99 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=27010884&loc=d3e42851-122695 + Details
Name: | us-gaap_PreferredStockRedemptionPremium
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The consolidated profit or loss for the period, net of income taxes, including the portion attributable to the noncontrolling interest. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 810 -SubTopic 10 -Section 55 -Paragraph 4K -URI http://asc.fasb.org/extlink&oid=84234705&loc=SL4591552-111686 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 810 -SubTopic 10 -Section 45 -Paragraph 19 -URI http://asc.fasb.org/extlink&oid=96868048&loc=SL4569616-111683 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 810 -SubTopic 10 -Section 50 -Paragraph 1A -Subparagraph (c)(1) -URI http://asc.fasb.org/extlink&oid=84161450&loc=SL4573702-111684 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 810 -SubTopic 10 -Section 55 -Paragraph 4J -URI http://asc.fasb.org/extlink&oid=84234705&loc=SL4591551-111686 Reference 5: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 810 -SubTopic 10 -Section 50 -Paragraph 1A -Subparagraph (a)(2) -URI http://asc.fasb.org/extlink&oid=84161450&loc=SL4573702-111684 + Details
Name: | us-gaap_ProfitLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of expense related to loss from loan transactions. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 225 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-04.11) -URI http://asc.fasb.org/extlink&oid=6879574&loc=d3e536633-122882 + Details
Name: | us-gaap_ProvisionForLoanLossesExpensed
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://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 225 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-04(11)) -URI http://asc.fasb.org/extlink&oid=6879574&loc=d3e536633-122882 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=98514028&loc=d3e3602-108585 + 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_SegmentReportingInformationAdditionalInformationAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_SegmentReportingInformationLineItems
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: | us-gaap_StatementBusinessSegmentsAxis=agm_FarmRanchMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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

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

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