XML 64 R50.htm IDEA: XBRL DOCUMENT
v3.8.0.1

Related Party Transactions - Farm Credit Bank of Texas (Details) - Farm Credit Bank of Texas [Member] - USD ($) $ in Millions | 12 Months Ended
--- | ---
Dec. 31, 2017 | Dec. 31, 2016 | Dec. 31, 2015
Related Party Transaction [Line Items] |  |  |
Revenue from Related Parties | $ 1.0 | $ 1.1 | $ 0.7
Related Party Transaction, Expenses from Transactions with Related Party | $ 0.2 | 0.3 | $ 0.3
Common Class B, Voting [Member] |  |  |
Related Party Transaction [Line Items] |  |  |
Common Stock Ownership Percentage by a Related Party | 7.70% |  |
Guarantee Obligations [Member] |  |  |
Related Party Transaction [Line Items] |  |  |
Related Party Transactions, Outstanding Balance | $ 250.3 | $ 237.9 |

X
- Definition Common Stock Ownership Percentage by a Related Party + References No definition available. + Details
Name: | agm_CommonStockOwnershipPercentageByRelatedParty
Namespace Prefix: | agm_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Related Party Transactions, Outstanding Balance + References No definition available. + Details
Name: | agm_RelatedPartyTransactionsOutstandingBalance
Namespace Prefix: | agm_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Expenses recognized resulting from transactions (excluding transactions that are eliminated in consolidated or combined financial statements) with related party. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 850 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864 + Details
Name: | us-gaap_RelatedPartyTransactionExpensesFromTransactionsWithRelatedParty
Namespace Prefix: | us-gaap_
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_RelatedPartyTransactionLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of revenue, fees and commissions earned from transactions between (a) a parent company and its subsidiaries; (b) subsidiaries of a common parent; (c) an entity and trusts for the benefit of employees, for example, but not limited to, pension and profit-sharing trusts that are managed by or under the trusteeship of the entity's management; (d) an entity and its principal, owners, management, or members of their immediate families; and (e) affiliates. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 225 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03.1(e)) -URI http://asc.fasb.org/extlink&oid=63488584&loc=d3e20235-122688 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 946 -SubTopic 225 -Section S99 -Paragraph 1 -Subparagraph (SX 210.6-07.1(c)) -URI http://asc.fasb.org/extlink&oid=6488393&loc=d3e606610-122999 + Details
Name: | us-gaap_RevenueFromRelatedParties
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Details
Name: | us-gaap_RelatedPartyTransactionsByRelatedPartyAxis=agm_FarmCreditBankOfTexasMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementClassOfStockAxis=us-gaap_CommonClassBMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_GuaranteeObligationsByNatureAxis=us-gaap_GuaranteeObligationsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |