v3.26.1
Shareholder Report
12 Months Ended
May 31, 2026
USD ($)
Holding
Shareholder Report [Line Items]  
Document Type N-CSR
Amendment Flag false
Registrant Name BNY Mellon Intermediate Municipal Bond Fund, Inc.
Entity Central Index Key 0000718935
Entity Investment Company Type N-1A
Document Period End Date May 31, 2026
C000000110 [Member]  
Shareholder Report [Line Items]  
Fund Name BNY Mellon Intermediate Municipal Bond Fund, Inc.
Class Name BNY Mellon Intermediate Municipal Bond Fund, Inc.
Trading Symbol DITEX
Annual or Semi-Annual Statement [Text Block] This annual shareholder report contains important information about BNY Mellon Intermediate Municipal Bond Fund, Inc. (the “Fund”) for the period of June 1, 2025 to May 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)
Fund Costs of a $10,000 investment Costs paid as a percentage of a $10,000 investment
BNY Mellon Intermediate Municipal Bond Fund, Inc. $68 0.66%
Expenses Paid, Amount $ 68
Expense Ratio, Percent 0.66%
Factors Affecting Performance [Text Block]
How did the Fund perform last year ?
  • For the 12-month period ended May 31, 2026, the Fund’s shares returned 6.29%.
  • In comparison, the Bloomberg Municipal Bond: 7 Year Index (6-8) returned 4.91% for the same period.
What affected the Fund’s performance?
  • Municipal bonds provided solid returns with consistent demand from investors and resilient credit fundamentals offsetting rate volatility, while elevated yields and supportive technicals helped sustain steady, low-volatility performance.
  • The Fund’s relative returns benefited from security selection and an emphasis on revenue bonds, including airport, pre-paid gas, tobacco and health care bonds.
  • A slightly longer duration position was also advantageous, as rates declined and exposure to 8-to-12-year maturities, in particular, provided strong returns.
  • Exposure to essential service revenue bonds, such as power & utility and education bonds, detracted from relative returns as these higher-quality sectors underperformed higher-yielding alternatives.
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 June 1 , 2016 through May 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 shares to a hypothetical investment of $10,000 made in each of the Bloomberg U.S. Municipal Bond Index (a broad-based index) and Bloomberg Municipal Bond: 7 Year Index (6-8) on 5/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 5/31/26 )
1YR 5YR 10YR
BNY Mellon Intermediate Municipal Bond Fund, Inc. 6.29% 0.91% 1.90%
Bloomberg U.S. Municipal Bond Index (broad-based index) 6.67% 0.92% 2.21%
Bloomberg Municipal Bond: 7 Year Index (6-8) 4.91% 1.07% 2.07%
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 $ 348,000,000
Holdings Count | Holding 195
Advisory Fees Paid, Amount $ 1,610,202
Investment Company Portfolio Turnover 22.54%
Additional Fund Statistics [Text Block]
KEY FUND STATISTICS (AS OF 5/31/26 )

Fund Size (Millions)

Number of Holdings
Total Advisory Fee Paid During
Period

Annual Portfolio Turnover
$348 195 $1,610,202 22.54%
Holdings [Text Block]
Portfolio Holdings (as of 5/31/26 )
Sector Allocation (Based on Net Assets)
Graphical Representation - Top N Holdings Chart
State Allocation (Based on Net Assets)
Graphical Representation - Allocation 1 Chart