XML 108 R95.htm IDEA: XBRL DOCUMENT
v3.20.4

Fair Value Disclosures - Unobservable Input Reconciliation (Details) - USD ($) $ in Thousands | 3 Months Ended | 12 Months Ended
--- | --- | ---
Dec. 31, 2019 | Dec. 31, 2020 | Dec. 31, 2019 | Dec. 31, 2018
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward] |  |  |  |
Gains on trading securities |  | $ 50 | $ 326 | $ 81
Level 3 | Recurring |  |  |  |
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward] |  |  |  |
Beginning Balance |  | 7,170,850 | 6,003,211 | 5,508,576
Cumulative Effect from Change in Hedge Accounting |  |  |  | 487
Purchases | $ 2,091,566 | 974,237 |  | 2,305,396
Sales | (57,853) | 0 |  | (127,850)
Settlements | (1,021,706) | (1,400,130) |  | (1,676,136)
Allowance for Losses |  | (345) |  |
Realized and unrealized gains included in Income | 181,470 | 202,757 |  | 19,448
Unrealized gains included in Other Comprehensive Income | (25,838) | 26,198 |  | (26,710)
Ending Balance | 7,170,850 | 6,973,567 | 7,170,850 | 6,003,211
Floating rate auction-rate certificates backed by Government guaranteed student loans | Floating Interest Rate | Level 3 | Recurring |  |  |  |
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward] |  |  |  |
Beginning Balance |  | 18,912 |  |
Ending Balance | 18,912 | 19,171 | 18,912 |
Floating rate auction-rate certificates backed by Government guaranteed student loans | Floating Interest Rate | Level 3 | Recurring | Available-for-Sale Securities |  |  |  |
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward] |  |  |  |
Beginning Balance |  | 18,912 | 18,715 | 18,814
Cumulative Effect from Change in Hedge Accounting |  |  |  | 0
Purchases | 0 | 0 |  | 0
Sales | 0 | 0 |  | 0
Settlements | 0 | 0 |  | 0
Allowance for Losses |  | (36) |  |
Realized and unrealized gains included in Income | 0 | 0 |  | 0
Unrealized gains included in Other Comprehensive Income | 197 | 295 |  | (99)
Ending Balance | 18,912 | 19,171 | 18,912 | 18,715
Fixed rate GSE guaranteed mortgage-backed securities | Fixed Interest Rate | Level 3 | Recurring | Available-for-Sale Securities |  |  |  |
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward] |  |  |  |
Beginning Balance |  |  | 0 | 4,333
Cumulative Effect from Change in Hedge Accounting |  |  |  | 0
Purchases |  |  |  | 0
Sales |  |  |  | 0
Settlements |  |  |  | (2,137)
Realized and unrealized gains included in Income |  |  |  | (2,092)
Unrealized gains included in Other Comprehensive Income |  |  |  | (104)
Ending Balance |  |  |  | 0
Available-for-sale securities | Level 3 | Recurring | Available-for-Sale Securities |  |  |  |
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward] |  |  |  |
Beginning Balance |  | 18,912 | 18,715 | 23,147
Cumulative Effect from Change in Hedge Accounting |  |  |  | 0
Purchases | 0 | 0 |  | 0
Sales | 0 | 0 |  | 0
Settlements | 0 | 0 |  | (2,137)
Allowance for Losses |  | (36) |  |
Realized and unrealized gains included in Income | 0 | 0 |  | (2,092)
Unrealized gains included in Other Comprehensive Income | 197 | 295 |  | (203)
Ending Balance | 18,912 | 19,171 | 18,912 | 18,715
Farmer Mac Guaranteed Securities | Level 3 | Recurring | AgVantage Securities |  |  |  |
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward] |  |  |  |
Beginning Balance |  | 7,143,025 |  |
Ending Balance | 7,143,025 | 6,947,701 | 7,143,025 |
Farmer Mac Guaranteed Securities | Level 3 | Recurring | Available-for-Sale Securities |  |  |  |
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward] |  |  |  |
Beginning Balance |  | 7,143,025 | 5,974,497 | 5,471,914
Cumulative Effect from Change in Hedge Accounting |  |  |  | 487
Purchases | 2,033,713 | 974,237 |  | 2,177,546
Sales | 0 | 0 |  | 0
Settlements | (1,020,294) | (1,397,861) |  | (1,670,402)
Allowance for Losses |  | (309) |  |
Realized and unrealized gains included in Income | 181,144 | 202,706 |  | 21,459
Unrealized gains included in Other Comprehensive Income | (26,035) | 25,903 |  | (26,507)
Ending Balance | 7,143,025 | 6,947,701 | 7,143,025 | 5,974,497
Farmer Mac Guaranteed Securities | Level 3 | Recurring | Available-for-Sale Securities | AgVantage Securities |  |  |  |
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward] |  |  |  |
Beginning Balance |  | 7,143,025 | 5,974,497 | 5,471,914
Cumulative Effect from Change in Hedge Accounting |  |  |  | 487
Purchases | 2,033,713 | 974,237 |  | 2,177,546
Sales | 0 | 0 |  | 0
Settlements | (1,020,294) | (1,397,861) |  | (1,670,402)
Allowance for Losses |  | (309) |  |
Realized and unrealized gains included in Income | 181,144 | 202,706 |  | 21,459
Unrealized gains included in Other Comprehensive Income | (26,035) | 25,903 |  | (26,507)
Ending Balance | 7,143,025 | 6,947,701 | 7,143,025 | 5,974,497
USDA Securities: | Level 3 | Recurring |  |  |  |
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward] |  |  |  |
Beginning Balance |  | 8,913 | 9,999 | 13,515
Cumulative Effect from Change in Hedge Accounting |  |  |  | 0
Purchases | 57,853 | 0 |  | 127,850
Sales | (57,853) | 0 |  | (127,850)
Settlements | (1,412) | (2,269) |  | (3,597)
Allowance for Losses |  |  |  |
Realized and unrealized gains included in Income | 326 | 51 |  | 81
Unrealized gains included in Other Comprehensive Income | 0 | 0 |  | 0
Ending Balance | 8,913 | 6,695 | 8,913 | 9,999
USDA Securities: | Level 3 | Recurring | Available-for-Sale Securities |  |  |  |
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward] |  |  |  |
Beginning Balance |  | 0 | 0 | 0
Cumulative Effect from Change in Hedge Accounting |  |  |  | 0
Purchases | 57,853 |  |  | 127,850
Sales | (57,853) |  |  | (127,850)
Settlements | 0 |  |  | 0
Realized and unrealized gains included in Income | 0 |  |  | 0
Unrealized gains included in Other Comprehensive Income | 0 |  |  | 0
Ending Balance | 0 |  | 0 | 0
USDA Securities: | Level 3 | Recurring | Trading |  |  |  |
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward] |  |  |  |
Beginning Balance |  | 8,913 | 9,999 | 13,515
Cumulative Effect from Change in Hedge Accounting |  |  |  | 0
Purchases | 0 | 0 |  | 0
Sales | 0 | 0 |  | 0
Settlements | (1,412) | (2,269) |  | (3,597)
Allowance for Losses |  | 0 |  |
Realized and unrealized gains included in Income | 326 | 51 |  | 81
Unrealized gains included in Other Comprehensive Income | 0 | 0 |  | 0
Ending Balance | $ 8,913 | $ 6,695 | $ 8,913 | 9,999
Gains on trading securities |  |  |  | $ 100

