v3.26.3
Shareholder Report
12 Months Ended
Jul. 31, 2026
USD ($)
Holding
Shareholder Report [Line Items]  
Document Type N-CSR
Amendment Flag false
Registrant Name BNY Mellon Investment Funds VII, Inc.
Entity Central Index Key 0000889169
Entity Investment Company Type N-1A
Document Period End Date Jul. 31, 2026
C000236997 [Member]  
Shareholder Report [Line Items]  
Fund Name BNY Mellon Short Term Income Fund
Class Name Class Y
Trading Symbol BYSYX
Annual or Semi-Annual Statement [Text Block] This annual shareholder report contains important information about BNY Mellon Short Term Income Fund (the “Fund”) for the period of August 1, 2025 to July 31, 2026.
Shareholder Report Annual or Semi-Annual 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.
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 year ?
(based on a hypothetical $10,000 investment)
Share Class Costs of a $10,000 investment Costs paid as a percentage of a $10,000 investment
Class Y* $41 0.40%
*
During the period, fees were waived and/or expenses reimbursed pursuant to an agreement with the Fund’s investment adviser, BNY Mellon Investment Adviser, Inc. If this agreement is not extended in the future, expenses could be higher.
Expenses Paid, Amount $ 41 [1]
Expense Ratio, Percent 0.40% [1]
Factors Affecting Performance [Text Block]
How did the Fund perform last year ?
  • For the 12-month period ended July 31, 2026, the Fund’s Class Y shares returned 3.54%.
  • In comparison, the ICE BofA 1-5 Year U.S. Corporate & Government Index returned 3.05% for the same period.
What affected the Fund’s performance?
  • The short-term bond market generated positive returns over the reporting period, as short-term interest rates declined amid U.S. Federal Reserve easing, and corporate bond spreads remained favorable.
  • The Fund’s strongest relative returns were driven by overweight exposures to high yield and investment-grade corporates and asset-backed securities.
  • Within high yield, overweight positions in the energy, capital goods and consumer cyclical sectors were strong drivers, as were positions in CLOs, non-agency mortgage-backed securities and non-traditional asset-backed securities.
  • Security selection within emerging markets was the most significant detractor from the Fund’s relative performance, followed by high yield holdings in communications and technology.
Performance Past Does Not Indicate Future [Text] The Fund’s past performance is not a good predictor of the Fund’s future performance.
Line Graph [Table Text Block]
How did the Fund perform over the past 10 years?
The Fund’s past performance is not a good predictor of the Fund’s future performance. The graph and table do not reflect the deduction of taxes that a shareholder would pay on fund distributions or redemption of fund shares.
Cumulative Performance from August 1 , 2016 through July 31, 2026
Initial Investment of $1,000,000
Fund Performance - Growth of 10K
The above graph compares a hypothetical $1,000,000 investment in the Fund’s Class Y shares to a hypothetical investment of $1,000,000 made in each of the Bloomberg U.S. Aggregate Bond Index (a broad-based index) and ICE BofA 1-5 Year U.S. Corporate & Government Index on 7/31/2016. The performance shown takes into account applicable fees and expenses of the Fund, including management fees and other expenses. The Fund’s performance also assumes the reinvestment of dividends and capital gains. Unlike the Fund, the indexes are not subject to charges, fees and other expenses. Investors cannot invest directly in any index.
Average Annual Return [Table Text Block]
AVERAGE ANNUAL TOTAL RETURNS (AS OF 7/31/26 )
Share Class 1YR 5YR 10YR
Class Y 3.54% 2.38% 2.19%
Bloomberg U.S. Aggregate Bond Index (broad-based index) 2.71% -0.40% 1.35%
ICE BofA 1-5 Year U.S. Corporate & Government Index 3.05% 1.68% 1.97%
Performance Inception Date May 06, 2022
No Deduction of Taxes [Text Block] The graph and table do not reflect the deduction of taxes that a shareholder would pay on fund distributions or redemption of fund shares.
Updated Performance Information Location [Text Block] For more current information visit bny.com/investments/literaturecenter.
Net Assets $ 79,000,000
Holdings Count | Holding 364
Advisory Fees Paid, Amount $ 0
Investment Company Portfolio Turnover 56.77%
Additional Fund Statistics [Text Block]
KEY FUND STATISTICS (AS OF 7/31/26 )

Fund Size (Millions)

Number of Holdings
Total Advisory Fee Paid During
Period

