XML 147 R129.htm IDEA: XBRL DOCUMENT
v3.25.0.1

Fair Value of Financial Instruments - Schedule of Assets and Liabilities Measured at Fair Value on a Recurring Basis (Details) - USD ($) | Dec. 31, 2024 | Dec. 31, 2023 | Dec. 31, 2022
--- | --- | --- | ---
Assets |  |  |
Investment securities available for sale: | $ 0 | $ 31,000 |
Derivative assets: |  |  |
Derivative assets | 64,950,000 | 19,604,000 |
Mortgage servicing rights | 21,003,000 | 0 | $ 0
Derivative liabilities: |  |  |
Derivative assets | 56,000 | 6,510,000 |
Variation Margin | 9,120,000 | 27,447,000 |
Interest rate caps |  |  |
Derivative assets: |  |  |
Derivative assets | 56,000 | 6,510,000 |
Interest rate swaps |  |  |
Derivative assets: |  |  |
Derivative assets | 63,942,000 | 13,094,000 |
Derivative liabilities: |  |  |
Variation Margin | 0 | 27,447,000 |
U.S. Treasury futures |  |  |
Derivative assets: |  |  |
Derivative assets | 952,000 |  |
Derivative liabilities: |  |  |
Variation Margin | 0 |  |
Credit default swaps |  |  |
Derivative liabilities: |  |  |
Variation Margin | 9,120,000 |  |
Fair Value, Measurements, Recurring |  |  |
Assets |  |  |
Equity investments | 113,492,000 | 147,116,000 |
Assets of disposal group held for sale | 67,000 | 2,960,000 |
Total | 7,891,092,000 | 5,350,498,000 |
Derivative liabilities: |  |  |
Total | 2,195,990,000 | 593,737,000 |
Fair Value, Measurements, Recurring | Senior unsecured notes |  |  |
Liabilities carried at fair value |  |  |
Senior unsecured notes | 60,310,000 | 0 |
Fair Value, Measurements, Recurring | Interest rate caps |  |  |
Derivative assets: |  |  |
Derivative assets | 56,000 | 6,510,000 |
Fair Value, Measurements, Recurring | Interest rate swaps |  |  |
Derivative assets: |  |  |
Derivative assets | 0 | 0 |
Derivative liabilities: |  |  |
Derivative liability | 0 | 0 |
Fair Value, Measurements, Recurring | U.S. Treasury futures |  |  |
Derivative assets: |  |  |
Derivative assets | 0 | 0 |
Fair Value, Measurements, Recurring | Credit default swaps |  |  |
Derivative liabilities: |  |  |
Derivative liability | 0 | 0 |
Fair Value, Measurements, Recurring | Interest Rate Swaps, Credit Default Swaps, U.S. Treasury Futures |  |  |
Derivative liabilities: |  |  |
Variation Margin | 45,000,000 | 27,400,000 |
Fair Value, Measurements, Recurring | Interest Rate Swaps, Credit Default Swaps, U.S. Treasury Futures | Central Clearing House |  |  |
Derivative liabilities: |  |  |
Derivative liability | 19,900,000 | 40,500,000 |
Derivative assets | 64,900,000 | 13,100,000 |
Fair Value, Measurements, Recurring | Residential loans |  |  |
Assets |  |  |
Residential loans, at fair value | 632,266,000 | 827,535,000 |
Fair Value, Measurements, Recurring | Consolidated SLST | Consolidated SLST | VIE, Primary Beneficiary |  |  |
Assets |  |  |
Residential loans, at fair value | 965,672,000 | 754,860,000 |
Liabilities carried at fair value |  |  |
Consolidated SLST | 811,591,000 | 593,737,000 |
Fair Value, Measurements, Recurring | Residential loans held in securitization trusts |  |  |
Assets |  |  |
Residential loans, at fair value | 2,243,800,000 | 1,501,908,000 |
Fair Value, Measurements, Recurring | Agency RMBS |  |  |
Assets |  |  |
Investment securities available for sale: | 3,136,812,000 | 1,989,324,000 |
Fair Value, Measurements, Recurring | Non-Agency RMBS |  |  |
Assets |  |  |
Investment securities available for sale: | 69,687,000 | 24,493,000 |
Fair Value, Measurements, Recurring | U.S. Treasury securities |  |  |
Assets |  |  |
Investment securities available for sale: | 622,045,000 | 0 |
Fair Value, Measurements, Recurring | Multi-family loans |  |  |
Assets |  |  |
Multi-family loans | 86,192,000 | 95,792,000 |
Fair Value, Measurements, Recurring | Mortgage servicing rights |  |  |
Derivative assets: |  |  |
Mortgage servicing rights | 21,003,000 | 0 |
Fair Value, Measurements, Recurring | Residential loan securitizations at fair value |  |  |
Liabilities carried at fair value |  |  |
Consolidated SLST | 1,253,332,000 | 0 |
Fair Value, Measurements, Recurring | Non-Agency RMBS re-securitization |  |  |
Liabilities carried at fair value |  |  |
Consolidated SLST | 70,757,000 | 0 |
Level 1 | Fair Value, Measurements, Recurring |  |  |
Assets |  |  |
Equity investments | 0 | 0 |
Assets of disposal group held for sale | 0 | 0 |
Total | 0 | 0 |
Derivative liabilities: |  |  |
Total | 0 | 0 |
Level 1 | Fair Value, Measurements, Recurring | Senior unsecured notes |  |  |
Liabilities carried at fair value |  |  |
Senior unsecured notes | 0 | 0 |
Level 1 | Fair Value, Measurements, Recurring | Interest rate caps |  |  |
Derivative assets: |  |  |
Derivative assets | 0 | 0 |
Level 1 | Fair Value, Measurements, Recurring | Interest rate swaps |  |  |
Derivative assets: |  |  |
Derivative assets | 0 | 0 |
Derivative liabilities: |  |  |
Derivative liability | 0 | 0 |
Level 1 | Fair Value, Measurements, Recurring | U.S. Treasury futures |  |  |
Derivative assets: |  |  |
Derivative assets | 0 | 0 |
Level 1 | Fair Value, Measurements, Recurring | Credit default swaps |  |  |
Derivative liabilities: |  |  |
Derivative liability | 0 | 0 |
Level 1 | Fair Value, Measurements, Recurring | Residential loans |  |  |
Assets |  |  |
Residential loans, at fair value | 0 | 0 |
Level 1 | Fair Value, Measurements, Recurring | Consolidated SLST | Consolidated SLST | VIE, Primary Beneficiary |  |  |
Assets |  |  |
Residential loans, at fair value | 0 | 0 |
Liabilities carried at fair value |  |  |
Consolidated SLST | 0 | 0 |
Level 1 | Fair Value, Measurements, Recurring | Residential loans held in securitization trusts |  |  |
Assets |  |  |
Residential loans, at fair value | 0 | 0 |
Level 1 | Fair Value, Measurements, Recurring | Agency RMBS |  |  |
Assets |  |  |
Investment securities available for sale: | 0 | 0 |
Level 1 | Fair Value, Measurements, Recurring | Non-Agency RMBS |  |  |
Assets |  |  |
Investment securities available for sale: | 0 | 0 |
Level 1 | Fair Value, Measurements, Recurring | U.S. Treasury securities |  |  |
Assets |  |  |
Investment securities available for sale: | 0 | 0 |
Level 1 | Fair Value, Measurements, Recurring | Multi-family loans |  |  |
Assets |  |  |
Multi-family loans | 0 | 0 |
Level 1 | Fair Value, Measurements, Recurring | Mortgage servicing rights |  |  |
Derivative assets: |  |  |
Mortgage servicing rights | 0 | 0 |
Level 1 | Fair Value, Measurements, Recurring | Residential loan securitizations at fair value |  |  |
Liabilities carried at fair value |  |  |
Consolidated SLST | 0 | 0 |
Level 1 | Fair Value, Measurements, Recurring | Non-Agency RMBS re-securitization |  |  |
Liabilities carried at fair value |  |  |
Consolidated SLST | 0 | 0 |
Level 2 | Fair Value, Measurements, Recurring |  |  |
Assets |  |  |
Equity investments | 0 | 0 |
Assets of disposal group held for sale | 67,000 | 2,960,000 |
Total | 3,828,667,000 | 2,023,287,000 |
Derivative liabilities: |  |  |
Total | 1,384,399,000 | 0 |
Derivative assets | 56,000 | 6,510,000 |
Level 2 | Fair Value, Measurements, Recurring | Senior unsecured notes |  |  |
Liabilities carried at fair value |  |  |
Senior unsecured notes | 60,310,000 | 0 |
Level 2 | Fair Value, Measurements, Recurring | Interest rate caps |  |  |
Derivative assets: |  |  |
Derivative assets | 56,000 | 6,510,000 |
Level 2 | Fair Value, Measurements, Recurring | Interest rate swaps |  |  |
Derivative assets: |  |  |
Derivative assets | 0 | 0 |
Derivative liabilities: |  |  |
Derivative liability | 0 | 0 |
Level 2 | Fair Value, Measurements, Recurring | U.S. Treasury futures |  |  |
Derivative assets: |  |  |
Derivative assets | 0 | 0 |
Level 2 | Fair Value, Measurements, Recurring | Credit default swaps |  |  |
Derivative liabilities: |  |  |
Derivative liability | 0 | 0 |
Level 2 | Fair Value, Measurements, Recurring | Derivative Asset |  |  |
Assets |  |  |
Assets of disposal group held for sale | 100,000 | 3,000,000 |
Level 2 | Fair Value, Measurements, Recurring | Residential loans |  |  |
Assets |  |  |
Residential loans, at fair value | 0 | 0 |
Level 2 | Fair Value, Measurements, Recurring | Consolidated SLST | Consolidated SLST | VIE, Primary Beneficiary |  |  |
Assets |  |  |
Residential loans, at fair value | 0 | 0 |
Liabilities carried at fair value |  |  |
Consolidated SLST | 0 | 0 |
Level 2 | Fair Value, Measurements, Recurring | Residential loans held in securitization trusts |  |  |
Assets |  |  |
Residential loans, at fair value | 0 | 0 |
Level 2 | Fair Value, Measurements, Recurring | Agency RMBS |  |  |
Assets |  |  |
Investment securities available for sale: | 3,136,812,000 | 1,989,324,000 |
Level 2 | Fair Value, Measurements, Recurring | Non-Agency RMBS |  |  |
Assets |  |  |
Investment securities available for sale: | 69,687,000 | 24,493,000 |
Level 2 | Fair Value, Measurements, Recurring | U.S. Treasury securities |  |  |
Assets |  |  |
Investment securities available for sale: | 622,045,000 | 0 |
Level 2 | Fair Value, Measurements, Recurring | Multi-family loans |  |  |
Assets |  |  |
Multi-family loans | 0 | 0 |
Level 2 | Fair Value, Measurements, Recurring | Mortgage servicing rights |  |  |
Derivative assets: |  |  |
Mortgage servicing rights | 0 | 0 |
Level 2 | Fair Value, Measurements, Recurring | Residential loan securitizations at fair value |  |  |
Liabilities carried at fair value |  |  |
Consolidated SLST | 1,253,332,000 | 0 |
Level 2 | Fair Value, Measurements, Recurring | Non-Agency RMBS re-securitization |  |  |
Liabilities carried at fair value |  |  |
Consolidated SLST | 70,757,000 | 0 |
Level 3 |  |  |
Derivative assets: |  |  |
Mortgage servicing rights | 616,000 | 0 | $ 0
Level 3 | Mortgage servicing rights |  |  |
Derivative assets: |  |  |
Mortgage servicing rights | 21,003,000 |  |
Level 3 | Fair Value, Measurements, Recurring |  |  |
Assets |  |  |
Equity investments | 113,492,000 | 147,116,000 |
Assets of disposal group held for sale | 0 | 0 |
Total | 4,062,425,000 | 3,327,211,000 |
Derivative assets: |  |  |
Mortgage servicing rights | 21,003,000 | 0 |
Derivative liabilities: |  |  |
Total | 811,591,000 | 593,737,000 |
Level 3 | Fair Value, Measurements, Recurring | Senior unsecured notes |  |  |
Liabilities carried at fair value |  |  |
Senior unsecured notes | 0 | 0 |
Level 3 | Fair Value, Measurements, Recurring | Interest rate caps |  |  |
Derivative assets: |  |  |
Derivative assets | 0 | 0 |
Level 3 | Fair Value, Measurements, Recurring | Interest rate swaps |  |  |
Derivative assets: |  |  |
Derivative assets | 0 | 0 |
Derivative liabilities: |  |  |
Derivative liability | 0 | 0 |
Level 3 | Fair Value, Measurements, Recurring | U.S. Treasury futures |  |  |
Derivative assets: |  |  |
Derivative assets | 0 | 0 |
Level 3 | Fair Value, Measurements, Recurring | Credit default swaps |  |  |
Derivative liabilities: |  |  |
Derivative liability | 0 | 0 |
Level 3 | Fair Value, Measurements, Recurring | Residential loans |  |  |
Assets |  |  |
Residential loans, at fair value | 632,266,000 | 827,535,000 |
Level 3 | Fair Value, Measurements, Recurring | Consolidated SLST | Consolidated SLST | VIE, Primary Beneficiary |  |  |
Assets |  |  |
Residential loans, at fair value | 965,672,000 | 754,860,000 |
Liabilities carried at fair value |  |  |
Consolidated SLST | 811,591,000 | 593,737,000 |
Level 3 | Fair Value, Measurements, Recurring | Residential loans held in securitization trusts |  |  |
Assets |  |  |
Residential loans, at fair value | 2,243,800,000 | 1,501,908,000 |
Level 3 | Fair Value, Measurements, Recurring | Agency RMBS |  |  |
Assets |  |  |
Investment securities available for sale: | 0 | 0 |
Level 3 | Fair Value, Measurements, Recurring | Non-Agency RMBS |  |  |
Assets |  |  |
Investment securities available for sale: | 0 | 0 |
Level 3 | Fair Value, Measurements, Recurring | U.S. Treasury securities |  |  |
Assets |  |  |
Investment securities available for sale: | 0 | 0 |
Level 3 | Fair Value, Measurements, Recurring | Multi-family loans |  |  |
Assets |  |  |
Multi-family loans | 86,192,000 | 95,792,000 |
Level 3 | Fair Value, Measurements, Recurring | Mortgage servicing rights |  |  |
Derivative assets: |  |  |
Mortgage servicing rights | 21,003,000 | 0 |
Level 3 | Fair Value, Measurements, Recurring | Residential loan securitizations at fair value |  |  |
Liabilities carried at fair value |  |  |
Consolidated SLST | 0 | 0 |
Level 3 | Fair Value, Measurements, Recurring | Non-Agency RMBS re-securitization |  |  |
Liabilities carried at fair value |  |  |
Consolidated SLST | $ 0 | $ 0 |

