| Label | Element | Value |
|---|---|---|
| BNY Mellon High Yield Municipal Bond Fund | ||
| Risk/Return: | oef_RiskReturnAbstract | |
| Risk/Return [Heading] | oef_RiskReturnHeading | Fund Summary |
| Objective [Heading] | oef_ObjectiveHeading | Investment Objective |
| Objective, Primary [Text Block] | oef_ObjectivePrimaryTextBlock | As its primary goal, the fund seeks high current income exempt from federal income tax. |
| Objective, Secondary [Text Block] | oef_ObjectiveSecondaryTextBlock | As a secondary goal, the fund may seek capital appreciation to the extent consistent with its primary goal. |
| Expense Heading [Optional Text] | oef_ExpenseHeading | Fees and Expenses |
| Expense Narrative [Text Block] | oef_ExpenseNarrativeTextBlock | This table describes the fees and expenses that you may pay if you buy, hold and sell shares of the fund. You may pay other fees, such as brokerage commissions and other fees to financial intermediaries, which are not reflected in the table and examples below. You may qualify for sales charge discounts if you and your family invest, or agree to invest in the future, at least $50,000 in the fund or shares of other funds in the BNY Mellon Family of Funds that are subject to a sales charge. More information about sales charges, including these and other discounts and waivers, is available from your financial professional and in the Shareholder Guide section beginning on page 12 of the prospectus, in the Appendix on page A-1 of the prospectus and in the How to Buy Shares section and the Additional Information About How to Buy Shares section beginning on page II-1 and page III-1, respectively, of the fund's Statement of Additional Information. |
| Shareholder Fees Caption [Optional Text] | oef_ShareholderFeesCaption | Shareholder Fees (fees paid directly from your investment) |
| Operating Expenses Caption [Optional Text] | oef_OperatingExpensesCaption | Annual Fund Operating Expenses (expenses that you pay each year as a percentage of the value of your investment) |
| Portfolio Turnover [Heading] | oef_PortfolioTurnoverHeading | Portfolio Turnover |
| Portfolio Turnover [Text Block] | oef_PortfolioTurnoverTextBlock | The fund pays transaction costs, such as commissions, when it buys and sells securities (or "turns over" its portfolio). A higher portfolio turnover may indicate higher transaction costs and may result in higher taxes when fund shares are held in a taxable account. These costs, which are not reflected in annual fund operating expenses or in the Example, affect the fund's performance. During the most recent fiscal year, the fund's portfolio turnover rate was 16.77% of the average value of its portfolio. |
| Portfolio Turnover, Rate | oef_PortfolioTurnoverRate | 16.77% |
| Expense Breakpoint Discounts [Text] | oef_ExpenseBreakpointDiscounts | You may qualify for sales charge discounts if you and your family invest, or agree to invest in the future, at least $50,000 in the fund or shares of other funds in the BNY Mellon Family of Funds that are subject to a sales charge. |
| Expense Breakpoint, Minimum Investment Required [Amount] | oef_ExpenseBreakpointMinimumInvestmentRequiredAmount | $ 50,000 |
| Expense Example [Heading] | oef_ExpenseExampleHeading | Example |
| Expense Example Narrative [Text Block] | oef_ExpenseExampleNarrativeTextBlock | The Example is intended to help you compare the cost of investing in the fund with the cost of investing in other mutual funds. The Example assumes that you invest $10,000 in the fund for the time periods indicated. The Example also assumes that your investment has a 5% return each year and that the fund's operating expenses remain the same. Although your actual costs may be higher or lower, based on these assumptions your costs would be: |
| Strategy [Heading] | oef_StrategyHeading | Principal Investment Strategy |
| Strategy Narrative [Text Block] | oef_StrategyNarrativeTextBlock | To pursue its goals, the fund normally invests at least 80% of its net assets, plus any borrowings for investment purposes, in municipal bonds that provide income exempt from federal personal income tax. Municipal bonds are debt securities or other obligations issued by states, territories and possessions of the United States and the District of Columbia and their political subdivisions, agencies and instrumentalities, or multistate agencies and authorities. The fund normally invests at least 50% of its net assets in municipal bonds rated BBB/Baa or lower or the unrated equivalent as determined by Insight North America LLC, the fund's sub-adviser. Municipal bonds rated below investment grade (BB/Ba or lower) are commonly known as "high yield" or "junk" bonds. These bonds typically offer higher yields than investment grade bonds, but involve greater risks, including the possibility of default, and increased market price volatility. The fund may invest up to 10% of its net assets in defaulted municipal bonds. The fund may invest up to 50% of its net assets in higher quality municipal bonds (those rated AAA/Aaa to A or the unrated equivalent as determined by the fund's sub-adviser). The fund's investments may include securities that are subject to resale restrictions such as those contained in Rule 144A promulgated under the Securities Act of 1933, as amended ("Securities Act"). The dollar-weighted average maturity of the fund's portfolio normally exceeds ten years, but the fund may invest without regard to maturity. A bond's maturity is the length of time until the principal must be fully repaid with interest. Dollar-weighted average maturity is an average of the stated maturities of the bonds held by the fund, based on their dollar-weighted proportions in the fund. The fund's sub-adviser focuses on identifying undervalued sectors and securities. To select municipal bonds for the fund, the sub-adviser uses fundamental credit analysis to estimate the relative value and attractiveness of various sectors and securities and actively trades among various sectors and securities based on their apparent relative values. The fund seeks to invest in several different sectors and does not seek to overweight any particular sector but may do so depending on each sector's relative value at a given time. A rigorous sell discipline is employed to continuously evaluate all fund holdings. Current holdings may become sell candidates if creditworthiness is deteriorating, if bonds with better risk and return characteristics become available, or if the holding no longer meets the sub-adviser's strategic or portfolio construction objectives. Although the fund seeks to provide income exempt from federal income tax, income from some of the fund's holdings may be subject to the federal alternative minimum tax. |
| Bar Chart and Performance Table [Heading] | oef_BarChartAndPerformanceTableHeading | Performance |
| Performance Narrative [Text Block] | oef_PerformanceNarrativeTextBlock | The following bar chart and table provide some indication of the risks of investing in the fund. The bar chart shows changes in the performance of the fund's Class Z shares from year to year. Sales charges, if any, are not reflected in the bar chart and, if those charges were included, returns would have been less than those shown. The table compares the average annual total returns of the fund's shares to those of the Bloomberg U.S. Municipal Bond Index, a broad measure of market performance, and the Bloomberg Municipal High Yield Index, an index reflecting the market segments in which the fund invests. The fund's past performance (before and after taxes) is not necessarily an indication of how the fund will perform in the future. Performance for each share class will vary due to differences in expenses. More recent performance information may be available at www.bny.com/investments. |
| Performance Information Illustrates Variability of Returns [Text] | oef_PerformanceInformationIllustratesVariabilityOfReturns | The following bar chart and table provide some indication of the risks of investing in the fund. |
| Performance Availability Website Address [Text] | oef_PerformanceAvailabilityWebSiteAddress | www.bny.com/investments |
| Performance Past Does Not Indicate Future [Text] | oef_PerformancePastDoesNotIndicateFuture | The fund's past performance (before and after taxes) is not necessarily an indication of how the fund will perform in the future. |
| Bar Chart [Heading] | oef_BarChartHeading | Year-by-Year Total Returns as of 12/31 each year (%) |
| Bar Chart Does Not Reflect Sales Loads [Text] | oef_BarChartDoesNotReflectSalesLoads | Sales charges, if any, are not reflected in the bar chart and, if those charges were included, returns would have been less than those shown. |
| Bar Chart Closing [Text Block] | oef_BarChartClosingTextBlock | During the periods shown in the chart: The year-to-date total return of the fund's Class Z shares as of September 30, 2025 was -0.41%. |
| Index No Deduction for Fees, Expenses, or Taxes [Text] | oef_IndexNoDeductionForFeesExpensesTaxes | reflects no deductions for fees, expenses or taxes |
| Performance Table Uses Highest Federal Rate | oef_PerformanceTableUsesHighestFederalRate | After-tax returns are calculated using the historical highest individual federal marginal income tax rates, and do not reflect the impact of state and local taxes. |
| Performance Table Not Relevant to Tax Deferred | oef_PerformanceTableNotRelevantToTaxDeferred | Actual after-tax returns depend on the investor's tax situation and may differ from those shown, and the after-tax returns shown are not relevant to investors who hold their shares through U.S. tax-deferred arrangements such as 401(k) plans or individual retirement accounts. |
| Performance Table One Class of after Tax Shown [Text] | oef_PerformanceTableOneClassOfAfterTaxShown | After-tax performance is shown only for Class Z shares. After-tax performance of the fund's other share classes will vary. |
| Performance Table Explanation after Tax Higher | oef_PerformanceTableExplanationAfterTaxHigher | Returns after taxes on distributions and sale of fund shares may be higher than returns before taxes or returns after taxes on distributions due to an assumed tax benefit from losses on a sale of the fund's shares at the end of the period. |
| Performance Table Narrative | oef_PerformanceTableNarrativeTextBlock | After-tax performance is shown only for Class Z shares. After-tax performance of the fund's other share classes will vary. After-tax returns are calculated using the historical highest individual federal marginal income tax rates, and do not reflect the impact of state and local taxes. Actual after-tax returns depend on the investor's tax situation and may differ from those shown, and the after-tax returns shown are not relevant to investors who hold their shares through U.S. tax-deferred arrangements such as 401(k) plans or individual retirement accounts. Returns after taxes on distributions and sale of fund shares may be higher than returns before taxes or returns after taxes on distributions due to an assumed tax benefit from losses on a sale of the fund's shares at the end of the period. |
| Average Annual Return, Caption [Optional Text] | oef_AverageAnnualReturnCaption | Average Annual Total Returns (as of 12/31/24) |
| BNY Mellon High Yield Municipal Bond Fund | Principal Risks | ||
| Risk/Return: | oef_RiskReturnAbstract | |
| Risk [Text Block] | oef_RiskTextBlock | Principal Risks An investment in the fund is not a bank deposit. It is not insured or guaranteed by the Federal Deposit Insurance Corporation (FDIC) or any other government agency. It is not a complete investment program. The fund's share price fluctuates, sometimes dramatically, which means you could lose money. |
| BNY Mellon High Yield Municipal Bond Fund | Risk Lose Money [Member] | ||
| Risk/Return: | oef_RiskReturnAbstract | |
| Risk [Text Block] | oef_RiskTextBlock | The fund's share price fluctuates, sometimes dramatically, which means you could lose money. |
| BNY Mellon High Yield Municipal Bond Fund | Risk Not Insured [Member] | ||
| Risk/Return: | oef_RiskReturnAbstract | |
| Risk [Text Block] | oef_RiskTextBlock | An investment in the fund is not a bank deposit. It is not insured or guaranteed by the Federal Deposit Insurance Corporation (FDIC) or any other government agency. |
| BNY Mellon High Yield Municipal Bond Fund | · Municipal securities risk | ||
| Risk/Return: | oef_RiskReturnAbstract | |
| Risk [Text Block] | oef_RiskTextBlock | · Municipal securities risk: Municipal securities are subject to interest rate, credit, liquidity, valuation, market and political risks. The amount of public information available about municipal securities is generally less than that for corporate equities or bonds. Special factors, such as legislative and regulatory changes, executive orders, voter initiatives, and state and local economic and business developments, may adversely affect the value of the fund's investments in municipal securities. Other factors include the general conditions of the municipal securities market, the size of the particular offering, the maturity of the obligation and the rating of the issue. Changes in economic, business or political conditions relating to a particular municipal project, municipality, or state, territory or possession of the United States in which the fund invests may have an impact on the fund's share price. Any credit impairment could adversely impact the value of municipal bonds, which could negatively impact the performance of the fund. In addition, income from municipal securities held by the fund could be declared taxable because of, among other things, unfavorable changes in tax laws, adverse interpretations by the Internal Revenue Service or state tax authorities, or noncompliant conduct of an issuer or other obligated party. Loss of tax-exempt status for municipal securities held by the fund may cause interest received and distributed to shareholders by the fund to be taxable and may result in a significant decline in the values of such municipal securities. |
| BNY Mellon High Yield Municipal Bond Fund | · Interest rate risk | ||
| Risk/Return: | oef_RiskReturnAbstract | |
| Risk [Text Block] | oef_RiskTextBlock | · Interest rate risk: Prices of bonds and other fixed rate fixed-income securities tend to move inversely with changes in interest rates. Typically, a rise in rates will adversely affect fixed-income securities and, accordingly, will cause the value of the fund's investments in these securities to decline. A wide variety of market factors can cause interest rates to rise, including central bank monetary policy, rising inflation and changes in general economic conditions. It is difficult to predict the pace at which central banks or monetary authorities may increase (or decrease) interest rates or the timing, frequency, or magnitude of such changes. During periods of very low interest rates, which occur from time to time due to market forces or actions of governments and/or their central banks, including the Board of Governors of the Federal Reserve System in the U.S., the fund may be subject to a greater risk of principal decline from rising interest rates. When interest rates fall, the fund's investments in new securities may be at lower yields and may reduce the fund's income. Changing interest rates may have unpredictable effects on markets, may result in heightened market volatility and may detract from fund performance. The magnitude of these fluctuations in the market price of fixed-income securities is generally greater for securities with longer effective maturities and durations because such instruments do not mature, reset interest rates or become callable for longer periods of time. Unlike investment grade bonds, however, the prices of high yield ("junk") bonds may fluctuate unpredictably and not necessarily inversely with changes in interest rates. |
| BNY Mellon High Yield Municipal Bond Fund | · Credit risk | ||
| Risk/Return: | oef_RiskReturnAbstract | |
| Risk [Text Block] | oef_RiskTextBlock | · Credit risk: Failure of an issuer of a security to make timely interest or principal payments when due, or a decline or perception of a decline in the credit quality of the security, can cause the security's price to fall, lowering the value of the fund’s investment in such security. The lower a security's credit rating, the greater the chance that the issuer of the security will default or fail to meet its payment obligations. |
| BNY Mellon High Yield Municipal Bond Fund | · High yield securities risk | ||
| Risk/Return: | oef_RiskReturnAbstract | |
| Risk [Text Block] | oef_RiskTextBlock | · High yield securities risk: High yield ("junk") securities involve greater credit risk, including the risk of default, than investment grade securities, and are considered predominantly speculative with respect to the issuer's ability to make principal and interest payments. These securities are especially sensitive to adverse changes in general economic conditions, to changes in the financial condition of their issuers and to price fluctuation in response to changes in interest rates. During periods of economic downturn or rising interest rates, issuers of below investment grade securities may experience financial stress that could adversely affect their ability to make payments of principal and interest and increase the possibility of default. |
| BNY Mellon High Yield Municipal Bond Fund | · Liquidity risk | ||
| Risk/Return: | oef_RiskReturnAbstract | |
| Risk [Text Block] | oef_RiskTextBlock | · Liquidity risk: When there is little or no active trading market for specific types of securities, it can become more difficult to sell the securities in a timely manner at or near their perceived value. In such a market, the value of such securities and the fund's share price may fall dramatically. The secondary market for certain municipal bonds tends to be less well developed or liquid than many other securities markets, which may adversely affect the fund's ability to buy or sell such municipal bonds at attractive prices. Investments that are illiquid or that trade in lower volumes may be more difficult to value. The market for below investment grade securities may be less liquid and therefore these securities may be harder to value or sell at an acceptable price, especially during times of market volatility or decline. |
| BNY Mellon High Yield Municipal Bond Fund | · Rule 144A securities risk | ||
| Risk/Return: | oef_RiskReturnAbstract | |
| Risk [Text Block] | oef_RiskTextBlock | · Rule 144A securities risk: Rule 144A securities are restricted securities that, while privately placed, are eligible for purchase and resale pursuant to Rule 144A by "qualified institutional buyers," as defined under the Securities Act. The market for Rule 144A and other securities exempt from certain registration requirements typically is less active than the market for publicly-traded securities. As such, investing in Rule 144A securities may reduce the liquidity of the fund's investments, and the fund may be unable to sell the security at the desired time or price, if at all. The purchase price and subsequent valuation of Rule 144A securities normally reflect a discount, which may be significant, from the market price of comparable unrestricted securities for which a liquid trading market exists. |
| BNY Mellon High Yield Municipal Bond Fund | · Prepayment risk | ||
| Risk/Return: | oef_RiskReturnAbstract | |
| Risk [Text Block] | oef_RiskTextBlock | · Prepayment risk: Some securities give the issuer the option to prepay or call the securities before their maturity date, which may reduce the market value of the security and the anticipated yield-to-maturity. Issuers often exercise this right when interest rates fall. If an issuer "calls" its securities during a time of declining interest rates, the fund might have to reinvest the proceeds in an investment offering a lower yield, and therefore might not benefit from any increase in value as a result of declining interest rates. During periods of market illiquidity or rising interest rates, prices of "callable" issues are subject to increased price fluctuation. |
| BNY Mellon High Yield Municipal Bond Fund | · Valuation risk | ||
| Risk/Return: | oef_RiskReturnAbstract | |
| Risk [Text Block] | oef_RiskTextBlock | · Valuation risk: The price that the fund could receive upon the sale (or other disposition) of an investment may differ from the fund's valuation of the investment, particularly for investments that trade in lower volumes, investments that are valued using a fair valuation methodology or a price provided by an independent pricing service, or during market turmoil or volatility. As a result, the price received upon the sale of an investment may be less than the value ascribed by the fund, and the fund could realize a greater than expected loss or lesser than expected gain upon the sale of the investment. The fund's ability to value its investments also may be impacted by technological issues and/or errors by pricing services or other third-party service providers. |
| BNY Mellon High Yield Municipal Bond Fund | · Market risk | ||
| Risk/Return: | oef_RiskReturnAbstract | |
| Risk [Text Block] | oef_RiskTextBlock | · Market risk: The value of the securities in which the fund invests may be affected by political, regulatory, economic and social developments, and developments that impact specific economic sectors, industries or segments of the market. In addition, turbulence in financial markets and reduced liquidity in equity, credit and/or fixed-income markets may negatively affect many issuers, which could adversely affect the fund. Global economies and financial markets are becoming increasingly interconnected, and conditions and events in one country, region or financial market may adversely impact issuers in a different country, region or financial market. These risks may be magnified if certain events or developments adversely interrupt the global supply chain; in these and other circumstances, such risks might affect companies world-wide. Local, regional or global events such as war, military conflicts, acts of terrorism, natural disasters, the spread of infectious illness or other public health issues, recessions, elevated levels of government debt, changes in trade regulation or economic sanctions, internal unrest and discord, or other events could have a significant impact on the fund and its investments. |
| BNY Mellon High Yield Municipal Bond Fund | · Management risk | ||
| Risk/Return: | oef_RiskReturnAbstract | |
| Risk [Text Block] | oef_RiskTextBlock | · Management risk: The investment process used by the fund's sub-adviser could fail to achieve the fund's investment goals and cause your fund investment to lose value. |
| BNY Mellon High Yield Municipal Bond Fund | Bloomberg U.S. Municipal Bond Indexreflects no deductions for fees, expenses or taxes | ||
| Risk/Return: | oef_RiskReturnAbstract | |
| Average Annual Return, Percent | oef_AvgAnnlRtrPct | 1.05% |
| Average Annual Return, Percent | oef_AvgAnnlRtrPct | 0.99% |
| Average Annual Return, Percent | oef_AvgAnnlRtrPct | 2.25% |
| BNY Mellon High Yield Municipal Bond Fund | Bloomberg Municipal High Yield Index*reflects no deductions for fees, expenses or taxes | ||
| Risk/Return: | oef_RiskReturnAbstract | |
| Average Annual Return, Percent | oef_AvgAnnlRtrPct | 6.32% |
| Average Annual Return, Percent | oef_AvgAnnlRtrPct | 2.66% |
| Average Annual Return, Percent | oef_AvgAnnlRtrPct | 4.28% |
| BNY Mellon High Yield Municipal Bond Fund | A | ||
| Risk/Return: | oef_RiskReturnAbstract | |
| Maximum Sales Charge Imposed on Purchases (as a percentage of Offering Price) | oef_MaximumSalesChargeImposedOnPurchasesOverOfferingPrice | 4.50% |
| Maximum Deferred Sales Charge (as a percentage of Offering Price) | oef_MaximumDeferredSalesChargeOverOfferingPrice | 0.00% |
| Management Fees (as a percentage of Assets) | oef_ManagementFeesOverAssets | 0.45% |
| Distribution and Service (12b-1) Fees | oef_DistributionAndService12b1FeesOverAssets | 0.00% |
| Component2 Other Expenses | oef_Component2OtherExpensesOverAssets | 0.25% |
| Component3 Other Expenses | oef_Component3OtherExpensesOverAssets | 0.39% |
| Other Expenses (as a percentage of Assets): | oef_OtherExpensesOverAssets | 0.64% |
| Expenses (as a percentage of Assets) | oef_ExpensesOverAssets | 1.09% |
| Expense Example, with Redemption, 1 Year | oef_ExpenseExampleYear01 | $ 556 |
| Expense Example, with Redemption, 3 Years | oef_ExpenseExampleYear03 | 781 |
| Expense Example, with Redemption, 5 Years | oef_ExpenseExampleYear05 | 1,024 |
| Expense Example, with Redemption, 10 Years | oef_ExpenseExampleYear10 | 1,719 |
| Expense Example, No Redemption, 1 Year | oef_ExpenseExampleNoRedemptionYear01 | 556 |
| Expense Example, No Redemption, 3 Years | oef_ExpenseExampleNoRedemptionYear03 | 781 |
| Expense Example, No Redemption, 5 Years | oef_ExpenseExampleNoRedemptionYear05 | 1,024 |
| Expense Example, No Redemption, 10 Years | oef_ExpenseExampleNoRedemptionYear10 | $ 1,719 |
| Average Annual Return, Label [Optional Text] | oef_AverageAnnualReturnLabel | returns before taxes |
| Average Annual Return, Percent | oef_AvgAnnlRtrPct | (0.47%) |
| Average Annual Return, Percent | oef_AvgAnnlRtrPct | (0.73%) |
| Average Annual Return, Percent | oef_AvgAnnlRtrPct | 2.52% |
| BNY Mellon High Yield Municipal Bond Fund | C | ||
| Risk/Return: | oef_RiskReturnAbstract | |
| Maximum Sales Charge Imposed on Purchases (as a percentage of Offering Price) | oef_MaximumSalesChargeImposedOnPurchasesOverOfferingPrice | 0.00% |
| Maximum Deferred Sales Charge (as a percentage of Offering Price) | oef_MaximumDeferredSalesChargeOverOfferingPrice | 1.00% |
| Management Fees (as a percentage of Assets) | oef_ManagementFeesOverAssets | 0.45% |
| Distribution and Service (12b-1) Fees | oef_DistributionAndService12b1FeesOverAssets | 0.75% |
| Component2 Other Expenses | oef_Component2OtherExpensesOverAssets | 0.25% |
| Component3 Other Expenses | oef_Component3OtherExpensesOverAssets | 0.43% |
| Other Expenses (as a percentage of Assets): | oef_OtherExpensesOverAssets | 0.68% |
| Expenses (as a percentage of Assets) | oef_ExpensesOverAssets | 1.88% |
| Expense Example, with Redemption, 1 Year | oef_ExpenseExampleYear01 | $ 291 |
| Expense Example, with Redemption, 3 Years | oef_ExpenseExampleYear03 | 591 |
| Expense Example, with Redemption, 5 Years | oef_ExpenseExampleYear05 | 1,016 |
| Expense Example, with Redemption, 10 Years | oef_ExpenseExampleYear10 | 2,201 |
| Expense Example, No Redemption, 1 Year | oef_ExpenseExampleNoRedemptionYear01 | 191 |
| Expense Example, No Redemption, 3 Years | oef_ExpenseExampleNoRedemptionYear03 | 591 |
| Expense Example, No Redemption, 5 Years | oef_ExpenseExampleNoRedemptionYear05 | 1,016 |
| Expense Example, No Redemption, 10 Years | oef_ExpenseExampleNoRedemptionYear10 | $ 2,201 |
| Average Annual Return, Label [Optional Text] | oef_AverageAnnualReturnLabel | returns before taxes |
| Average Annual Return, Percent | oef_AvgAnnlRtrPct | 2.39% |
| Average Annual Return, Percent | oef_AvgAnnlRtrPct | (0.59%) |
| Average Annual Return, Percent | oef_AvgAnnlRtrPct | 2.21% |
| BNY Mellon High Yield Municipal Bond Fund | I | ||
| Risk/Return: | oef_RiskReturnAbstract | |
| Maximum Sales Charge Imposed on Purchases (as a percentage of Offering Price) | oef_MaximumSalesChargeImposedOnPurchasesOverOfferingPrice | 0.00% |
| Maximum Deferred Sales Charge (as a percentage of Offering Price) | oef_MaximumDeferredSalesChargeOverOfferingPrice | 0.00% |
| Management Fees (as a percentage of Assets) | oef_ManagementFeesOverAssets | 0.45% |
| Distribution and Service (12b-1) Fees | oef_DistributionAndService12b1FeesOverAssets | 0.00% |
| Component2 Other Expenses | oef_Component2OtherExpensesOverAssets | 0.00% |
| Component3 Other Expenses | oef_Component3OtherExpensesOverAssets | 0.40% |
| Other Expenses (as a percentage of Assets): | oef_OtherExpensesOverAssets | 0.40% |
| Expenses (as a percentage of Assets) | oef_ExpensesOverAssets | 0.85% |
| Expense Example, with Redemption, 1 Year | oef_ExpenseExampleYear01 | $ 87 |
| Expense Example, with Redemption, 3 Years | oef_ExpenseExampleYear03 | 271 |
| Expense Example, with Redemption, 5 Years | oef_ExpenseExampleYear05 | 471 |
| Expense Example, with Redemption, 10 Years | oef_ExpenseExampleYear10 | 1,049 |
| Expense Example, No Redemption, 1 Year | oef_ExpenseExampleNoRedemptionYear01 | 87 |
| Expense Example, No Redemption, 3 Years | oef_ExpenseExampleNoRedemptionYear03 | 271 |
| Expense Example, No Redemption, 5 Years | oef_ExpenseExampleNoRedemptionYear05 | 471 |
| Expense Example, No Redemption, 10 Years | oef_ExpenseExampleNoRedemptionYear10 | $ 1,049 |
| Average Annual Return, Label [Optional Text] | oef_AverageAnnualReturnLabel | returns before taxes |
| Average Annual Return, Percent | oef_AvgAnnlRtrPct | 4.45% |
| Average Annual Return, Percent | oef_AvgAnnlRtrPct | 0.43% |
| Average Annual Return, Percent | oef_AvgAnnlRtrPct | 3.25% |
| BNY Mellon High Yield Municipal Bond Fund | Y | ||
| Risk/Return: | oef_RiskReturnAbstract | |
| Maximum Sales Charge Imposed on Purchases (as a percentage of Offering Price) | oef_MaximumSalesChargeImposedOnPurchasesOverOfferingPrice | 0.00% |
| Maximum Deferred Sales Charge (as a percentage of Offering Price) | oef_MaximumDeferredSalesChargeOverOfferingPrice | 0.00% |
| Management Fees (as a percentage of Assets) | oef_ManagementFeesOverAssets | 0.45% |
| Distribution and Service (12b-1) Fees | oef_DistributionAndService12b1FeesOverAssets | 0.00% |
| Component2 Other Expenses | oef_Component2OtherExpensesOverAssets | 0.00% |
| Component3 Other Expenses | oef_Component3OtherExpensesOverAssets | 0.39% |
| Other Expenses (as a percentage of Assets): | oef_OtherExpensesOverAssets | 0.39% |
| Expenses (as a percentage of Assets) | oef_ExpensesOverAssets | 0.84% |
| Expense Example, with Redemption, 1 Year | oef_ExpenseExampleYear01 | $ 86 |
| Expense Example, with Redemption, 3 Years | oef_ExpenseExampleYear03 | 268 |
| Expense Example, with Redemption, 5 Years | oef_ExpenseExampleYear05 | 466 |
| Expense Example, with Redemption, 10 Years | oef_ExpenseExampleYear10 | 1,037 |
| Expense Example, No Redemption, 1 Year | oef_ExpenseExampleNoRedemptionYear01 | 86 |
| Expense Example, No Redemption, 3 Years | oef_ExpenseExampleNoRedemptionYear03 | 268 |
| Expense Example, No Redemption, 5 Years | oef_ExpenseExampleNoRedemptionYear05 | 466 |
| Expense Example, No Redemption, 10 Years | oef_ExpenseExampleNoRedemptionYear10 | $ 1,037 |
| Average Annual Return, Label [Optional Text] | oef_AverageAnnualReturnLabel | returns before taxes |
| Average Annual Return, Percent | oef_AvgAnnlRtrPct | 4.46% |
| Average Annual Return, Percent | oef_AvgAnnlRtrPct | 0.46% |
| Average Annual Return, Percent | oef_AvgAnnlRtrPct | 3.26% |
| BNY Mellon High Yield Municipal Bond Fund | Z | ||
| Risk/Return: | oef_RiskReturnAbstract | |
| Maximum Sales Charge Imposed on Purchases (as a percentage of Offering Price) | oef_MaximumSalesChargeImposedOnPurchasesOverOfferingPrice | 0.00% |
| Maximum Deferred Sales Charge (as a percentage of Offering Price) | oef_MaximumDeferredSalesChargeOverOfferingPrice | 0.00% |
| Management Fees (as a percentage of Assets) | oef_ManagementFeesOverAssets | 0.45% |
| Distribution and Service (12b-1) Fees | oef_DistributionAndService12b1FeesOverAssets | 0.12% |
| Component2 Other Expenses | oef_Component2OtherExpensesOverAssets | 0.00% |
| Component3 Other Expenses | oef_Component3OtherExpensesOverAssets | 0.39% |
| Other Expenses (as a percentage of Assets): | oef_OtherExpensesOverAssets | 0.39% |
| Expenses (as a percentage of Assets) | oef_ExpensesOverAssets | 0.96% |
| Expense Example, with Redemption, 1 Year | oef_ExpenseExampleYear01 | $ 98 |
| Expense Example, with Redemption, 3 Years | oef_ExpenseExampleYear03 | 306 |
| Expense Example, with Redemption, 5 Years | oef_ExpenseExampleYear05 | 531 |
| Expense Example, with Redemption, 10 Years | oef_ExpenseExampleYear10 | 1,178 |
| Expense Example, No Redemption, 1 Year | oef_ExpenseExampleNoRedemptionYear01 | 98 |
| Expense Example, No Redemption, 3 Years | oef_ExpenseExampleNoRedemptionYear03 | 306 |
| Expense Example, No Redemption, 5 Years | oef_ExpenseExampleNoRedemptionYear05 | 531 |
| Expense Example, No Redemption, 10 Years | oef_ExpenseExampleNoRedemptionYear10 | $ 1,178 |
| Year to Date Return, Label [Optional Text] | oef_YearToDateReturnLabel | The year-to-date total return of the fund's Class Z shares as of |
| Bar Chart, Year to Date Return, Date | oef_BarChartYearToDateReturnDate | Sep. 30, 2025 |
| Bar Chart, Year to Date Return | oef_BarChartYearToDateReturn | (0.41%) |
| Highest Quarterly Return, Label [Optional Text] | oef_HighestQuarterlyReturnLabel | Best Quarter |
| Highest Quarterly Return, Date | oef_BarChartHighestQuarterlyReturnDate | Dec. 31, 2023 |
| Highest Quarterly Return | oef_BarChartHighestQuarterlyReturn | 9.63% |
| Lowest Quarterly Return, Label [Optional Text] | oef_LowestQuarterlyReturnLabel | Worst Quarter |
| Lowest Quarterly Return, Date | oef_BarChartLowestQuarterlyReturnDate | Mar. 31, 2020 |
| Lowest Quarterly Return | oef_BarChartLowestQuarterlyReturn | (8.61%) |
| Average Annual Return, Label [Optional Text] | oef_AverageAnnualReturnLabel | returns before taxes |
| Average Annual Return, Percent | oef_AvgAnnlRtrPct | 4.34% |
| Average Annual Return, Percent | oef_AvgAnnlRtrPct | 0.32% |
| Average Annual Return, Percent | oef_AvgAnnlRtrPct | 3.13% |
| Annual Return [Percent] | oef_AnnlRtrPct | 5.24% |
| Annual Return [Percent] | oef_AnnlRtrPct | 0.52% |
| Annual Return [Percent] | oef_AnnlRtrPct | 13.10% |
| Annual Return [Percent] | oef_AnnlRtrPct | 1.64% |
| Annual Return [Percent] | oef_AnnlRtrPct | 10.11% |
| Annual Return [Percent] | oef_AnnlRtrPct | 2.83% |
| Annual Return [Percent] | oef_AnnlRtrPct | 6.13% |
| Annual Return [Percent] | oef_AnnlRtrPct | (16.79%) |
| Annual Return [Percent] | oef_AnnlRtrPct | 7.25% |
| Annual Return [Percent] | oef_AnnlRtrPct | 4.34% |
| BNY Mellon High Yield Municipal Bond Fund | Z | After Taxes on Distributions | ||
| Risk/Return: | oef_RiskReturnAbstract | |
| Average Annual Return, Label [Optional Text] | oef_AverageAnnualReturnLabel | returns after taxes on distributions |
| Average Annual Return, Percent | oef_AvgAnnlRtrPct | 4.34% |
| Average Annual Return, Percent | oef_AvgAnnlRtrPct | 0.32% |
| Average Annual Return, Percent | oef_AvgAnnlRtrPct | 3.11% |
| BNY Mellon High Yield Municipal Bond Fund | Z | After Taxes on Distributions and Sales | ||
| Risk/Return: | oef_RiskReturnAbstract | |
| Average Annual Return, Label [Optional Text] | oef_AverageAnnualReturnLabel | returns after taxes on distributions and sale of fund shares |
| Average Annual Return, Percent | oef_AvgAnnlRtrPct | 4.20% |
| Average Annual Return, Percent | oef_AvgAnnlRtrPct | 1.06% |
| Average Annual Return, Percent | oef_AvgAnnlRtrPct | 3.32% |