Annual Portfolio Turnover
$79 364 $0 56.77%
Holdings [Text Block]
Portfolio Holdings (as of 7/31/26 )
Sector Allocation (Based on Net Assets)
Graphical Representation - Top N Holdings Chart
Allocation of Holdings (Based on Net Assets)
Graphical Representation - Allocation 1 Chart
* Amount represents less than .1%.
C000236998 [Member]  
Shareholder Report [Line Items]  
Fund Name BNY Mellon Short Term Income Fund
Class Name Class I
Trading Symbol BYSIX
Annual or Semi-Annual Statement [Text Block] This annual shareholder report contains important information about BNY Mellon Short Term Income Fund (the “Fund”) for the period of August 1, 2025 to July 31, 2026.
Shareholder Report Annual or Semi-Annual 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.
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 year ?
(based on a hypothetical $10,000 investment)
Share Class Costs of a $10,000 investment Costs paid as a percentage of a $10,000 investment
Class I* $41 0.40%
*
During the period, fees were waived and/or expenses reimbursed pursuant to an agreement with the Fund’s investment adviser, BNY Mellon Investment Adviser, Inc. If this agreement is not extended in the future, expenses could be higher.
Expenses Paid, Amount $ 41 [2]
Expense Ratio, Percent 0.40% [2]
Factors Affecting Performance [Text Block]
How did the Fund perform last year ?
  • For the 12-month period ended July 31, 2026, the Fund’s Class I shares returned 3.65%.
  • In comparison, the ICE BofA 1-5 Year U.S. Corporate & Government Index returned 3.05% for the same period.
What affected the Fund’s performance?
  • The short-term bond market generated positive returns over the reporting period, as short-term interest rates declined amid U.S. Federal Reserve easing, and corporate bond spreads remained favorable.
  • The Fund’s strongest relative returns were driven by overweight exposures to high yield and investment-grade corporates and asset-backed securities.
  • Within high yield, overweight positions in the energy, capital goods and consumer cyclical sectors were strong drivers, as were positions in CLOs, non-agency mortgage-backed securities and non-traditional asset-backed securities.
  • Security selection within emerging markets was the most significant detractor from the Fund’s relative performance, followed by high yield holdings in communications and technology.
Performance Past Does Not Indicate Future [Text] The Fund’s past performance is not a good predictor of the Fund’s future performance.
Line Graph [Table Text Block]
How did the Fund perform over the past 10 years?
The Fund’s past performance is not a good predictor of the Fund’s future performance. The graph and table do not reflect the deduction of taxes that a shareholder would pay on fund distributions or redemption of fund shares.
Cumulative Performance from August 1 , 2016 through July 31, 2026
Initial Investment of $10,000
Fund Performance - Growth of 10K
The above graph compares a hypothetical $10,000 investment in the Fund’s Class I shares to a hypothetical investment of $10,000 made in each of the Bloomberg U.S. Aggregate Bond Index (a broad-based index) and ICE BofA 1-5 Year U.S. Corporate & Government Index on 7/31/2016. The performance shown takes into account applicable fees and expenses of the Fund, including management fees and other expenses. The Fund’s performance also assumes the reinvestment of dividends and capital gains. Unlike the Fund, the indexes are not subject to charges, fees and other expenses. Investors cannot invest directly in any index.
Average Annual Return [Table Text Block]
AVERAGE ANNUAL TOTAL RETURNS (AS OF 7/31/26 )
Share Class 1YR 5YR 10YR
Class I 3.65% 2.40% 2.20%
Bloomberg U.S. Aggregate Bond Index (broad-based index) 2.71% -0.40% 1.35%
ICE BofA 1-5 Year U.S. Corporate & Government Index 3.05% 1.68% 1.97%
Performance Inception Date May 06, 2022
No Deduction of Taxes [Text Block] The graph and table do not reflect the deduction of taxes that a shareholder would pay on fund distributions or redemption of fund shares.
Updated Performance Information Location [Text Block] For more current information visit bny.com/investments/literaturecenter.
Net Assets $ 79,000,000
Holdings Count | Holding 364
Advisory Fees Paid, Amount $ 0
Investment Company Portfolio Turnover 56.77%
Additional Fund Statistics [Text Block]
KEY FUND STATISTICS (AS OF 7/31/26 )

Fund Size (Millions)

Number of Holdings
Total Advisory Fee Paid During
Period