X
- Definition Financial Instruments Owned, Multi-family Loans + References No definition available. + Details
Name: | nymt_FinancialInstrumentsOwnedMultiFamilyLoans
Namespace Prefix: | nymt_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Financial Instruments Owned, Residential Loans at Fair Value + References No definition available. + Details
Name: | nymt_FinancialInstrumentsOwnedResidentialLoansatFairValue
Namespace Prefix: | nymt_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Unsecured Debt, Fair Value Disclosure + References No definition available. + Details
Name: | nymt_UnsecuredDebtFairValueDisclosure
Namespace Prefix: | nymt_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Fair value portion of asset recognized for present right to economic benefit. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 100 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482078/820-10-55-100 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482106/820-10-50-2 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482106/820-10-50-2 + Details
Name: | us-gaap_AssetsFairValueDisclosure
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- References No definition available. + Details
Name: | us-gaap_AssetsFairValueDisclosureAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Fair value portion of assets classified as held for sale. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482106/820-10-50-2 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 100 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482078/820-10-55-100 Reference 3: http://www.xbrl.org/2003/role/exampleRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 100 -Subparagraph (e) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482078/820-10-55-100 Reference 4: http://www.xbrl.org/2003/role/exampleRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482106/820-10-50-2 + Details
Name: | us-gaap_AssetsHeldForSaleLongLivedFairValueDisclosure
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount excluding accrued interest, of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 326 -SubTopic 30 -Name Accounting Standards Codification -Section 45 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479130/326-30-45-1 + Details
Name: | us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- References No definition available. + Details
Name: | us-gaap_DerivativeAssetFairValueNetAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Fair value, after the effects of master netting arrangements, of a financial asset or other contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset. Includes assets not subject to a master netting arrangement and not elected to be offset. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 103 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482078/820-10-55-103 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 100 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482078/820-10-55-100 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (bbb)(2)(i) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482106/820-10-50-2 Reference 4: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (bbb)(2) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482106/820-10-50-2 Reference 5: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (bbb)(1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482106/820-10-50-2 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482106/820-10-50-2 Reference 7: http://www.xbrl.org/2003/role/disclosureRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482106/820-10-50-2 Reference 8: http://www.xbrl.org/2003/role/disclosureRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482106/820-10-50-3 Reference 9: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section 50 -Paragraph 12 -Publisher FASB -URI https://asc.fasb.org/1943274/2147478795/946-210-50-12 Reference 10: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Subparagraph (e) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478795/946-210-50-6 Reference 11: http://www.xbrl.org/2003/role/exampleRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section 55 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147477439/946-210-55-1 Reference 12: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Subparagraph (a)(1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478795/946-210-50-6 Reference 13: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Subparagraph (a)(2) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478795/946-210-50-6 Reference 14: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Subparagraph (a)(4) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478795/946-210-50-6 Reference 15: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (a)(1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478795/946-210-50-1 Reference 16: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (b)(1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478795/946-210-50-1 Reference 17: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (b)(2) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478795/946-210-50-1 Reference 18: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (c)(2) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478795/946-210-50-1 Reference 19: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Subparagraph (f) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478795/946-210-50-6 Reference 20: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Subparagraph (a)(3) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478795/946-210-50-6 Reference 21: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.6-04(3)(c)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479170/946-210-S99-1 Reference 22: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 5C -Subparagraph (SX 210.12-13C(Column H)(Footnote 7)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-5C Reference 23: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.6-04(3)(b)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479170/946-210-S99-1 Reference 24: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 5 -Subparagraph (SX 210.12-13(Column A)(Footnote 3)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-5 Reference 25: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 5C -Subparagraph (SX 210.12-13C(Column H)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-5C Reference 26: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 5A -Subparagraph (SX 210.12-13A(Column E)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-5A Reference 27: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 5B -Subparagraph (SX 210.12-13B(Column E)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-5B Reference 28: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 5B -Subparagraph (SX 210.12-13B(Column E)(Footnote 4)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-5B Reference 29: http://www.xbrl.org/2003/role/disclosureRef -Topic 210 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147483466/210-20-50-3 Reference 30: http://www.xbrl.org/2003/role/exampleRef -Topic 210 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 22 -Publisher FASB -URI https://asc.fasb.org/1943274/2147483444/210-20-55-22 Reference 31: http://www.xbrl.org/2003/role/disclosureRef -Topic 210 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 10 -Publisher FASB -URI https://asc.fasb.org/1943274/2147483444/210-20-55-10 Reference 32: http://www.xbrl.org/2003/role/disclosureRef -Topic 825 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 10 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482907/825-10-50-10 + Details
Name: | us-gaap_DerivativeAssets
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Fair value, before effects of master netting arrangements, of a financial asset or other contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset. Includes assets elected not to be offset. Excludes assets not subject to a master netting arrangement. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4B -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-4B Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4B -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-4B Reference 3: http://www.xbrl.org/2003/role/exampleRef -Topic 210 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 22 -Publisher FASB -URI https://asc.fasb.org/1943274/2147483444/210-20-55-22 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 210 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147483466/210-20-50-3 Reference 5: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 7 -Publisher FASB -URI https://asc.fasb.org/1943274/2147483444/210-20-55-7 Reference 6: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section 50 -Paragraph 4D -Subparagraph (c)(2) -SubTopic 20 -Topic 860 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481326/860-20-50-4D + Details
Name: | us-gaap_DerivativeFairValueOfDerivativeAsset
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Fair value, after the effects of master netting arrangements, of a financial liability or contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset. Includes liabilities not subject to a master netting arrangement and not elected to be offset. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (bbb)(2)(i) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482106/820-10-50-2 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (bbb)(2) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482106/820-10-50-2 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (bbb)(1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482106/820-10-50-2 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482106/820-10-50-2 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482106/820-10-50-2 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482106/820-10-50-3 Reference 7: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Subparagraph (e) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478795/946-210-50-6 Reference 8: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Subparagraph (a)(1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478795/946-210-50-6 Reference 9: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Subparagraph (a)(2) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478795/946-210-50-6 Reference 10: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Subparagraph (a)(4) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478795/946-210-50-6 Reference 11: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (a)(1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478795/946-210-50-1 Reference 12: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (b)(1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478795/946-210-50-1 Reference 13: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (b)(2) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478795/946-210-50-1 Reference 14: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (c)(2) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478795/946-210-50-1 Reference 15: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Subparagraph (f) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478795/946-210-50-6 Reference 16: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Subparagraph (a)(3) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478795/946-210-50-6 Reference 17: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.6-04(9)(e)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479170/946-210-S99-1 Reference 18: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 5C -Subparagraph (SX 210.12-13C(Column H)(Footnote 7)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-5C Reference 19: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.6-04(9)(b)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479170/946-210-S99-1 Reference 20: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.6-04(9)(d)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479170/946-210-S99-1 Reference 21: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 5 -Subparagraph (SX 210.12-13(Column G)(Footnote 8)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-5 Reference 22: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 5C -Subparagraph (SX 210.12-13C(Column H)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-5C Reference 23: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 5 -Subparagraph (SX 210.12-13(Column G)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-5 Reference 24: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 5A -Subparagraph (SX 210.12-13A(Column E)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-5A Reference 25: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 5B -Subparagraph (SX 210.12-13B(Column E)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-5B Reference 26: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 5B -Subparagraph (SX 210.12-13B(Column E)(Footnote 4)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-5B Reference 27: http://www.xbrl.org/2003/role/disclosureRef -Topic 210 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147483466/210-20-50-3 Reference 28: http://www.xbrl.org/2003/role/exampleRef -Topic 210 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 22 -Publisher FASB -URI https://asc.fasb.org/1943274/2147483444/210-20-55-22 Reference 29: http://www.xbrl.org/2003/role/disclosureRef -Topic 210 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 10 -Publisher FASB -URI https://asc.fasb.org/1943274/2147483444/210-20-55-10 Reference 30: http://www.xbrl.org/2003/role/disclosureRef -Topic 825 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 10 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482907/825-10-50-10 + Details
Name: | us-gaap_DerivativeLiabilities
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- References No definition available. + Details
Name: | us-gaap_DerivativeLiabilitiesAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Fair value portion of investments accounted under the equity method. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2E -Publisher FASB -URI https://asc.fasb.org/1943274/2147482106/820-10-50-2E Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482106/820-10-50-2 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482106/820-10-50-2 Reference 4: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(12)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_EquityMethodInvestmentsFairValueDisclosure
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Fair value of financial and nonfinancial obligations. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482106/820-10-50-2 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482106/820-10-50-2 + Details
Name: | us-gaap_LiabilitiesFairValueDisclosure
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- References No definition available. + Details
Name: | us-gaap_LiabilitiesFairValueDisclosureAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Fair value portion of contractual obligation to pay money on demand or on fixed or determinable dates. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2E -Publisher FASB -URI https://asc.fasb.org/1943274/2147482106/820-10-50-2E Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482106/820-10-50-2 + Details
Name: | us-gaap_LoansPayableFairValueDisclosure
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Fair value of an asset representing net future revenue from contractually specified servicing fees, late charges, and other ancillary revenues, in excess of future costs related to servicing arrangements. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482106/820-10-50-2 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482106/820-10-50-2 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 860 -SubTopic 50 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Subparagraph (a)(1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481229/860-50-50-3 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 860 -SubTopic 50 -Name Accounting Standards Codification -Section 45 -Paragraph 2 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481260/860-50-45-2 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Topic 860 -SubTopic 50 -Name Accounting Standards Codification -Section 45 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481260/860-50-45-1 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Topic 860 -SubTopic 50 -Name Accounting Standards Codification -Section 45 -Paragraph 2 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481260/860-50-45-2 + Details
Name: | us-gaap_ServicingAssetAtFairValueAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of receivable from positive price movement on derivative. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.6-04(3)(a)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479170/946-210-S99-1 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 310 -Name Accounting Standards Codification -Section 45 -Paragraph 1 -Subparagraph (d) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477802/946-310-45-1 + Details
Name: | us-gaap_VariationMarginReceivableDerivative
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=us-gaap_InterestRateCapMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=us-gaap_InterestRateSwapMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=us-gaap_FutureMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=us-gaap_CreditDefaultSwapMember
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_LongtermDebtTypeAxis=us-gaap_UnsecuredDebtMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=nymt_InterestRateSwapsCreditDefaultSwapsU.S.TreasuryFuturesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_CounterpartyNameAxis=nymt_CentralClearingHouseMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=nymt_ResidentialMortgageLoansMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=nymt_ResidentialCollateralizedDebtObligationsAtFairValueMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | dei_LegalEntityAxis=nymt_ConsolidatedSLSTMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ConsolidatedEntitiesAxis=us-gaap_VariableInterestEntityPrimaryBeneficiaryMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=nymt_ResidentialMortgageLoansHeldInSecuritizationTrustAtFairValueMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=nymt_AgencyResidentialMortgageBackedSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_MortgageBackedSecuritiesIssuedByPrivateEnterprisesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_USTreasurySecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=nymt_MultiFamilyLoansMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=nymt_MortgageServicingRightsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=nymt_ResidentialLoanSecuritizationAtFairValueMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=nymt_NonAgencyRMBSReSecuritizationMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=us-gaap_DerivativeFinancialInstrumentsAssetsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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