XML 65 R52.htm IDEA: XBRL DOCUMENT
v3.10.0.1

Investment Securities - Schedule of Investment Securities (Details) $ in Thousands | Dec. 31, 2018 USD ($) position | Dec. 31, 2017 USD ($) position
--- | --- | ---
Debt Securities, Available-for-sale [Abstract] |  |
Derivative, Notional Amount | $ 9,955,745 | $ 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 | 48 | 51
Available-for-sale securities in a loss position for more than 12 months, qualitative disclosure, percent of amortized cost | 99.20% |
Debt Securities, Available-for-sale [Abstract] |  |
Available-for-Sale Securities Unpaid Principal Balance | $ 2,226,409 | $ 2,214,588
Unamortized Premium/(Discount) | (3,489) | 2,365
Available-for-sale Securities, Amortized Cost Basis | 2,222,920 | 2,216,953
Debt Securities, Available-for-sale, Accumulated Gross Unrealized Gain, before Tax | 860 | 4,467
Available-for-sale Securities, Unrealized Losses | (5,928) | (6,015)
Available-for-sale Securities, Fair Value Disclosure | 2,217,852 | 2,215,405
Marketable Securities, Amortized Cost Basis | 2,267,952 | 2,261,985
Marketable Securities, Gross Unrealized Gains | 1,422 | 4,999
Marketable Securities, Gross Unrealized Losses | (5,928) | (6,015)
Marketable Securities Unpaid Principal Balance | 2,271,441 | 2,259,620
Marketable Securities [Abstract] |  |
Marketable Securities | 2,263,446 | 2,260,969
Available-for-sale Securities [Member] | Investment Securities [Member] |  |
Debt Securities, Available-for-sale [Abstract] |  |
Unamortized Premium/(Discount) | (3,489) | 2,365
Floating Interest Rate [Member] | Floating rate auction-rate certificates backed by Government guaranteed student loans |  |
Debt Securities, Available-for-sale [Abstract] |  |
Available-for-Sale Securities Unpaid Principal Balance | 19,700 | 19,700
Available-for-sale Securities, Amortized Cost Basis | 19,700 | 19,700
Debt Securities, Available-for-sale, Accumulated Gross Unrealized Gain, before Tax | 0 | 0
Available-for-sale Securities, Unrealized Losses | (985) | (886)
Available-for-sale Securities, Fair Value Disclosure | 18,715 | 18,814
Floating Interest Rate [Member] | Asset-backed Securities [Member] |  |
Debt Securities, Available-for-sale [Abstract] |  |
Available-for-Sale Securities Unpaid Principal Balance | 28,940 | 34,462
Available-for-sale Securities, Amortized Cost Basis | 28,804 | 34,308
Debt Securities, Available-for-sale, Accumulated Gross Unrealized Gain, before Tax | 2 | 22
Available-for-sale Securities, Unrealized Losses | (128) | (120)
Available-for-sale Securities, Fair Value Disclosure | 28,678 | 34,210
Floating Interest Rate [Member] | Government/GSE Guaranteed Mortgage Backed Securities [Member] |  |
Debt Securities, Available-for-sale [Abstract] |  |
Available-for-Sale Securities Unpaid Principal Balance | 1,379,472 | 1,289,123
Available-for-sale Securities, Amortized Cost Basis | 1,381,000 | 1,291,340
Debt Securities, Available-for-sale, Accumulated Gross Unrealized Gain, before Tax | 721 | 2,215
Available-for-sale Securities, Unrealized Losses | (4,267) | (3,368)
Available-for-sale Securities, Fair Value Disclosure | 1,377,454 | 1,290,187
Floating Interest Rate [Member] | Available-for-sale Securities [Member] | Floating rate auction-rate certificates backed by Government guaranteed student loans |  |
Debt Securities, Available-for-sale [Abstract] |  |
Unamortized Premium/(Discount) | 0 | 0
Floating Interest Rate [Member] | Available-for-sale Securities [Member] | Asset-backed Securities [Member] |  |
Debt Securities, Available-for-sale [Abstract] |  |
Unamortized Premium/(Discount) | (136) | (154)
Floating Interest Rate [Member] | Available-for-sale Securities [Member] | Government/GSE Guaranteed Mortgage Backed Securities [Member] |  |
Debt Securities, Available-for-sale [Abstract] |  |
Unamortized Premium/(Discount) | 1,528 | 2,217
Fixed Interest Rate [Member] | Government/GSE Guaranteed Mortgage Backed Securities [Member] |  |
Debt Securities, Available-for-sale [Abstract] |  |
Available-for-Sale Securities Unpaid Principal Balance | 384 | 451
Available-for-sale Securities, Amortized Cost Basis | 385 | 2,589
Debt Securities, Available-for-sale, Accumulated Gross Unrealized Gain, before Tax | 18 | 2,230
Available-for-sale Securities, Unrealized Losses | 0 | 0
Available-for-sale Securities, Fair Value Disclosure | 403 | 4,819
Derivative, Notional Amount |  | 143,700
Debt Securities, Held-to-maturity, Amortized Cost, before Other-than-temporary Impairment | 45,032 | 45,032
Held to Maturity; Unrealized Holding Gains | 562 | 532
Debt Securities, Held-to-maturity, Accumulated Unrecognized Loss | 0 | 0
Debt Securities, Held-to-maturity, Fair Value | 45,594 | 45,564
Held-to-Maturity Unpaid Principal Balance | 45,032 | 45,032
Fixed Interest Rate [Member] | USDA Securities [Member] |  |
Debt Securities, Available-for-sale [Abstract] |  |
Available-for-Sale Securities Unpaid Principal Balance |  | 100,000
Available-for-sale Securities, Amortized Cost Basis |  | 100,000
Debt Securities, Available-for-sale, 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] |  |
Debt Securities, Available-for-sale [Abstract] |  |
Available-for-Sale Securities Unpaid Principal Balance | 797,913 | 770,852
Available-for-sale Securities, Amortized Cost Basis | 793,031 | 769,016
Debt Securities, Available-for-sale, Accumulated Gross Unrealized Gain, before Tax | 119 | 0
Available-for-sale Securities, Unrealized Losses | (548) | (1,592)
Available-for-sale Securities, Fair Value Disclosure | 792,602 | 767,424
Fixed Interest Rate [Member] | Available-for-sale Securities [Member] | Government/GSE Guaranteed Mortgage Backed Securities [Member] |  |
Debt Securities, Available-for-sale [Abstract] |  |
Unamortized Premium/(Discount) | 1 | 2,138
Fixed Interest Rate [Member] | Available-for-sale Securities [Member] | USDA Securities [Member] |  |
Debt Securities, Available-for-sale [Abstract] |  |
Unamortized Premium/(Discount) |  | 0
Fixed Interest Rate [Member] | Available-for-sale Securities [Member] | US Treasury Securities [Member] |  |
Debt Securities, Available-for-sale [Abstract] |  |
Unamortized Premium/(Discount) | (4,882) | (1,836)
Fixed Interest Rate [Member] | Available-for-sale Securities [Member] | Interest-Only-Strip [Member] |  |
Debt Securities, Available-for-sale [Abstract] |  |
Unamortized Premium/(Discount) |  | 4,300
Fixed Interest Rate [Member] | Held-to-maturity Securities [Member] | Government/GSE Guaranteed Mortgage Backed Securities [Member] |  |
Debt Securities, Available-for-sale [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 investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -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 investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -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 Amortized cost of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=82897076&loc=d3e27161-111563 + Details
Name: | us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis
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 Amount of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 45 -Paragraph 1 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=109979856&loc=d3e26610-111562 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (aa) -URI http://asc.fasb.org/extlink&oid=82897076&loc=d3e27161-111563 + Details
Name: | us-gaap_AvailableForSaleSecuritiesDebtSecurities
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 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://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=114775744&loc=d3e28555-108399 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=114775744&loc=d3e28551-108399 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 4 -URI http://asc.fasb.org/extlink&oid=114775744&loc=d3e28567-108399 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 1A -URI http://asc.fasb.org/extlink&oid=114775744&loc=d3e28541-108399 Reference 5: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 55 -Paragraph 8 -URI http://asc.fasb.org/extlink&oid=114775985&loc=d3e28878-108400 + Details
Name: | us-gaap_DebtInstrumentUnamortizedDiscountPremiumNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of investment in debt security measured at amortized cost (held-to-maturity) and investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). + References No definition available. + Details
Name: | us-gaap_DebtSecuritiesAvailableForSaleAndHeldToMaturity
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of accumulated unrecognized gain on investment in debt security measured at amortized cost (held-to-maturity). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -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 investment in debt security measured at amortized cost (held-to-maturity). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -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 investment in debt securities measured at amortized cost (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 investment in debt security measured at amortized cost (held-to-maturity). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -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 + 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_FinancialInstrumentAxis=us-gaap_DebtSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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

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

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

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

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

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

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

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

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