Annual Portfolio Turnover
$79 364 $0 56.77%
Holdings [Text Block]
Portfolio Holdings (as of 7/31/26 )
Sector Allocation (Based on Net Assets)
Graphical Representation - Top N Holdings Chart
Allocation of Holdings (Based on Net Assets)
Graphical Representation - Allocation 1 Chart
* Amount represents less than .1%.
C000000727 [Member]  
Shareholder Report [Line Items]  
Fund Name BNY Mellon Short Term Income Fund
Class Name Class D
Trading Symbol DSTIX
Annual or Semi-Annual Statement [Text Block] This annual shareholder report contains important information about BNY Mellon Short Term Income Fund (the “Fund”) for the period of August 1, 2025 to July 31, 2026.
Shareholder Report Annual or Semi-Annual 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.
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 year ?
(based on a hypothetical $10,000 investment)
Share Class Costs of a $10,000 investment Costs paid as a percentage of a $10,000 investment
Class D* $61 0.60%
*
During the period, fees were waived and/or expenses reimbursed pursuant to an agreement with the Fund’s investment adviser, BNY Mellon Investment Adviser, Inc. If this agreement is not extended in the future, expenses could be higher.
Expenses Paid, Amount $ 61 [3]
Expense Ratio, Percent 0.60% [3]
Factors Affecting Performance [Text Block]
How did the Fund perform last year ?
  • For the 12-month period ended July 31, 2026, the Fund’s Class D shares returned 3.44%.
  • In comparison, the ICE BofA 1-5 Year U.S. Corporate & Government Index returned 3.05% for the same period.
What affected the Fund’s performance?
  • The short-term bond market generated positive returns over the reporting period, as short-term interest rates declined amid U.S. Federal Reserve easing, and corporate bond spreads remained favorable.
  • The Fund’s strongest relative returns were driven by overweight exposures to high yield and investment-grade corporates and asset-backed securities.
  • Within high yield, overweight positions in the energy, capital goods and consumer cyclical sectors were strong drivers, as were positions in CLOs, non-agency mortgage-backed securities and non-traditional asset-backed securities.
  • Security selection within emerging markets was the most significant detractor from the Fund’s relative performance, followed by high yield holdings in communications and technology.
Performance Past Does Not Indicate Future [Text] The Fund’s past performance is not a good predictor of the Fund’s future performance.
Line Graph [Table Text Block]
How did the Fund perform over the past 10 years?
The Fund’s past performance is not a good predictor of the Fund’s future performance. The graph and table do not reflect the deduction of taxes that a shareholder would pay on fund distributions or redemption of fund shares.
Cumulative Performance from August 1 , 2016 through July 31, 2026
Initial Investment of $10,000
Fund Performance - Growth of 10K
The above graph compares a hypothetical $10,000 investment in the Fund’s Class D shares to a hypothetical investment of $10,000 made in each of the Bloomberg U.S. Aggregate Bond Index (a broad-based index) and ICE BofA 1-5 Year U.S. Corporate & Government Index on 7/31/2016. The performance shown takes into account applicable fees and expenses of the Fund, including management fees and other expenses. The Fund’s performance also assumes the reinvestment of dividends and capital gains. Unlike the Fund, the indexes are not subject to charges, fees and other expenses. Investors cannot invest directly in any index.
Average Annual Return [Table Text Block]
AVERAGE ANNUAL TOTAL RETURNS (AS OF 7/31/26 )
Share Class 1YR 5YR 10YR
Class D 3.44% 2.21% 2.10%
Bloomberg U.S. Aggregate Bond Index (broad-based index) 2.71% -0.40% 1.35%
ICE BofA 1-5 Year U.S. Corporate & Government Index 3.05% 1.68% 1.97%
No Deduction of Taxes [Text Block] The graph and table do not reflect the deduction of taxes that a shareholder would pay on fund distributions or redemption of fund shares.
Updated Performance Information Location [Text Block] For more current information visit bny.com/investments/literaturecenter . 
Net Assets $ 79,000,000
Holdings Count | Holding 364
Advisory Fees Paid, Amount $ 0
Investment Company Portfolio Turnover 56.77%
Additional Fund Statistics [Text Block]
KEY FUND STATISTICS (AS OF 7/31/26 )

Fund Size (Millions)

Number of Holdings
Total Advisory Fee Paid During
Period

Annual Portfolio Turnover
$79 364 $0 56.77%
Holdings [Text Block]
Portfolio Holdings (as of 7/31/26 )
Sector Allocation (Based on Net Assets)
Graphical Representation - Top N Holdings Chart
Allocation of Holdings (Based on Net Assets)
Graphical Representation - Allocation 1 Chart
* Amount represents less than .1%.
C000236999 [Member]  
Shareholder Report [Line Items]  
Fund Name BNY Mellon Short Term Income Fund
Class Name Class A
Trading Symbol BYSAX
Annual or Semi-Annual Statement [Text Block] This annual shareholder report contains important information about BNY Mellon Short Term Income Fund (the “Fund”) for the period of August 1, 2025 to July 31, 2026.
Shareholder Report Annual or Semi-Annual 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.
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 year ?
(based on a hypothetical $10,000 investment)
Share Class Costs of a $10,000 investment Costs paid as a percentage of a $10,000 investment
Class A* $66 0.65%
*
During the period, fees were waived and/or expenses reimbursed pursuant to an agreement with the Fund’s investment adviser, BNY Mellon Investment Adviser, Inc. If this agreement is not extended in the future, expenses could be higher.
Expenses Paid, Amount $ 66 [4]
Expense Ratio, Percent 0.65% [4]
Factors Affecting Performance [Text Block]
How did the Fund perform last year ?
  • For the 12-month period ended July 31, 2026, the Fund’s Class A shares returned 3.27%.
  • In comparison, the ICE BofA 1-5 Year U.S. Corporate & Government Index returned 3.05% for the same period.
