XML 73 R62.htm IDEA: XBRL DOCUMENT
v3.7.0.1

Fair Value Disclosures - Unobservable Input Reconciliation (Details) - Fair Value, Inputs, Level 3 [Member] - Fair Value, Measurements, Recurring [Member] - USD ($) | 3 Months Ended | 6 Months Ended
--- | --- | ---
Jun. 30, 2017 | Jun. 30, 2016 | Jun. 30, 2017 | Jun. 30, 2016
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward] |  |  |  |  |  |  |  |  |
Beginning Balance |  | $ 5,284,591,000 |  | $ 6,518,500,000 |  | $ 4,891,803,000 |  | $ 6,115,339,000 |
Transfers In |  | 0 |  |  |  | 7,041,000 |  |  |
Purchases |  | 247,794,000 |  | 297,590,000 |  | 819,910,000 |  | 1,312,089,000 |
Sales |  | (53,506,000) |  | (19,014,000) |  | (86,095,000) |  | (49,468,000) |
Settlements |  | (167,665,000) |  | (118,819,000) |  | (331,388,000) |  | (718,605,000) |
Realized and Unrealized Gains/(Losses) included in Income |  | 9,550,000 |  | 13,532,000 |  | 6,253,000 |  | 38,193,000 |
Unrealized Gains/(Losses) included in Other Comprehen-sive Income |  | 1,261,000 |  | 49,799,000 |  | 14,501,000 |  | 44,040,000 |
Ending Balance |  | 5,322,025,000 |  | 6,741,588,000 |  | 5,322,025,000 |  | 6,741,588,000 |
Investment Securities [Member] |  |  |  |  |  |  |  |  |
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward] |  |  |  |  |  |  |  |  |
Beginning Balance |  |  |  | 18,113,000 |  |  |  | 45,415,000 |
Purchases |  |  |  | 0 |  |  |  | 0 |
Sales |  |  |  | 0 |  |  |  | (26,806,000) |
Settlements |  |  |  | (120,000) |  |  |  | (326,000) |
Realized and Unrealized Gains/(Losses) included in Income |  |  |  | 18,000 |  |  |  | 122,000 |
Unrealized Gains/(Losses) included in Other Comprehen-sive Income |  |  |  | 0 |  |  |  | (394,000) |
Ending Balance |  |  |  | 18,011,000 |  |  |  | 18,011,000 |
USDA Securities [Member] |  |  |  |  |  |  |  |  |
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation [Line Items] |  |  |  |  |  |  |  |  |
Trading Securities, Unrealized Gains |  | 100,000 |  | 300,000 |  | 7,000 |  | 600,000 |
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward] |  |  |  |  |  |  |  |  |
Beginning Balance |  | 18,602,000 |  | 1,934,883,000 |  | 20,388,000 |  | 1,917,319,000 |
Transfers In |  | 0 |  |  |  | 0 |  |  |
Purchases |  | 53,506,000 |  | 129,645,000 |  | 86,095,000 |  | 228,613,000 |
Sales |  | (53,506,000) |  | (19,014,000) |  | (86,095,000) |  | (22,662,000) |
Settlements |  | (2,306,000) |  | (99,762,000) |  | (4,010,000) |  | (186,314,000) |
Realized and Unrealized Gains/(Losses) included in Income |  | (2,000) |  | 377,000 |  | (84,000) |  | 636,000 |
Unrealized Gains/(Losses) included in Other Comprehen-sive Income |  | 0 |  | 46,417,000 |  | 0 |  | 54,954,000 |
Ending Balance |  | 16,294,000 |  | 1,992,546,000 |  | 16,294,000 |  | 1,992,546,000 |
Available-for-sale Securities [Member] | Investment Securities [Member] |  |  |  |  |  |  |  |  |
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward] |  |  |  |  |  |  |  |  |
Beginning Balance |  | 22,943,000 |  | 17,730,000 |  | 17,730,000 |  | 44,924,000 |
Transfers In |  | 0 |  |  |  | 7,041,000 |  |  |
Purchases |  | 0 |  | 0 |  | 0 |  | 0 |
Sales |  | 0 |  | 0 |  | 0 |  | (26,806,000) |
Settlements |  | (111,000) |  | 0 |  | (223,000) |  | 0 |
Realized and Unrealized Gains/(Losses) included in Income |  | 0 |  | 0 |  | 0 |  | 6,000 |
Unrealized Gains/(Losses) included in Other Comprehen-sive Income |  | 337,000 |  | 0 |  | (1,379,000) |  | (394,000) |
Ending Balance |  | 23,169,000 |  | 17,730,000 |  | 23,169,000 |  | 17,730,000 |
Available-for-sale Securities [Member] | Farmer Mac Guaranteed Securities [Member] |  |  |  |  |  |  |  |  |
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward] |  |  |  |  |  |  |  |  |
Beginning Balance |  | 5,243,046,000 |  | 4,565,504,000 |  | 4,853,685,000 |  | 4,152,605,000 |
Transfers In |  | 0 |  |  |  | 0 |  |  |
Purchases |  | 194,288,000 |  | 167,945,000 |  | 733,815,000 |  | 1,083,476,000 |
Sales |  | 0 |  | 0 |  | 0 |  | 0 |
Settlements |  | (165,248,000) |  | (18,937,000) |  | (327,155,000) |  | (531,965,000) |
Realized and Unrealized Gains/(Losses) included in Income |  | 9,552,000 |  | 13,137,000 |  | 6,337,000 |  | 37,435,000 |
Unrealized Gains/(Losses) included in Other Comprehen-sive Income |  | 924,000 |  | 3,382,000 |  | 15,880,000 |  | (10,520,000) |
Ending Balance |  | 5,282,562,000 |  | 4,731,031,000 |  | 5,282,562,000 |  | 4,731,031,000 |
Available-for-sale Securities [Member] | USDA Securities [Member] |  |  |  |  |  |  |  |  |
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward] |  |  |  |  |  |  |  |  |
Beginning Balance |  | 0 |  | 1,908,014,000 |  | 0 |  | 1,888,344,000 |
Transfers In |  | 0 |  |  |  | 0 |  |  |
Purchases |  | 53,506,000 |  | 129,645,000 |  | 86,095,000 |  | 228,613,000 |
Sales |  | (53,506,000) |  | (19,014,000) |  | (86,095,000) |  | (22,662,000) |
Settlements |  | 0 |  | (97,303,000) |  | 0 |  | (181,490,000) |
Realized and Unrealized Gains/(Losses) included in Income |  | 0 |  | 0 |  | 0 |  | 0 |
Unrealized Gains/(Losses) included in Other Comprehen-sive Income |  | 0 |  | 46,417,000 |  | 0 |  | 54,954,000 |
Ending Balance |  | 0 |  | 1,967,759,000 |  | 0 |  | 1,967,759,000 |
Trading Securities [Member] | Investment Securities [Member] |  |  |  |  |  |  |  |  |
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward] |  |  |  |  |  |  |  |  |
Beginning Balance |  |  |  | 383,000 |  |  |  | 491,000 |
Purchases |  |  |  | 0 |  |  |  | 0 |
Sales |  |  |  | 0 |  |  |  | 0 |
Settlements |  |  |  | (120,000) |  |  |  | (326,000) |
Realized and Unrealized Gains/(Losses) included in Income |  |  |  | 18,000 |  |  |  | 116,000 |
Unrealized Gains/(Losses) included in Other Comprehen-sive Income |  |  |  | 0 |  |  |  | 0 |
Ending Balance |  |  |  | 281,000 |  |  |  | 281,000 |
Trading Securities [Member] | USDA Securities [Member] |  |  |  |  |  |  |  |  |
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward] |  |  |  |  |  |  |  |  |
Beginning Balance |  | 18,602,000 |  | 26,869,000 |  | 20,388,000 | [1] | 28,975,000 |
Transfers In |  | 0 |  |  |  | 0 |  |  |
Purchases |  | 0 |  | 0 |  | 0 |  | 0 |
Sales |  | 0 |  | 0 |  | 0 |  | 0 |
Settlements |  | (2,306,000) |  | (2,459,000) |  | (4,010,000) |  | (4,824,000) |
Realized and Unrealized Gains/(Losses) included in Income |  | (2,000) | [1] | 377,000 | [2] | (84,000) | [1] | 636,000 | [2]
Unrealized Gains/(Losses) included in Other Comprehen-sive Income |  | 0 |  | 0 |  | 0 |  | 0 |
Ending Balance |  | 16,294,000 | [1] | 24,787,000 |  | 16,294,000 | [1] | 24,787,000 |
Institutional Credit [Member] | Available-for-sale Securities [Member] | Farmer Mac Guaranteed Securities [Member] |  |  |  |  |  |  |  |  |
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward] |  |  |  |  |  |  |  |  |
Beginning Balance |  | 5,243,046,000 |  | 4,534,810,000 |  | 4,853,685,000 | [1] | 4,121,244,000 |
Transfers In |  | 0 |  |  |  | 0 |  |  |
Purchases |  | 194,288,000 |  | 163,845,000 |  | 733,815,000 |  | 1,079,376,000 |
Sales |  | 0 |  | 0 |  | 0 |  | 0 |
Settlements |  | (165,248,000) |  | (16,699,000) |  | (327,155,000) |  | (529,229,000) |
Realized and Unrealized Gains/(Losses) included in Income |  | 9,552,000 |  | 13,137,000 |  | 6,337,000 |  | 37,435,000 |
Unrealized Gains/(Losses) included in Other Comprehen-sive Income |  | 924,000 |  | 2,491,000 |  | 15,880,000 |  | (11,242,000) |
Ending Balance |  | 5,282,562,000 | [1] | 4,697,584,000 |  | 5,282,562,000 | [1] | 4,697,584,000 |
USDA Guarantees [Member] | Available-for-sale Securities [Member] | Farmer Mac Guaranteed Securities [Member] |  |  |  |  |  |  |  |  |
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward] |  |  |  |  |  |  |  |  |
Beginning Balance |  |  |  | 30,694,000 |  |  |  | 31,361,000 |
Purchases |  |  |  | 4,100,000 |  |  |  | 4,100,000 |
Sales |  |  |  | 0 |  |  |  | 0 |
Settlements |  |  |  | (2,238,000) |  |  |  | (2,736,000) |
Realized and Unrealized Gains/(Losses) included in Income |  |  |  | 0 |  |  |  | 0 |
Unrealized Gains/(Losses) included in Other Comprehen-sive Income |  |  |  | 891,000 |  |  |  | 722,000 |
Ending Balance |  |  |  | 33,447,000 |  |  |  | 33,447,000 |
Floating Interest Rate [Member] | Available-for-sale Securities [Member] | Floating rate auction-rate certificates backed by Government guaranteed student loans |  |  |  |  |  |  |  |  |
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward] |  |  |  |  |  |  |  |  |
Beginning Balance |  | 18,124,000 |  | 17,730,000 |  | 17,730,000 |  | 44,924,000 |
Transfers In |  | 0 |  |  |  | 0 |  |  |
Purchases |  | 0 |  | 0 |  | 0 |  | 0 |
Sales |  | 0 |  | 0 |  | 0 |  | (26,806,000) |
Settlements |  | 0 |  | 0 |  | 0 |  | 0 |
Realized and Unrealized Gains/(Losses) included in Income |  | 0 |  | 0 |  | 0 |  | 6,000 |
Unrealized Gains/(Losses) included in Other Comprehen-sive Income |  | 394,000 |  | 0 |  | 788,000 |  | (394,000) |
Ending Balance |  | 18,518,000 |  | 17,730,000 |  | 18,518,000 |  | 17,730,000 |
Floating Interest Rate [Member] | Trading Securities [Member] | Asset-backed Securities [Member] |  |  |  |  |  |  |  |  |
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward] |  |  |  |  |  |  |  |  |
Beginning Balance |  |  |  | 383,000 |  |  |  | 491,000 |
Purchases |  |  |  | 0 |  |  |  | 0 |
Sales |  |  |  | 0 |  |  |  | 0 |
Settlements | [3] |  |  | (120,000) |  |  |  | (326,000) |
Realized and Unrealized Gains/(Losses) included in Income |  |  |  | 18,000 |  |  |  | 116,000 |
Unrealized Gains/(Losses) included in Other Comprehen-sive Income |  |  |  | 0 |  |  |  | 0 |
Ending Balance |  |  |  | $ 281,000 |  |  |  | $ 281,000 |
Fixed Interest Rate [Member] | Available-for-sale Securities [Member] | Government/GSE Guaranteed Mortgage Backed Securities [Member] |  |  |  |  |  |  |  |  |
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward] |  |  |  |  |  |  |  |  |
Beginning Balance |  | 4,819,000 |  |  |  | 0 |  |  |
Transfers In |  | 0 |  |  |  | 7,041,000 |  |  |
Purchases |  | 0 |  |  |  | 0 |  |  |
Sales |  | 0 |  |  |  | 0 |  |  |
Settlements |  | (111,000) |  |  |  | (223,000) |  |  |
Realized and Unrealized Gains/(Losses) included in Income |  | 0 |  |  |  | 0 |  |  |
Unrealized Gains/(Losses) included in Other Comprehen-sive Income |  | (57,000) |  |  |  | (2,167,000) |  |  |
Ending Balance |  | $ 4,651,000 |  |  |  | $ 4,651,000 |  |  |
[1] | Includes unrealized gains of $0.1 million attributable to assets still held as of June 30, 2017 that are recorded in "(Losses)/gains on trading securities."
[2] | Includes unrealized gains of $0.3 million attributable to assets still held as of June 30, 2016 that are recorded in "(Losses)/gains on trading securities."
[3] | Unrealized gains are attributable to assets still held as of June 30, 2016 and are recorded in "(Losses)/gains on trading securities."

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 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_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of gain (loss) recognized in the income statement for 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://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 820 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c)(1) -URI http://asc.fasb.org/extlink&oid=66048111&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 (loss) for 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://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 820 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c)(1a) -URI http://asc.fasb.org/extlink&oid=66048111&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://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 820 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c)(2) -URI http://asc.fasb.org/extlink&oid=66048111&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://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 820 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c)(2) -URI http://asc.fasb.org/extlink&oid=66048111&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://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 820 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c)(2) -URI http://asc.fasb.org/extlink&oid=66048111&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/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 820 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c)(3) -URI http://asc.fasb.org/extlink&oid=66048111&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://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 820 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=66048111&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 unrealized holding gain before loss recognized in the income statement for investments in trading securities. + 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.7(c)) -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 -Topic 320 -SubTopic 10 -Section 35 -Paragraph 1 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=27723805&loc=d3e24584-111560 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 9 -Subparagraph (e) -URI http://asc.fasb.org/extlink&oid=73527792&loc=d3e27357-111563 + Details
Name: | us-gaap_TradingSecuritiesUnrealizedHoldingGain
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_DebtSecuritiesMember
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_GainLossOnInvestmentsByCategoryAxis=us-gaap_AvailableforsaleSecuritiesMember
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_GainLossOnInvestmentsByCategoryAxis=us-gaap_TradingAccountAssetsMember
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_USDAGuaranteesMember
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_FairValueByAssetClassAxis=us-gaap_AuctionRateSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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