XML 64 R53.htm IDEA: XBRL DOCUMENT
v3.19.1

Loans and Allowance for Losses - Narrative (Details) $ in Millions | Feb. 19, 2019 USD ($)
--- | ---
Purchase of Loans [Member] | CoBank [Member] |
Accounts, Notes, Loans and Financing Receivable [Line Items] |
Purchase of portfolio of participations in season Rural Utilities loans | $ 546.2

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

X
- Definition The cash outflow for the purchase of loan receivable arising from the financing of goods and services. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 13 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=109223946&loc=d3e3213-108585 + Details
Name: | us-gaap_PaymentsToAcquireLoansReceivable
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Details
Name: | us-gaap_RelatedPartyTransactionAxis=agm_PurchaseOfLoansMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RelatedPartyTransactionsByRelatedPartyAxis=agm_CoBankMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |