XML 61 R47.htm IDEA: XBRL DOCUMENT
v3.7.0.1

Related Party Transactions - National Rural Utilities Cooperative Financial Corporation (Details) - CFC [Member] - USD ($) | 12 Months Ended
--- | ---
Dec. 31, 2016 | Dec. 31, 2015 | Dec. 31, 2014
Related Party Transaction [Line Items] |  |  |
Related Party Transaction, Related Party's percent of total Program | 16.70% | 40.60% | 32.70%
Related Party Transaction, Purchases from Related Party | $ 741,895,000 | $ 1,310,599,000 | $ 903,465,000
Related Party's percent of Farmer Mac Total Outstanding Book of Business | 25.70% | 24.60% |
Related Party Transaction, Other Revenues from Transactions with Related Party | $ 100,000 | $ 81,954 | 84,260
Due from Related Parties | 3,200,000 | 1,800,000 |
Interest Income, Related Party | 27,600,000 | 15,900,000 | 15,800,000
Accounts Receivable, Related Parties, Current | 200,000 | 100,000 |
Revenue from Related Parties | 2,000,000 | 500,000 | 0
Related Party Transaction, Expenses from Transactions with Related Party | $ 3,300,000 | $ 3,300,000 | $ 3,400,000
Institutional Credit [Member] |  |  |
Related Party Transaction [Line Items] |  |  |
Related Party Transaction, Related Party's percent of total Program | 11.90% | 65.20% | 64.70%
Rural Utilities [Member] |  |  |
Related Party Transaction [Line Items] |  |  |
Related Party Transaction, Related Party's percent of total Program | 100.00% |  |
Rural Utilities [Member] | Real Estate Loan [Member] |  |  |
Related Party Transaction [Line Items] |  |  |
Related Party Transaction, Purchases from Related Party | $ 50,491,000 | $ 108,337,000 | $ 75,500,000
Guarantee Obligations [Member] | Rural Utilities [Member] |  |  |
Related Party Transaction [Line Items] |  |  |
Related Party Transaction, Purchases from Related Party | 250,000,000 | 380,000,000 | 820,775,000
Off-balance sheet [Member] | Revolving Credit Facility [Member] | Institutional Credit [Member] |  |  |
Related Party Transaction [Line Items] |  |  |
Related Party Transaction, Purchases from Related Party | 441,404,000 | 522,262,000 | 0
Off-balance sheet [Member] | Farmer Mac Guaranteed Securities [Member] | Institutional Credit [Member] |  |  |
Related Party Transaction [Line Items] |  |  |
Related Party Transaction, Purchases from Related Party | 0 | 300,000,000 | 0
On-balance sheet [Member] | Farmer Mac Guaranteed Securities [Member] | Institutional Credit [Member] |  |  |
Related Party Transaction [Line Items] |  |  |
Related Party Transaction, Purchases from Related Party | $ 0 | $ 0 | $ 7,190,000
Common Class A, Voting [Member] |  |  |
Related Party Transaction [Line Items] |  |  |
Common Stock Ownership Percentage by a Related Party | 7.90% |  |

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 Transaction, Related Party's percent of total Program + References No definition available. + Details
Name: | agm_RelatedPartyTransactionRelatedPartysPercentOfTotalProgram
Namespace Prefix: | agm_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Related Party's percent of Farmer Mac Total Outstanding Book of Business + References No definition available. + Details
Name: | agm_RelatedPartysPercentOfFarmerMacTotalOutstandingBookOfBusiness
Namespace Prefix: | agm_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Amount of receivables arising from transactions with related parties due within one year or the normal operating cycle, if longer. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.3(a)(2)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 850 -SubTopic 10 -Section 50 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=6457730&loc=d3e39603-107864 Reference 3: 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.(k)(1)) -URI http://asc.fasb.org/extlink&oid=26873400&loc=d3e23780-122690 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 850 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (d) -URI http://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864 Reference 5: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 850 -SubTopic 10 -Section 50 -Paragraph 4 -URI http://asc.fasb.org/extlink&oid=6457730&loc=d3e39622-107864 + Details
Name: | us-gaap_AccountsReceivableRelatedPartiesCurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition For an unclassified balance sheet, amounts due from related parties including affiliates, employees, joint ventures, officers and stockholders, immediate families thereof, and pension funds. + 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 (d) -URI http://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864 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.3) -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 235 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08.(k)(1)) -URI http://asc.fasb.org/extlink&oid=26873400&loc=d3e23780-122690 Reference 4: 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.10(3)) -URI http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878 + Details
Name: | us-gaap_DueFromRelatedParties
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of interest income earned from interest-bearing assets owed to the entity by related party. + References No definition available. + Details
Name: | us-gaap_InterestIncomeRelatedParty
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

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 Reflects the sum of all other revenue and income realized from sales and other transactions (excluding transactions that are eliminated in consolidated or combined financial statements) with related party during the period. + References No definition available. + Details
Name: | us-gaap_RelatedPartyTransactionOtherRevenuesFromTransactionsWithRelatedParty
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Purchases during the period (excluding transactions that are eliminated in consolidated or combined financial statements) with related party. + References No definition available. + Details
Name: | us-gaap_RelatedPartyTransactionPurchasesFromRelatedParty
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
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 -Glossary Related Parties -URI http://asc.fasb.org/extlink&oid=16382449 Reference 3: 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_CfcMember
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=agm_RuralUtilitiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis=us-gaap_RealEstateLoanMember
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: |

X
- Details
Name: | us-gaap_BalanceSheetLocationAxis=agm_OffBalanceSheetMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis=us-gaap_RevolvingCreditFacilityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis=us-gaap_USGovernmentSponsoredEnterprisesDebtSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BalanceSheetLocationAxis=agm_OnBalanceSheetMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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