XML 108 R94.htm IDEA: XBRL DOCUMENT
v3.8.0.1

Guarantees and Long Term Standby Purchase Commitments - Cash Flows from Off-balance sheet Guaranteed Securities (Details) - USD ($) $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2017 | Dec. 31, 2016 | Dec. 31, 2015
Guarantor Obligations [Line Items] |  |  |
Proceeds from sale of Farmer Mac Guaranteed Securities | $ 519,219 | $ 609,347 | $ 336,913
Proceeds from Fees Received | 2,610 | 3,552 | 4,028
Payments to Acquire Loans and Leases Held-for-investment | $ (5,670) | $ (2,118) | $ (3,407)
Farmer Mac Guaranteed Securities [Member] |  |  |
Guarantor Obligations [Line Items] |  |  |
Weighted average remaining maturity, Loans underlying guarantees not held by transferor | 10 years | 10 years 8 months 18 days |
Farmer Mac Guaranteed Securities [Member] | Variable Interest Entity, Not Primary Beneficiary [Member] |  |  |
Guarantor Obligations [Line Items] |  |  |
Guarantor Obligations, Current Carrying Value | $ 3,600 | $ 5,500 |
Institutional Credit [Member] | Farmer Mac Guaranteed Securities [Member] |  |  |
Guarantor Obligations [Line Items] |  |  |
Weighted average remaining maturity, Loans underlying guarantees not held by transferor | 9 months 15 days | 8 months 8 days |

X
- Definition Weighted average remaining maturity, Loans underlying guarantees not held by transferor + References No definition available. + Details
Name: | agm_WeightedAverageRemainingMaturityLoansUnderlyingGuaranteesNotHeldByTransferor
Namespace Prefix: | agm_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition The current carrying amount of the liability for the freestanding or embedded guarantor's obligations under the guarantee or each group of similar guarantees. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 460 -SubTopic 10 -Section 50 -Paragraph 4 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=82913245&loc=d3e12069-110248 + Details
Name: | us-gaap_GuaranteeObligationsCurrentCarryingValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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_GuaranteeObligationsLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The cash outflow from (a) purchases of loans held-for-investment, (b) purchases of leases held-for-investment, and (c) both. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 13 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=98514028&loc=d3e3213-108585 + Details
Name: | us-gaap_PaymentsToAcquireLoansAndLeasesHeldForInvestment
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Cash received for fees during the current period. This element excludes cash proceeds from license fees. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 25 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=98514028&loc=d3e3536-108585 + Details
Name: | us-gaap_ProceedsFromFeesReceived
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
- Details
Name: | us-gaap_GuaranteeObligationsByNatureAxis=agm_FarmerMacGuaranteedSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableInterestEntitiesByClassificationOfEntityAxis=us-gaap_VariableInterestEntityNotPrimaryBeneficiaryMember
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: |