What affected the Fund’s performance?
  • The short-term bond market generated positive returns over the reporting period, as short-term interest rates declined amid U.S. Federal Reserve easing, and corporate bond spreads remained favorable.
  • The Fund’s strongest relative returns were driven by overweight exposures to high yield and investment-grade corporates and asset-backed securities.
  • Within high yield, overweight positions in the energy, capital goods and consumer cyclical sectors were strong drivers, as were positions in CLOs, non-agency mortgage-backed securities and non-traditional asset-backed securities.
  • Security selection within emerging markets was the most significant detractor from the Fund’s relative performance, followed by high yield holdings in communications and technology.
Performance Past Does Not Indicate Future [Text] The Fund’s past performance is not a good predictor of the Fund’s future performance.
Line Graph [Table Text Block]
How did the Fund perform over the past 10 years?
The Fund’s past performance is not a good predictor of the Fund’s future performance. The graph and table do not reflect the deduction of taxes that a shareholder would pay on fund distributions or redemption of fund shares.
Cumulative Performance from August 1 , 2016 through July 31, 2026
Initial Investment of $10,000
Fund Performance - Growth of 10K
The above graph compares a hypothetical $10,000 investment in the Fund’s Class A shares to a hypothetical investment of $10,000 made in each of the Bloomberg U.S. Aggregate Bond Index (a broad-based index) and ICE BofA 1-5 Year U.S. Corporate & Government Index on 7/31/2016. The performance shown takes into account the maximum initial sales charge on Class A shares and applicable fees and expenses of the Fund, including management fees and other expenses. The Fund’s performance also assumes the reinvestment of dividends and capital gains. Unlike the Fund, the indexes are not subject to charges, fees and other expenses. Investors cannot invest directly in any index.
Average Annual Return [Table Text Block]
AVERAGE ANNUAL TOTAL RETURNS (AS OF 7/31/26 )
Class A Shares 1YR 5YR 10YR
with Maximum Sales Charge - 2.50% 0.69% 1.55% 1.78%
without Sales Charge 3.27% 2.08% 2.04%
Bloomberg U.S. Aggregate Bond Index (broad-based index) 2.71% -0.40% 1.35%
ICE BofA 1-5 Year U.S. Corporate & Government Index 3.05% 1.68% 1.97%
Performance Inception Date May 06, 2022
No Deduction of Taxes [Text Block] The graph and table do not reflect the deduction of taxes that a shareholder would pay on fund distributions or redemption of fund shares.
Updated Performance Information Location [Text Block] For more current information visit bny.com/investments/literaturecenter.
Net Assets $ 79,000,000
Holdings Count | Holding 364
Advisory Fees Paid, Amount $ 0
Investment Company Portfolio Turnover 56.77%
Additional Fund Statistics [Text Block]
KEY FUND STATISTICS (AS OF 7/31/26 )

Fund Size (Millions)

Number of Holdings
Total Advisory Fee Paid During
Period

Annual Portfolio Turnover
$79 364 $0 56.77%
Holdings [Text Block]
Portfolio Holdings (as of 7/31/26 )
Sector Allocation (Based on Net Assets)
Graphical Representation - Top N Holdings Chart
Allocation of Holdings (Based on Net Assets)
Graphical Representation - Allocation 1 Chart
* Amount represents less than .1%.
[1]
During the period, fees were waived and/or expenses reimbursed pursuant to an agreement with the Fund’s investment adviser, BNY Mellon Investment Adviser, Inc. If this agreement is not extended in the future, expenses could be higher.
[2]
During the period, fees were waived and/or expenses reimbursed pursuant to an agreement with the Fund’s investment adviser, BNY Mellon Investment Adviser, Inc. If this agreement is not extended in the future, expenses could be higher.
[3]
During the period, fees were waived and/or expenses reimbursed pursuant to an agreement with the Fund’s investment adviser, BNY Mellon Investment Adviser, Inc. If this agreement is not extended in the future, expenses could be higher.
[4]
During the period, fees were waived and/or expenses reimbursed pursuant to an agreement with the Fund’s investment adviser, BNY Mellon Investment Adviser, Inc. If this agreement is not extended in the future, expenses could be higher.