XML 39 R27.htm IDEA: XBRL DOCUMENT
v3.8.0.1

Accounting Policies - Cash and Cash Equivalents and Statements of Cash Flows (Details) - USD ($) $ in Thousands | 3 Months Ended | 12 Months Ended
--- | --- | ---
Mar. 31, 2018 | Mar. 31, 2017 | Dec. 31, 2015
Other Significant Noncash Transactions [Line Items] |  |  |
SEC Schedule III, Real Estate, Acquisitions Through Foreclosures | $ 0 | $ 4,630 |
Proceeds from sale of Farmer Mac Guaranteed Securities | 131,202 | 149,607 |
Consolidation of guaranteed securities from off-balance sheet to Loans Held for Investment and Debt Securities of consolidated trusts held by third parties | 96,909 | 117,018 |
Purchases of Investment Securities Traded, Not Yet Settled | $ 5,640 | $ 0 |
Preferred Stock Redemption Premium |  |  | $ 8,147

X
- Definition Consolidation of guaranteed securities from off-balance sheet to Loans Held for Investment and Debt Securities of consolidated trusts held by third parties + References No definition available. + Details
Name: | agm_ConsolidationOfGuaranteedSecuritiesFromOffBalanceSheetToLoansHeldForInvestmentAndDebtSecuritiesOfConsolidatedTrustsHeldByThirdParties
Namespace Prefix: | agm_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Purchases of Investment Securities Traded, Not Yet Settled + References No definition available. + Details
Name: | agm_PurchasesOfInvestmentSecuritiesTradedNotYetSettled
Namespace Prefix: | agm_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
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_OtherSignificantNoncashTransactionsLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
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 Amount of cash inflow from the sale of investments classified as other. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 12 -URI http://asc.fasb.org/extlink&oid=98514028&loc=d3e3179-108585 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 24 -URI http://asc.fasb.org/extlink&oid=98514028&loc=d3e3521-108585 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 26 -URI http://asc.fasb.org/extlink&oid=98514028&loc=d3e3574-108585 + Details
Name: | us-gaap_ProceedsFromSaleOfOtherInvestments
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of real estate investments acquired through foreclosure for entities with a substantial portion of business acquiring and holding investment real estate. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 970 -SubTopic 360 -Section S99 -Paragraph 1 -Subparagraph (SX 210.12-28.4) -URI http://asc.fasb.org/extlink&oid=6590653&loc=d3e638233-123024 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 10 -Section S99 -Paragraph 6 -Subparagraph (SX 210.5-04.(c) Schedule III) -URI http://asc.fasb.org/extlink&oid=27047687&loc=d3e5864-122674 + Details
Name: | us-gaap_RealEstateAcquisitionsThroughForeclosures
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration