XML 44 R33.htm IDEA: XBRL DOCUMENT
v3.7.0.1

Investment Securities - Schedule of Investment Securities (Details) - USD ($) $ in Thousands | Jun. 30, 2017 | Dec. 31, 2016
--- | --- | ---
Available-for-sale Securities [Abstract] |  |  |  |
Derivative, Notional Amount | $ 8,244,547 |  | $ 8,100,257 |
Investment Securities [Member] |  |  |  |
Available-for-sale Securities [Abstract] |  |  |  |
Available-for-Sale Securities Unpaid Principal Balance | 2,357,804 |  | 2,513,294 |
Unamortized Premium/(Discount) | 4,749 |  | 5,672 |
Available-for-sale Securities, Amortized Cost Basis | 2,362,553 |  | 2,518,966 |
Available-for-sale Debt Securities, Accumulated Gross Unrealized Gain, before Tax | 5,251 |  | 6,362 |
Available-for-sale Securities, Unrealized Losses | (3,999) |  | (9,477) |
Available-for-sale Securities, Fair Value Disclosure | 2,363,805 |  | 2,515,851 |
Marketable Securities [Abstract] |  |  |  |
Marketable Securities Unpaid Principal Balance | 2,357,804 |  | 2,513,294 |
Marketable Securities, Amortized Cost | 2,362,553 |  | 2,518,966 |
Marketable Securities, Unrealized Gains | 5,251 |  | 6,362 |
Marketable Securities, Unrealized Losses | (3,999) |  | (9,477) |
Marketable Securities | 2,363,805 |  | 2,515,851 |
USDA Securities [Member] |  |  |  |
Marketable Securities [Abstract] |  |  |  |
Marketable Securities | 2,082,320 |  | 2,029,613 |
Available-for-sale Securities [Member] | Investment Securities [Member] |  |  |  |
Available-for-sale Securities [Abstract] |  |  |  |
Unamortized Premium/(Discount) | 4,749 |  | 5,672 |
Floating Interest Rate [Member] | Floating rate auction-rate certificates backed by Government guaranteed student loans |  |  |  |
Available-for-sale Securities [Abstract] |  |  |  |
Available-for-Sale Securities Unpaid Principal Balance | 19,700 |  | 19,700 |
Available-for-sale Securities, Amortized Cost Basis | 19,700 |  | 19,700 |
Available-for-sale Debt Securities, Accumulated Gross Unrealized Gain, before Tax | 0 |  | 0 |
Available-for-sale Securities, Unrealized Losses | (1,182) |  | (1,970) |
Available-for-sale Securities, Fair Value Disclosure | 18,518 |  | 17,730 |
Floating Interest Rate [Member] | Asset-backed Securities [Member] |  |  |  |
Available-for-sale Securities [Abstract] |  |  |  |
Available-for-Sale Securities Unpaid Principal Balance | 37,751 |  | 44,442 |
Available-for-sale Securities, Amortized Cost Basis | 37,574 |  | 44,240 |
Available-for-sale Debt Securities, Accumulated Gross Unrealized Gain, before Tax | 2 |  | 1 |
Available-for-sale Securities, Unrealized Losses | (153) |  | (390) |
Available-for-sale Securities, Fair Value Disclosure | 37,423 |  | 43,851 |
Floating Interest Rate [Member] | Corporate Debt Securities [Member] |  |  |  |
Available-for-sale Securities [Abstract] |  |  |  |
Available-for-Sale Securities Unpaid Principal Balance | 10,000 |  | 10,000 |
Available-for-sale Securities, Amortized Cost Basis | 10,000 |  | 10,000 |
Available-for-sale Debt Securities, Accumulated Gross Unrealized Gain, before Tax | 94 |  | 41 |
Available-for-sale Securities, Unrealized Losses | 0 |  | 0 |
Available-for-sale Securities, Fair Value Disclosure | 10,094 |  | 10,041 |
Floating Interest Rate [Member] | Government/GSE Guaranteed Mortgage Backed Securities [Member] |  |  |  |
Available-for-sale Securities [Abstract] |  |  |  |
Available-for-Sale Securities Unpaid Principal Balance | 1,351,804 |  | 1,359,700 |
Available-for-sale Securities, Amortized Cost Basis | 1,354,333 |  | 1,362,527 |
Available-for-sale Debt Securities, Accumulated Gross Unrealized Gain, before Tax | 2,822 |  | 1,768 |
Available-for-sale Securities, Unrealized Losses | (1,673) |  | (3,266) |
Available-for-sale Securities, Fair Value Disclosure | 1,355,482 |  | 1,361,029 |
Floating Interest Rate [Member] | Subordinated Debt [Member] |  |  |  |
Available-for-sale Securities [Abstract] |  |  |  |
Available-for-Sale Securities Unpaid Principal Balance |  |  | 70,000 |
Available-for-sale Securities, Amortized Cost Basis |  |  | 70,000 |
Available-for-sale Debt Securities, Accumulated Gross Unrealized Gain, before Tax |  |  | 0 |
Available-for-sale Securities, Unrealized Losses |  |  | (3,047) |
Available-for-sale Securities, Fair Value Disclosure |  |  | 66,953 |
Floating Interest Rate [Member] | Available-for-sale Securities [Member] | Floating rate auction-rate certificates backed by Government guaranteed student loans |  |  |  |
Available-for-sale Securities [Abstract] |  |  |  |
Unamortized Premium/(Discount) | 0 |  | 0 |
Floating Interest Rate [Member] | Available-for-sale Securities [Member] | Asset-backed Securities [Member] |  |  |  |
Available-for-sale Securities [Abstract] |  |  |  |
Unamortized Premium/(Discount) | (177) |  | (202) |
Floating Interest Rate [Member] | Available-for-sale Securities [Member] | Corporate Debt Securities [Member] |  |  |  |
Available-for-sale Securities [Abstract] |  |  |  |
Unamortized Premium/(Discount) | 0 |  | 0 |
Floating Interest Rate [Member] | Available-for-sale Securities [Member] | Government/GSE Guaranteed Mortgage Backed Securities [Member] |  |  |  |
Available-for-sale Securities [Abstract] |  |  |  |
Unamortized Premium/(Discount) | 2,529 |  | 2,827 |
Floating Interest Rate [Member] | Available-for-sale Securities [Member] | Subordinated Debt [Member] |  |  |  |
Available-for-sale Securities [Abstract] |  |  |  |
Unamortized Premium/(Discount) |  |  | 0 |
Fixed Interest Rate [Member] | Government/GSE Guaranteed Mortgage Backed Securities [Member] |  |  |  |
Available-for-sale Securities [Abstract] |  |  |  |
Available-for-Sale Securities Unpaid Principal Balance | 488 |  | 538 | [1]
Available-for-sale Securities, Amortized Cost Basis | 2,846 |  | 3,120 | [1]
Available-for-sale Debt Securities, Accumulated Gross Unrealized Gain, before Tax | 2,333 |  | 4,505 | [1]
Available-for-sale Securities, Unrealized Losses | 0 |  | 0 | [1]
Available-for-sale Securities, Fair Value Disclosure | 5,179 | [2] | 7,625 | [1]
Derivative, Notional Amount | 144,900 |  | 146,100 |
Fixed Interest Rate [Member] | USDA Securities [Member] |  |  |  |
Available-for-sale Securities [Abstract] |  |  |  |
Available-for-Sale Securities Unpaid Principal Balance | 179,295 |  | 187,295 |
Available-for-sale Securities, Amortized Cost Basis | 179,296 |  | 187,401 |
Available-for-sale Debt Securities, Accumulated Gross Unrealized Gain, before Tax | 0 |  | 0 |
Available-for-sale Securities, Unrealized Losses | (267) |  | (268) |
Available-for-sale Securities, Fair Value Disclosure | 179,029 |  | 187,133 |
Fixed Interest Rate [Member] | US Treasury Securities [Member] |  |  |  |
Available-for-sale Securities [Abstract] |  |  |  |
Available-for-Sale Securities Unpaid Principal Balance | 758,766 |  | 821,619 |
Available-for-sale Securities, Amortized Cost Basis | 758,804 |  | 821,978 |
Available-for-sale Debt Securities, Accumulated Gross Unrealized Gain, before Tax | 0 |  | 47 |
Available-for-sale Securities, Unrealized Losses | (724) |  | (536) |
Available-for-sale Securities, Fair Value Disclosure | 758,080 |  | 821,489 |
Fixed Interest Rate [Member] | Available-for-sale Securities [Member] | Government/GSE Guaranteed Mortgage Backed Securities [Member] |  |  |  |
Available-for-sale Securities [Abstract] |  |  |  |
Unamortized Premium/(Discount) | 2,358 |  | 2,582 | [1]
Fixed Interest Rate [Member] | Available-for-sale Securities [Member] | USDA Securities [Member] |  |  |  |
Available-for-sale Securities [Abstract] |  |  |  |
Unamortized Premium/(Discount) | 1 |  | 106 |
Fixed Interest Rate [Member] | Available-for-sale Securities [Member] | US Treasury Securities [Member] |  |  |  |
Available-for-sale Securities [Abstract] |  |  |  |
Unamortized Premium/(Discount) | 38 |  | 359 |
Fixed Interest Rate [Member] | Available-for-sale Securities [Member] | Interest-Only-Strip [Member] |  |  |  |
Available-for-sale Securities [Abstract] |  |  |  |
Unamortized Premium/(Discount) | $ 4,700 |  | $ 7,000 |
[1] | Fair value includes $7.0 million of an interest-only security with a notional amount of $146.1 million.
[2] | Fair value includes $4.7 million of an interest-only security with a notional amount of $144.9 million.

X
- Definition Available-for-Sale Securities Unpaid Principal Balance + References No definition available. + Details
Name: | agm_AvailableforSaleSecuritiesUnpaidPrincipalBalance
Namespace Prefix: | agm_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Marketable Securities, Amortized Cost Basis + References No definition available. + Details
Name: | agm_MarketableSecuritiesAmortizedCostBasis
Namespace Prefix: | agm_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Marketable Securities, Gross Unrealized Gains + References No definition available. + Details
Name: | agm_MarketableSecuritiesGrossUnrealizedGains
Namespace Prefix: | agm_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Marketable Securities, Gross Unrealized Losses + References No definition available. + Details
Name: | agm_MarketableSecuritiesGrossUnrealizedLosses
Namespace Prefix: | agm_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Marketable Securities Unpaid Principal Balance + References No definition available. + Details
Name: | agm_MarketableSecuritiesUnpaidPrincipalBalance
Namespace Prefix: | agm_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Aggregate notional amount specified by the derivative(s). Expressed as an absolute value. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Article 12 -Section 13 -Sentence Column B + Details
Name: | invest_DerivativeNotionalAmount
Namespace Prefix: | invest_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | instant

X
- Definition Amount before tax of unrealized gain in accumulated other comprehensive income (AOCI) on investments in debt securities classified as available-for-sale. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=73527792&loc=d3e27161-111563 + Details
Name: | us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount before tax of unrealized loss in accumulated other comprehensive income (AOCI) on investments in debt securities classified as available-for-sale. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=73527792&loc=d3e27161-111563 + Details
Name: | us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of investment in debt and equity securities categorized neither as held-to-maturity nor trading. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 25 -Paragraph 1 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=65884222&loc=d3e22054-111558 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 5 -Subparagraph (aa) -URI http://asc.fasb.org/extlink&oid=73527792&loc=d3e27232-111563 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 45 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=66010992&loc=d3e26610-111562 + Details
Name: | us-gaap_AvailableForSaleSecurities
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- References No definition available. + Details
Name: | us-gaap_AvailableForSaleSecuritiesAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition This item represents the cost of debt and equity securities, which are categorized neither as held-to-maturity nor trading, net of adjustments including accretion, amortization, collection of cash, previous other-than-temporary impairments recognized in earnings (less any cumulative-effect adjustments recognized, as defined), and fair value hedge accounting adjustments, if any. + 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.2) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_AvailableForSaleSecuritiesAmortizedCost
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount, after accumulated amortization, of debt discount (premium). + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 4 -URI http://asc.fasb.org/extlink&oid=64930785&loc=d3e28567-108399 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 1A -URI http://asc.fasb.org/extlink&oid=64930785&loc=d3e28541-108399 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 55 -Paragraph 8 -URI http://asc.fasb.org/extlink&oid=64930739&loc=d3e28878-108400 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=64930785&loc=d3e28551-108399 Reference 5: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=64930785&loc=d3e28555-108399 + Details
Name: | us-gaap_DebtInstrumentUnamortizedDiscountPremiumNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Total debt and equity financial instruments including: (1) securities held-to-maturity, (2) trading securities, and (3) securities available-for-sale. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 5 -Subparagraph (d) -URI http://asc.fasb.org/extlink&oid=73527792&loc=d3e27232-111563 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=73527792&loc=d3e27161-111563 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.4) -URI http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878 + Details
Name: | us-gaap_MarketableSecurities
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- References No definition available. + Details
Name: | us-gaap_MarketableSecuritiesAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

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

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

X
- Details
Name: | us-gaap_GainLossOnInvestmentsByCategoryAxis=us-gaap_AvailableforsaleSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ProductOrServiceAxis=agm_FloatingInterestRateMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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

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

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

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

X
- Details
Name: | us-gaap_ProductOrServiceAxis=agm_FixedInterestRateMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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