X
- Definition Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Asset, Allowance for Credit Loss + References No definition available. + Details
Name: | agm_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetAllowanceForCreditLoss
Namespace Prefix: | agm_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period. + References No definition available. + Details
Name: | us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of gain (loss) recognized in income from asset measured at fair value on recurring basis using unobservable input (level 3). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 820 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c)(1) -URI http://asc.fasb.org/extlink&oid=117815213&loc=d3e19207-110258 + Details
Name: | us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetGainLossIncludedInEarnings1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of gain (loss) recognized in other comprehensive income (OCI) from asset measured at fair value on recurring basis using unobservable input (level 3). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 820 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c)(1a) -URI http://asc.fasb.org/extlink&oid=117815213&loc=d3e19207-110258 + Details
Name: | us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetGainLossIncludedInOtherComprehensiveIncomeLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of purchases of financial instrument classified as an asset measured using unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 820 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c)(2) -URI http://asc.fasb.org/extlink&oid=117815213&loc=d3e19207-110258 + Details
Name: | us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetPurchases
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of sale of financial instrument classified as an asset measured using unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 820 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c)(2) -URI http://asc.fasb.org/extlink&oid=117815213&loc=d3e19207-110258 + Details
Name: | us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetSales
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of settlement of financial instrument classified as an asset measured using unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 820 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c)(2) -URI http://asc.fasb.org/extlink&oid=117815213&loc=d3e19207-110258 + Details
Name: | us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetSettlements
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of transfer of financial instrument classified as an asset into level 3 of the fair value hierarchy. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 820 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c)(3) -URI http://asc.fasb.org/extlink&oid=117815213&loc=d3e19207-110258 + Details
Name: | us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetTransfersIntoLevel3
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Fair value of financial instrument classified as an asset measured using unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 820 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=117815213&loc=d3e19207-110258 + Details
Name: | us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of gain (loss) resulting from the difference between the acquisition price and the selling price or fair value of trading assets and trading liabilities, conducted separately from customer trading activities. Includes, but is not limited to, changes in fair value of trading assets and trading liabilities. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 4F -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=121590274&loc=SL5624186-113959 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 940 -SubTopic 320 -Section 35 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=35711043&loc=d3e42454-110968 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 940 -SubTopic 320 -Section 45 -Paragraph 5 -URI http://asc.fasb.org/extlink&oid=35711157&loc=d3e42567-110969 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 220 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-04.13(e)) -URI http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260 + Details
Name: | us-gaap_TradingGainsLosses
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Details
Name: | us-gaap_FairValueByFairValueHierarchyLevelAxis=us-gaap_FairValueInputsLevel3Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FairValueByMeasurementFrequencyAxis=us-gaap_FairValueMeasurementsRecurringMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FairValueByAssetClassAxis=us-gaap_AuctionRateSecuritiesMember
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_InformationByCategoryOfDebtSecurityAxis=us-gaap_AvailableforsaleSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FairValueByAssetClassAxis=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_FairValueByAssetClassAxis=us-gaap_DebtSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

X
- Details
Name: | us-gaap_StatementBusinessSegmentsAxis=agm_InstitutionalCreditMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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