Shareholder Report |
6 Months Ended | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Apr. 30, 2026
USD ($)
Holding
| ||||||||||||||
| Shareholder Report [Line Items] | ||||||||||||||
| Document Type | N-CSRS | |||||||||||||
| Amendment Flag | false | |||||||||||||
| Registrant Name | BNY Mellon Investment Funds IV, Inc. | |||||||||||||
| Entity Central Index Key | 0000819940 | |||||||||||||
| Entity Investment Company Type | N-1A | |||||||||||||
| Document Period End Date | Apr. 30, 2026 | |||||||||||||
| C000000765 [Member] | ||||||||||||||
| Shareholder Report [Line Items] | ||||||||||||||
| Fund Name | BNY Mellon Bond Market Index Fund | |||||||||||||
| Class Name | Investor Shares | |||||||||||||
| Trading Symbol | DBMIX | |||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This semi-annual shareholder report contains important information about BNY Mellon Bond Market Index Fund (the “Fund”) for the period of November 1, 2025 to April 30, 2026. | |||||||||||||
| Shareholder Report Annual or Semi-Annual | semi-annual shareholder report | |||||||||||||
| Additional Information [Text Block] | You can find additional information about the Fund at bny.com/investments/literaturecenter. You can also request this information by calling 1-800-373-9387 (inside the U.S. only) or by sending an e-mail request to info@bny.com. | |||||||||||||
| Material Fund Change Notice [Text Block] | This report describes changes to the Fund that occurred during the reporting period.
|
|||||||||||||
| Additional Information Phone Number | 1-800-373-9387 | |||||||||||||
| Additional Information Email | info@bny.com | |||||||||||||
| Additional Information Website | bny.com/investments/literaturecenter | |||||||||||||
| Expenses [Text Block] | What were the Fund’s costs for the last six months ? (based on a hypothetical $10,000 investment)
|
|||||||||||||
| Expenses Paid, Amount | $ 20 | [1] | ||||||||||||
| Expense Ratio, Percent | 0.40% | [1],[2] | ||||||||||||
| Net Assets | $ 401,000,000 | |||||||||||||
| Holdings Count | Holding | 2,443 | |||||||||||||
| Investment Company Portfolio Turnover | 83.66% | |||||||||||||
| Additional Fund Statistics [Text Block] | KEY FUND STATISTICS (AS OF 4/30/26 )
|
|||||||||||||
| Holdings [Text Block] | Portfolio Holdings (as of 4/30/26 ) Sector Allocation (Based on Net Assets) Allocation of Holdings (Based on Net Assets) |
|||||||||||||
| Summary of Change Legend [Text Block] | This is a summary of certain changes to the Fund since November 1, 2025 . For more complete information, you may review the Fund’s current prospectus dated February 27, 2026 at bny.com/investments/literaturecenter or upon request at 1-800-373-9387.
|
|||||||||||||
| Updated Prospectus Phone Number | 1-800-373-9387 | |||||||||||||
| Updated Prospectus Web Address | bny.com/investments/literaturecenter | |||||||||||||
| Accountant Change Statement [Text Block] | Starting January 1, 2026, Ernst & Young LLP (“EY”) became the independent registered public accounting firm of the Fund and KPMG LLP was discharged as the Fund’s accounting firm. EY serves as the independent registered public accounting firm for all funds in the BNY Mellon Family of Funds. | |||||||||||||
| Accountant Change Date | Jan. 01, 2026 | |||||||||||||
| Accountant Change Disagreements [Text Block] | Changes in or Disagreements with Accountants
|
|||||||||||||
| C000000766 [Member] | ||||||||||||||
| Shareholder Report [Line Items] | ||||||||||||||
| Fund Name | BNY Mellon Bond Market Index Fund | |||||||||||||
| Class Name | Class I | |||||||||||||
| Trading Symbol | DBIRX | |||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This semi-annual shareholder report contains important information about BNY Mellon Bond Market Index Fund (the “Fund”) for the period of November 1, 2025 to April 30, 2026. | |||||||||||||
| Shareholder Report Annual or Semi-Annual | semi-annual shareholder report | |||||||||||||
| Additional Information [Text Block] | You can find additional information about the Fund at bny.com/investments/literaturecenter. You can also request this information by calling 1-800-373-9387 (inside the U.S. only) or by sending an e-mail request to info@bny.com. | |||||||||||||
| Material Fund Change Notice [Text Block] | This report describes changes to the Fund that occurred during the reporting period.
|
|||||||||||||
| Additional Information Phone Number | 1-800-373-9387 | |||||||||||||
| Additional Information Email | info@bny.com | |||||||||||||
| Additional Information Website | bny.com/investments/literaturecenter | |||||||||||||
| Expenses [Text Block] | What were the Fund’s costs for the last six months ? (based on a hypothetical $10,000 investment)
|
|||||||||||||
| Expenses Paid, Amount | $ 7 | [3] | ||||||||||||
| Expense Ratio, Percent | 0.15% | [3],[4] | ||||||||||||
| Net Assets | $ 401,000,000 | |||||||||||||
| Holdings Count | Holding | 2,443 | |||||||||||||
| Investment Company Portfolio Turnover | 83.66% | |||||||||||||
| Additional Fund Statistics [Text Block] | KEY FUND STATISTICS (AS OF 4/30/26 )
|
|||||||||||||
| Holdings [Text Block] | Portfolio Holdings (as of 4/30/26 ) Sector Allocation (Based on Net Assets) Allocation of Holdings (Based on Net Assets) |
|||||||||||||
| Summary of Change Legend [Text Block] | This is a summary of certain changes to the Fund since November 1, 2025 . For more complete information, you may review the Fund’s current prospectus dated February 27, 2026 at bny.com/investments/literaturecenter or upon request at 1-800-373-9387.
|
|||||||||||||
| Updated Prospectus Phone Number | 1-800-373-9387 | |||||||||||||
| Updated Prospectus Web Address | bny.com/investments/literaturecenter | |||||||||||||
| Accountant Change Statement [Text Block] | Starting January 1, 2026, Ernst & Young LLP (“EY”) became the independent registered public accounting firm of the Fund and KPMG LLP was discharged as the Fund’s accounting firm. EY serves as the independent registered public accounting firm for all funds in the BNY Mellon Family of Funds. | |||||||||||||
| Accountant Change Date | Jan. 01, 2026 | |||||||||||||
| Accountant Change Disagreements [Text Block] | Changes in or Disagreements with Accountants
|
|||||||||||||
| C000000734 [Member] | ||||||||||||||
| Shareholder Report [Line Items] | ||||||||||||||
| Fund Name | BNY Mellon Institutional S&P 500 Stock Index Fund | |||||||||||||
| Class Name | Class I | |||||||||||||
| Trading Symbol | DSPIX | |||||||||||||
| Annual or Semi-Annual Statement [Text Block] | This semi-annual shareholder report contains important information about BNY Mellon Institutional S&P 500 Stock Index Fund (the “Fund”) for the period of November 1, 2025 to April 30, 2026. | |||||||||||||
| Shareholder Report Annual or Semi-Annual | semi-annual shareholder report | |||||||||||||
| Additional Information [Text Block] | You can find additional information about the Fund at bny.com/investments/literaturecenter. You can also request this information by calling 1-800-373-9387 (inside the U.S. only) or by sending an e-mail request to info@bny.com. | |||||||||||||
| Material Fund Change Notice [Text Block] |
This report describes changes to the Fund that occurred during the reporting period.
|
|||||||||||||
| Additional Information Phone Number | 1-800-373-9387 | |||||||||||||
| Additional Information Email | info@bny.com | |||||||||||||
| Additional Information Website | bny.com/investments/literaturecenter | |||||||||||||
| Expenses [Text Block] |
What were the Fund’s costs for the last six months ?
(based on a hypothetical $10,000 investment)
|
|||||||||||||
| Expenses Paid, Amount | $ 10 | [5] | ||||||||||||
| Expense Ratio, Percent | 0.20% | [5],[6] | ||||||||||||
| Material Change Date | Nov. 14, 2025 | |||||||||||||
| Net Assets | $ 1,367,000,000 | |||||||||||||
| Holdings Count | Holding | 505 | |||||||||||||
| Investment Company Portfolio Turnover | 1.19% | |||||||||||||
| Additional Fund Statistics [Text Block] |
KEY FUND STATISTICS (AS OF 4/30/26 )
|
|||||||||||||
| Holdings [Text Block] | Portfolio Holdings (as of 4/30/26 ) Top Ten Holdings (Based on Net Assets) * * Excludes money market funds or other short-term securities held for the investment of cash and cash collateral for securities loaned, if any. Sector Allocation (Based on Net Assets) |
|||||||||||||
| Largest Holdings [Text Block] | Top Ten Holdings (Based on Net Assets) * * Excludes money market funds or other short-term securities held for the investment of cash and cash collateral for securities loaned, if any.
|
|||||||||||||
| Material Fund Change [Text Block] | How has the Fund changed?
This is a summary of certain changes to the Fund since November 1, 2025 . For more complete information, you may review the Fund’s current prospectus dated February 27, 2026 at bny.com/investments/literaturecenter or upon request at 1-800-373-9387.
|
|||||||||||||
| Material Fund Change Risks Change [Text Block] | Effective November 14, 2025, the Fund may operate as a non-diversified fund, as defined under the Investment Company Act of 1940, as amended, to the approximate extent the S&P 500® Index is non-diversified, without shareholder approval. The Fund may therefore operate as non-diversified solely as a result of a change in relative market capitalization or index weighting of one or more constituents of the index. | |||||||||||||
| Summary of Change Legend [Text Block] |
This is a summary of certain changes to the Fund since November 1, 2025 . For more complete information, you may review the Fund’s current prospectus dated February 27, 2026 at bny.com/investments/literaturecenter or upon request at 1-800-373-9387.
|
|||||||||||||
| Updated Prospectus Phone Number | 1-800-373-9387 | |||||||||||||
| Updated Prospectus Web Address | bny.com/investments/literaturecenter | |||||||||||||
| Accountant Change Statement [Text Block] | Starting January 1, 2026, Ernst & Young LLP (“EY”) became the independent registered public accounting firm of the Fund and KPMG LLP was discharged as the Fund’s accounting firm. EY serves as the independent registered public accounting firm for all funds in the BNY Mellon Family of Funds. | |||||||||||||
| Accountant Change Date | Jan. 01, 2026 | |||||||||||||
| Accountant Change Disagreements [Text Block] | Changes in or Disagreements with Accountants
|
|||||||||||||
| ||||||||||||||