XML 25 R11.htm IDEA: XBRL DOCUMENT
v3.8.0.1

Investment Securities | 12 Months Ended
--- | ---
Dec. 31, 2017
Investment Securities [Member] |
Schedule of Available-for-sale and Trading Securities [Line Items] |
Investments in Debt and Marketable Equity Securities (and Certain Trading Assets) Disclosure [Text Block] | INVESTMENT SECURITIES The following tables set forth information about Farmer Mac's investment securities as of December 31, 2017 and 2016: Table 4.1
| As of December 31, 2017
| Amount Outstanding |  | Unamortized Premium/(Discount) |  | Amortized Cost |  | Unrealized Gains |  | Unrealized Losses |  | Fair Value
| (in thousands)
Available-for-sale: |  |  |  |  |  |  |  |  |  |  |
Floating rate auction-rate certificates backed by Government guaranteed student loans | $ | 19,700 |  |  | $ | — |  |  | $ | 19,700 |  |  | $ | — |  |  | $ | (886 | ) |  | $ | 18,814 |
Floating rate asset-backed securities | 34,462 |  |  | (154 | ) |  | 34,308 |  |  | 22 |  |  | (120 | ) |  | 34,210 |
Floating rate Government/GSE guaranteed mortgage-backed securities | 1,289,123 |  |  | 2,217 |  |  | 1,291,340 |  |  | 2,215 |  |  | (3,368 | ) |  | 1,290,187 |
Fixed rate GSE guaranteed mortgage-backed securities(1) | 451 |  |  | 2,138 |  |  | 2,589 |  |  | 2,230 |  |  | — |  |  | 4,819 |
Fixed rate senior agency debt | 100,000 |  |  | — |  |  | 100,000 |  |  | — |  |  | (49 | ) |  | 99,951 |
Fixed rate U.S. Treasuries | 770,852 |  |  | (1,836 | ) |  | 769,016 |  |  | — |  |  | (1,592 | ) |  | 767,424 |
Total available-for-sale | 2,214,588 |  |  | 2,365 |  |  | 2,216,953 |  |  | 4,467 |  |  | (6,015 | ) |  | 2,215,405 |
Held-to-maturity: |  |  |  |  |  |  |  |  |  |  |
Fixed rate Government/GSE guaranteed mortgage-backed securities | 45,032 |  |  | — |  |  | 45,032 |  |  | 532 |  |  | — |  |  | 45,564 |
Total investment securities | $ | 2,259,620 |  |  | $ | 2,365 |  |  | $ | 2,261,985 |  |  | $ | 4,999 |  |  | $ | (6,015 | ) |  | $ | 2,260,969 |
(1) | Fair value includes $4.3 million of an interest-only security with a notional amount of $143.7 million.
| As of December 31, 2016
| Amount Outstanding |  | Unamortized Premium/(Discount) |  | Amortized Cost |  | Unrealized Gains |  | Unrealized Losses |  | Fair Value
| (in thousands)
Available-for-sale: |  |  |  |  |  |  |  |  |  |  |
Floating rate auction-rate certificates backed by Government guaranteed student loans | $ | 19,700 |  |  | $ | — |  |  | $ | 19,700 |  |  | $ | — |  |  | $ | (1,970 | ) |  | $ | 17,730 |
Floating rate asset-backed securities | 44,442 |  |  | (202 | ) |  | 44,240 |  |  | 1 |  |  | (390 | ) |  | 43,851 |
Floating rate corporate debt securities | 10,000 |  |  | — |  |  | 10,000 |  |  | 41 |  |  | — |  |  | 10,041 |
Floating rate Government/GSE guaranteed mortgage-backed securities | 1,359,700 |  |  | 2,827 |  |  | 1,362,527 |  |  | 1,768 |  |  | (3,266 | ) |  | 1,361,029 |
Fixed rate GSE guaranteed mortgage-backed securities(1) | 538 |  |  | 2,582 |  |  | 3,120 |  |  | 4,505 |  |  | — |  |  | 7,625 |
Floating rate GSE subordinated debt | 70,000 |  |  | — |  |  | 70,000 |  |  | — |  |  | (3,047 | ) |  | 66,953 |
Fixed rate senior agency debt | 187,295 |  |  | 106 |  |  | 187,401 |  |  | — |  |  | (268 | ) |  | 187,133 |
Fixed rate U.S. Treasuries | 821,619 |  |  | 359 |  |  | 821,978 |  |  | 47 |  |  | (536 | ) |  | 821,489 |
Total available-for-sale | 2,513,294 |  |  | 5,672 |  |  | 2,518,966 |  |  | 6,362 |  |  | (9,477 | ) |  | 2,515,851 |
Total investment securities | $ | 2,513,294 |  |  | $ | 5,672 |  |  | $ | 2,518,966 |  |  | $ | 6,362 |  |  | $ | (9,477 | ) |  | $ | 2,515,851 |
(1) | Fair value includes $7.0 million of an interest-only security with a notional amount of $146.1 million.
During the year ended December 31, 2017, Farmer Mac received proceeds of $10.2 million from the sale of securities from its available-for-sale investment portfolio, resulting in gross realized gains of $0.1 million. During the year ended December 31, 2016, Farmer Mac received proceeds of $186.8 million from the sale of securities from its available-for-sale investment portfolio, resulting in gross realized gains of $0.1 million and gross realized losses of $0.1 million. During the year ended December 31, 2015, Farmer Mac received proceeds of $83.7 million from the sale of securities from its available-for-sale investment portfolio, resulting in gross realized gains of $0.1 million. As of December 31, 2017 and 2016, unrealized losses on available-for-sale investment securities were as follows: Table 4.2
| As of December 31, 2017
| Available-for-Sale Securities
| Unrealized loss position for less than 12 months |  | Unrealized loss position for more than 12 months
| Fair Value |  | Unrealized Loss |  | Fair Value |  | Unrealized Loss
| (in thousands)
Floating rate auction-rate certificates backed by Government guaranteed student loans | $ | — |  |  | $ | — |  |  | $ | 18,814 |  |  | $ | (886 | )
Floating rate asset-backed securities | — |  |  | — |  |  | 23,145 |  |  | (120 | )
Floating rate Government/GSE guaranteed mortgage-backed securities | 292,522 |  |  | (2,337 | ) |  | 221,641 |  |  | (1,031 | )
Fixed rate U.S. Treasuries | 742,442 |  |  | (1,572 | ) |  | 24,983 |  |  | (20 | )
Fixed rate senior agency debt | — |  |  | — |  |  | 99,951 |  |  | (49 | )
Total | $ | 1,034,964 |  |  | $ | (3,909 | ) |  | $ | 388,534 |  |  | $ | (2,106 | )
| As of December 31, 2016
| Available-for-Sale Securities
| Unrealized loss position for less than 12 months |  | Unrealized loss position for more than 12 months
| Fair Value |  | Unrealized Loss |  | Fair Value |  | Unrealized Loss
| (in thousands)
Floating rate auction-rate certificates backed by Government guaranteed student loans | $ | — |  |  | $ | — |  |  | $ | 17,730 |  |  | $ | (1,970 | )
Floating rate asset-backed securities | 4,654 |  |  | (10 | ) |  | 38,077 |  |  | (380 | )
Floating rate Government/GSE guaranteed mortgage-backed securities | 384,586 |  |  | (1,030 | ) |  | 442,041 |  |  | (2,236 | )
Floating rate GSE subordinated debt | — |  |  | — |  |  | 66,953 |  |  | (3,047 | )
Fixed rate U.S. Treasuries | 732,371 |  |  | (536 | ) |  | — |  |  | — |
Fixed rate senior agency debt | 187,133 |  |  | (268 | ) |  | — |  |  | — |
Total | $ | 1,308,744 |  |  | $ | (1,844 | ) |  | $ | 564,801 |  |  | $ | (7,633 | )
The unrealized losses presented above are principally due to a general widening of market spreads and an increase in the levels of interest rates from the dates of acquisition to December 31, 2017 and 2016, as applicable. The resulting decrease in fair values reflects an increase in the perceived risk by the financial markets related to those securities. As of December 31, 2017, all of the investment securities in an unrealized loss position either were backed by the full faith and credit of the U.S. government or had credit ratings of at least "AA+." As of December 31, 2016, all of the investment securities in an unrealized loss position either were backed by the full faith and credit of the U.S. government or had credit ratings of at least "AA+," except one that was rated "A-." The unrealized losses were on 91 and 97 individual investment securities as of December 31, 2017 and 2016, respectively. As of December 31, 2017, 51 of the securities in loss positions had been in loss positions for more than 12 months and had a total unrealized loss of $2.1 million. As of December 31, 2016, 36 of the securities in loss positions had been in loss positions for more than 12 months and had a total unrealized loss of $7.6 million. Securities in unrealized loss positions for 12 months or longer have a fair value as of December 31, 2017 that is, on average, approximately 99.5 percent of their amortized cost basis. Farmer Mac believes that all of these unrealized losses are recoverable within a reasonable period of time by way of maturity or changes in credit spreads. Accordingly, Farmer Mac has concluded that none of the unrealized losses on these available-for-sale investment securities are other-than-temporary impairment as of December 31, 2017 and 2016. As of December 31, 2017, Farmer Mac owned $45.0 million of held-to-maturity investment securities at amortized cost with a fair value of $45.6 million and a weighted average yield of 2.5 percent. Farmer Mac did not own any held-to-maturity investment securities as of December 31, 2016. Farmer Mac did not own any trading investment securities as of December 31, 2017 and 2016. The amortized cost, fair value, and weighted-average yield of available-for-sale investment securities by remaining contractual maturity as of December 31, 2017 are set forth below. Asset-backed and mortgage-backed securities are included based on their final maturities, although the actual maturities may differ due to prepayments of the underlying assets. Table 4.3
| As of December 31, 2017
| Available-for-Sale Securities
| Amortized Cost |  | Fair Value |  | Weighted- Average Yield
| (dollars in thousands)
Due within one year | $ | 799,132 |  |  | $ | 797,762 |  |  | 1.02%
Due after one year through five years | 339,562 |  |  | 338,157 |  |  | 1.78%
Due after five years through ten years | 319,231 |  |  | 320,961 |  |  | 1.87%
Due after ten years | 759,028 |  |  | 758,525 |  |  | 1.93%
Total | $ | 2,216,953 |  |  | $ | 2,215,405 |  |  | 1.57%

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 The entire disclosure for investments in certain debt and equity securities. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -URI http://asc.fasb.org/topic&trid=2196928 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 320 -URI http://asc.fasb.org/subtopic&trid=4738149 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 940 -SubTopic 320 -URI http://asc.fasb.org/subtopic&trid=2176304 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 946 -SubTopic 320 -URI http://asc.fasb.org/subtopic&trid=2324412 Reference 5: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 320 -URI http://asc.fasb.org/subtopic&trid=2209399 Reference 6: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 954 -SubTopic 320 -URI http://asc.fasb.org/subtopic&trid=2289146 + Details
Name: | us-gaap_InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis=us-gaap_DebtSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |