XML 47 R34.htm IDEA: XBRL DOCUMENT
v3.10.0.1

Investment Securities - Schedule of Investment Securities (Details) $ in Thousands | Jun. 30, 2018 USD ($) position | Mar. 31, 2018 USD ($) | Dec. 31, 2017 USD ($) position
--- | --- | --- | ---
Schedule of Available-for-sale and Trading Securities [Line Items] |  |  |
Available-for-sale, Securities in Unrealized Loss Positions, Qualitative Disclosure, Number of Positions | position | 100 |  | 91
Available-for-sale Securities [Abstract] |  |  |
Derivative, Notional Amount | $ 10,176,118 |  | $ 8,860,296
Investment Securities [Member] |  |  |
Schedule of Available-for-sale and Trading Securities [Line Items] |  |  |
Available-for-sale, Securities in Unrealized Loss Positions, Qualitative Disclosure, Number of Positions, Greater than or Equal to One Year | position | 44 |  | 51
Available-for-sale securities in a loss position for more than 12 months, qualitative disclosure, percent of amortized cost | 99.30% |  |
Available-for-sale Securities [Abstract] |  |  |
Available-for-Sale Securities Unpaid Principal Balance | $ 2,328,659 |  | $ 2,214,588
Unamortized Premium/(Discount) | (1,050) |  | 2,365
Available-for-sale Securities, Amortized Cost Basis | 2,327,609 |  | 2,216,953
Available-for-sale Debt Securities, Accumulated Gross Unrealized Gain, before Tax | 1,298 |  | 4,467
Available-for-sale Securities, Unrealized Losses | (4,309) |  | (6,015)
Available-for-sale Securities, Fair Value Disclosure | 2,324,598 |  | 2,215,405
Marketable Securities, Amortized Cost Basis | 2,372,641 |  | 2,261,985
Marketable Securities, Gross Unrealized Gains | 2,129 |  | 4,999
Marketable Securities, Gross Unrealized Losses | (4,309) |  | (6,015)
Marketable Securities Unpaid Principal Balance | 2,373,691 |  | 2,259,620
Marketable Securities [Abstract] |  |  |
Marketable Securities | 2,370,461 |  | 2,260,969
Available-for-sale Securities [Member] | Investment Securities [Member] |  |  |
Available-for-sale Securities [Abstract] |  |  |
Unamortized Premium/(Discount) | (1,050) |  | 2,365
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 | (690) |  | (886)
Available-for-sale Securities, Fair Value Disclosure | 19,010 |  | 18,814
Floating Interest Rate [Member] | Asset-backed Securities [Member] |  |  |
Available-for-sale Securities [Abstract] |  |  |
Available-for-Sale Securities Unpaid Principal Balance | 31,531 |  | 34,462
Available-for-sale Securities, Amortized Cost Basis | 31,399 |  | 34,308
Available-for-sale Debt Securities, Accumulated Gross Unrealized Gain, before Tax | 25 |  | 22
Available-for-sale Securities, Unrealized Losses | (103) |  | (120)
Available-for-sale Securities, Fair Value Disclosure | 31,321 |  | 34,210
Floating Interest Rate [Member] | Government/GSE Guaranteed Mortgage Backed Securities [Member] |  |  |
Available-for-sale Securities [Abstract] |  |  |
Available-for-Sale Securities Unpaid Principal Balance | 1,367,091 |  | 1,289,123
Available-for-sale Securities, Amortized Cost Basis | 1,368,887 |  | 1,291,340
Available-for-sale Debt Securities, Accumulated Gross Unrealized Gain, before Tax | 1,250 |  | 2,215
Available-for-sale Securities, Unrealized Losses | (2,012) |  | (3,368)
Available-for-sale Securities, Fair Value Disclosure | 1,368,125 |  | 1,290,187
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) | (132) |  | (154)
Floating Interest Rate [Member] | Available-for-sale Securities [Member] | Government/GSE Guaranteed Mortgage Backed Securities [Member] |  |  |
Available-for-sale Securities [Abstract] |  |  |
Unamortized Premium/(Discount) | 1,796 |  | 2,217
Fixed Interest Rate [Member] | Government/GSE Guaranteed Mortgage Backed Securities [Member] |  |  |
Available-for-sale Securities [Abstract] |  |  |
Available-for-Sale Securities Unpaid Principal Balance | 416 |  | 451
Available-for-sale Securities, Amortized Cost Basis | 416 |  | 2,589
Available-for-sale Debt Securities, Accumulated Gross Unrealized Gain, before Tax | 23 |  | 2,230
Available-for-sale Securities, Unrealized Losses | 0 |  | 0
Available-for-sale Securities, Fair Value Disclosure | 439 |  | 4,819
Derivative, Notional Amount |  | $ 143,100 | 143,700
Held-to-maturity Securities, Amortized Cost before Other than Temporary Impairment | 45,032 |  | 45,032
Held to Maturity; Unrealized Holding Gains | 831 |  | 532
Held-to-maturity Securities, Accumulated Unrecognized Holding Loss | 0 |  | 0
Held-to-maturity Securities, Fair Value | 45,863 |  | 45,564
Held-to-Maturity Unpaid Principal Balance | 45,032 |  | 45,032
Fixed Interest Rate [Member] | USDA Securities [Member] |  |  |
Available-for-sale Securities [Abstract] |  |  |
Available-for-Sale Securities Unpaid Principal Balance |  |  | 100,000
Available-for-sale Securities, Amortized Cost Basis |  |  | 100,000
Available-for-sale Debt Securities, Accumulated Gross Unrealized Gain, before Tax |  |  | 0
Available-for-sale Securities, Unrealized Losses |  |  | (49)
Available-for-sale Securities, Fair Value Disclosure |  |  | 99,951
Fixed Interest Rate [Member] | US Treasury Securities [Member] |  |  |
Available-for-sale Securities [Abstract] |  |  |
Available-for-Sale Securities Unpaid Principal Balance | 909,921 |  | 770,852
Available-for-sale Securities, Amortized Cost Basis | 907,207 |  | 769,016
Available-for-sale Debt Securities, Accumulated Gross Unrealized Gain, before Tax | 0 |  | 0
Available-for-sale Securities, Unrealized Losses | (1,504) |  | (1,592)
Available-for-sale Securities, Fair Value Disclosure | 905,703 |  | 767,424
Fixed Interest Rate [Member] | Available-for-sale Securities [Member] | Government/GSE Guaranteed Mortgage Backed Securities [Member] |  |  |
Available-for-sale Securities [Abstract] |  |  |
Unamortized Premium/(Discount) | 0 |  | 2,138
Fixed Interest Rate [Member] | Available-for-sale Securities [Member] | USDA Securities [Member] |  |  |
Available-for-sale Securities [Abstract] |  |  |
Unamortized Premium/(Discount) |  |  | 0
Fixed Interest Rate [Member] | Available-for-sale Securities [Member] | US Treasury Securities [Member] |  |  |
Available-for-sale Securities [Abstract] |  |  |
Unamortized Premium/(Discount) | (2,714) |  | (1,836)
Fixed Interest Rate [Member] | Available-for-sale Securities [Member] | Interest-Only-Strip [Member] |  |  |
Available-for-sale Securities [Abstract] |  |  |
Unamortized Premium/(Discount) |  | $ 4,100 | 4,300
Fixed Interest Rate [Member] | Held-to-maturity Securities [Member] | Government/GSE Guaranteed Mortgage Backed Securities [Member] |  |  |
Available-for-sale Securities [Abstract] |  |  |
Unamortized Premium/(Discount) | $ 0 |  | $ 0

X
- Definition Available-for-sale securities in a loss position for more than 12 months, qualitative disclosure, percent of amortized cost + References No definition available. + Details
Name: | agm_AvailableForSaleSecuritiesInLossPositionForMoreThan12MonthsQualitativeDisclosurePercentOfAmortizedCost
Namespace Prefix: | agm_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

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 Held-to-Maturity Unpaid Principal Balance + References No definition available. + Details
Name: | agm_HeldtoMaturityUnpaidPrincipalBalance
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 Schedule of Available-for-sale and Trading Securities [Line Items] + References No definition available. + Details
Name: | agm_ScheduleOfAvailableForSaleAndTradingSecuritiesLineItems
Namespace Prefix: | agm_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

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=82897076&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=82897076&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=75030427&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=82897076&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=82896770&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 of debt and equity financial instruments classified as either held-to-maturity or available-for-sale. + References No definition available. + Details
Name: | us-gaap_AvailableForSaleSecuritiesAndHeldToMaturitySecurities
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Number of investment positions in available-for-sale investments in a continuous unrealized loss position for which an other-than-temporary impairment (OTTI) has not been recognized in the income statement. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 6 -Subparagraph (b)(3) -URI http://asc.fasb.org/extlink&oid=82897076&loc=d3e27290-111563 + Details
Name: | us-gaap_AvailableforsaleSecuritiesInUnrealizedLossPositionsQualitativeDisclosureNumberOfPositions1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition Number of investment positions in available-for-sale investments that have been in a continuous unrealized loss position for greater than or equal to a year for which an other-than-temporary impairment (OTTI) has not been recognized in the income statement. + References No definition available. + Details
Name: | us-gaap_AvailableforsaleSecuritiesInUnrealizedLossPositionsQualitativeDisclosureNumberOfPositionsGreaterThanOrEqualToOneYear
Namespace Prefix: | us-gaap_
Data Type: | xbrli:integerItemType
Balance Type: | na
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 Amount of accumulated unrealized gain on investments in debt securities classified as held-to-maturity. + 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 (b) -URI http://asc.fasb.org/extlink&oid=82897076&loc=d3e27232-111563 + Details
Name: | us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingGain
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of accumulated unrealized loss on investments in debt securities classified as held-to-maturity. + 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 (c) -URI http://asc.fasb.org/extlink&oid=82897076&loc=d3e27232-111563 + Details
Name: | us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount before other than temporary impairment (OTTI) accretion, of investments in debt securities classified as held-to-maturity. + References No definition available. + Details
Name: | us-gaap_HeldToMaturitySecuritiesAmortizedCostBeforeOtherThanTemporaryImpairment
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Fair value of investments in debt securities classified as held-to-maturity. + 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 (aa) -URI http://asc.fasb.org/extlink&oid=82897076&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 5 -Subparagraph (f) -URI http://asc.fasb.org/extlink&oid=82897076&loc=d3e27232-111563 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 5 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=82897076&loc=d3e27232-111563 + Details
Name: | us-gaap_HeldToMaturitySecuritiesFairValue
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_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_MortgageBackedSecuritiesMember
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_USGovernmentAgenciesDebtSecuritiesMember
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: |

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