XML 67 R54.htm IDEA: XBRL DOCUMENT
v3.10.0.1

Loans and Allowance for Losses and Concentrations of Credit Risk - Certain Loans Acquired Delinquencies and Net Credit Losses (Details) - USD ($) $ in Thousands | 6 Months Ended |
--- | --- | ---
Jun. 30, 2018 | Jun. 30, 2017 | Dec. 31, 2017
Financing Receivable, Recorded Investment, Past Due [Line Items] |  |  |
Financing Receivable, Recorded Investment, Past Due | $ 43,076 |  | $ 48,444
Net credit losses (recoveries) | (18) | $ (488) |
Certain Loans Acquired In Transfer Not Accounted For As Debt Securities, Subject To Be Purchased | 700 |  | 300
On-balance sheet [Member] |  |  |
Financing Receivable, Recorded Investment, Past Due [Line Items] |  |  |
Financing Receivable, Recorded Investment, Past Due | 35,744 |  | 47,881
Net credit losses (recoveries) | (18) | (488) |
Off-balance sheet [Member] |  |  |
Financing Receivable, Recorded Investment, Past Due [Line Items] |  |  |
Financing Receivable, Recorded Investment, Past Due | 7,332 |  | $ 563
Net credit losses (recoveries) | $ 0 | $ 0 |

X
- Definition Certain Loans Acquired In Transfer Not Accounted For As Debt Securities, Subject To Be Purchased + References No definition available. + Details
Name: | agm_CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesSubjectToBePurchased
Namespace Prefix: | agm_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Net credit losses (recoveries) includes chargeoffs recoveries of chargeoffs REO writedowns and gain (loss) on REO Sales + References No definition available. + Details
Name: | agm_NetCreditLossesRecoveries
Namespace Prefix: | agm_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Recorded Investment in financing receivables that are past due at the balance sheet date. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 7A -URI http://asc.fasb.org/extlink&oid=84173941&loc=SL6953401-111524 + Details
Name: | us-gaap_FinancingReceivableRecordedInvestmentPastDue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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

X
- Details
Name: | us-gaap_BalanceSheetLocationAxis=agm_OnBalanceSheetMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BalanceSheetLocationAxis=agm_OffBalanceSheetMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |