XML 106 R92.htm IDEA: XBRL DOCUMENT
v3.8.0.1

Guarantees and Long Term Standby Purchase Commitments - Guarantee and Commitment Obligation (Details) - USD ($) $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2017 | Dec. 31, 2016 | Dec. 31, 2015
Loss Contingencies [Line Items] |  |  |
Term of Guarantees Minimum | 1 year |  |
Term of Guarantees Maximum | 30 years |  |
Beginning Balance Guaranty Liabilities | $ 37,282 | $ 38,609 | $ 37,925
Additions to the guarantee and commitment obligation(1) | 7,683 | 6,725 | 8,207
Amortization of the guarantee and commitment obligation | (6,565) | (8,052) | (7,523)
Ending Balance Guaranty Liabilities | 38,400 | 37,282 | $ 38,609
Guarantee obligations issued after January 1, 2003 [Member] |  |  |
Loss Contingencies [Line Items] |  |  |
Guarantor Obligations, Maximum Exposure, Undiscounted | 4,000,000 | 4,900,000 |
Guarantee obligations issued prior to January 1, 2003 [Member] |  |  |
Loss Contingencies [Line Items] |  |  |
Guarantor Obligations, Maximum Exposure, Undiscounted | $ 28,000 | $ 40,100 |

X
- Definition Additions to guarantee and commitment obligations + References No definition available. + Details
Name: | agm_AdditionsToGuaranteeAndCommitmentObligations
Namespace Prefix: | agm_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amortization of the Guarantee and Commitment Obligation + References No definition available. + Details
Name: | agm_AmortizationOfGuaranteeAndCommitmentObligation
Namespace Prefix: | agm_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Term of Guarantees Maximum + References No definition available. + Details
Name: | agm_TermOfGuaranteesMaximum
Namespace Prefix: | agm_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Term of Guarantees Minimum + References No definition available. + Details
Name: | agm_TermOfGuaranteesMinimum
Namespace Prefix: | agm_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Maximum potential amount of future payments (undiscounted) the guarantor could be required to make under the guarantee or each group of similar guarantees before reduction for potential recoveries under recourse or collateralization provisions. + 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 (b)(1) -URI http://asc.fasb.org/extlink&oid=82913245&loc=d3e12069-110248 + Details
Name: | us-gaap_GuaranteeObligationsMaximumExposure
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition This item represents a non-contingent liability for the fair value of an obligation to stand ready to perform over the term of a guaranty issued in the event that specified triggering events or conditions occur. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 460 -SubTopic 10 -Section 25 -Paragraph 4 -URI http://asc.fasb.org/extlink&oid=82913062&loc=d3e11049-110243 Reference 2: 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.15) -URI http://asc.fasb.org/extlink&oid=6879938&loc=d3e572229-122910 Reference 3: 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.15) -URI http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 460 -SubTopic 10 -Section 25 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=82913062&loc=d3e11019-110243 + Details
Name: | us-gaap_GuarantyLiabilities
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_LossContingenciesLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | agm_UnrecordedMaximumPotentialExposureOnGuaranteesAxis=agm_GuaranteeobligationsissuedafterJanuary12003Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | agm_UnrecordedMaximumPotentialExposureOnGuaranteesAxis=agm_GuaranteeObligationsIssuedPriorToJanuary12003Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |