<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2023"
  xmlns:iso4217="http://www.xbrl.org/2003/iso4217"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:municipal="http://www.vanguard.com/20241025"
  xmlns:rr="http://xbrl.sec.gov/rr/2023"
  xmlns:xbrldi="http://xbrl.org/2006/xbrldi"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="municipal-20241025.xsd" xlink:type="simple"/>
    <context id="D_27Feb2024_27Feb2024">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000225997</identifier>
        </entity>
        <period>
            <startDate>2024-02-27</startDate>
            <endDate>2024-02-27</endDate>
        </period>
    </context>
    <context id="S000048568">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000225997</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">municipal:S000048568Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-02-27</startDate>
            <endDate>2024-02-27</endDate>
        </period>
    </context>
    <context id="S000083729">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000225997</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">municipal:S000083729Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-02-27</startDate>
            <endDate>2024-02-27</endDate>
        </period>
    </context>
    <unit id="pure">
        <measure>pure</measure>
    </unit>
    <unit id="USD">
        <measure>iso4217:USD</measure>
    </unit>
    <dei:EntityRegistrantName contextRef="D_27Feb2024_27Feb2024" id="apid_2">VANGUARD MUNICIPAL BOND FUNDS</dei:EntityRegistrantName>
    <rr:ProspectusDate
      contextRef="S000083729"
      id="IXG_dab6b411-8b62-4483-b3c2-8c2a622c7d48_1">2024-02-27</rr:ProspectusDate>
    <dei:DocumentPeriodEndDate contextRef="D_27Feb2024_27Feb2024" id="apid_1">2024-10-25</dei:DocumentPeriodEndDate>
    <dei:EntityCentralIndexKey contextRef="D_27Feb2024_27Feb2024" id="apid_3">0000225997</dei:EntityCentralIndexKey>
    <dei:AmendmentFlag contextRef="D_27Feb2024_27Feb2024" id="apid_4">false</dei:AmendmentFlag>
    <dei:DocumentCreationDate contextRef="D_27Feb2024_27Feb2024" id="apid_5">2024-10-25</dei:DocumentCreationDate>
    <dei:DocumentEffectiveDate contextRef="D_27Feb2024_27Feb2024" id="apid_6">2024-10-25</dei:DocumentEffectiveDate>
    <dei:EntityInvCompanyType contextRef="D_27Feb2024_27Feb2024" id="apid_7">N-1A</dei:EntityInvCompanyType>
    <dei:DocumentType contextRef="D_27Feb2024_27Feb2024" id="apid_8">497</dei:DocumentType>
    <rr:SupplementToProspectusTextBlock
      contextRef="D_27Feb2024_27Feb2024"
      id="x_615f6907-bf50-4f66-8888-6100877de1f5">&lt;span style="color:#000000;font-family:Arial;font-size:13pt;"&gt;Vanguard Intermediate-Term Tax-Exempt Bond ETF&lt;/span&gt;
&lt;br/&gt;&lt;span style="color:#000000;font-family:Arial;font-size:13pt;"&gt;Vanguard Tax-Exempt Bond Index Fund&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:11pt;font-weight:bold;"&gt;Supplement Dated October 25, 2024, to the Prospectuses and Summary Prospectuses Dated &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:11pt;font-weight:bold;"&gt;February 27, 2024&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:10pt;font-weight:bold;"&gt;Important Changes to the Vanguard Intermediate-Term Tax-Exempt Bond ETF and Vanguard Tax-Exempt Bond Index Fund&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:9.5pt;"&gt;In accordance with approval granted by the Funds&#x2019; Board of Trustees, Vanguard Intermediate-Term Tax-Exempt Bond ETF and Vanguard Tax-Exempt Bond Index Fund (each, a Fund) have revised their diversification policy under the Investment Company Act of 1940. Under the revised policy, each Fund will continue to track its target index even if the Fund becomes nondiversified as a result of an index rebalance or market movement.&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:10pt;font-weight:bold;"&gt;Shareholder approval will not be sought if either Fund crosses from diverisifed to nondiverisifed status under such circumstances.&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:10pt;font-weight:bold;"&gt;Prospectus and Summary Prospectus Text Changes&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:9.5pt;line-height:11.5pt;"&gt;The following is added under the heading &#x201c;Principal Investment Strategies&#x201d;:&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:9.5pt;"&gt;The Fund may become nondiversified, as defined under the Investment Company Act of 1940, solely as a result of an index rebalance or market movement.&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:9.5pt;"&gt;The following is added under the heading &#x201c;Principal Risks&#x201d;:&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:9.5pt;"&gt;&#x2022;&#x2002;&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:9.5pt;font-style:italic;"&gt;Nondiversification risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:9.5pt;"&gt;. Because the Fund seeks to closely track the composition of the Fund&#x2019;s target index, from time to time, more than 25% of the Fund&#x2019;s total assets may be invested in issuers representing more than 5% of the Fund&#x2019;s total assets due to an index rebalance or market movement, which would result in the Fund being nondiversified under the Investment Company Act of 1940. The Fund&#x2019;s performance may be hurt disproportionately by the poor performance of bonds issued by just a few issuers or even a single issuer, and the Fund&#x2019;s shares may experience significant fluctuations in value.&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;line-height:7pt;"&gt;&#xa9; 2024 The Vanguard Group, Inc. All rights reserved.&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;"&gt;Vanguard Marketing Corporation, Distributor.&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:8.5pt;margin-left:141.92pt;"&gt;PS TEB 102024&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:14pt;font-weight:bold;"&gt;Vanguard Municipal Bond Funds&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:11pt;font-weight:bold;"&gt;Supplement Dated October 25, 2024, to the Statement of Additional Information Dated February 27, 2024&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:10pt;font-weight:bold;"&gt;Important Changes to Vanguard Intermediate-Term Tax-Exempt Bond ETF and Vanguard Tax-Exempt Bond Index Fund&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:9.5pt;"&gt;In accordance with approval granted by the Board of Trustees of Vanguard Municipal Bond Funds, on behalf of Vanguard Intermediate-Term Tax-Exempt Bond ETF and Vanguard Tax-Exempt Bond Index Fund (each, a Fund), each Fund has revised its diversification policy under the Investment Company Act of 1940. Under the revised policy, each Fund will continue to track its target index even if the Fund becomes nondiversified as a result of an index rebalance or market movement.&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:9.5pt;font-weight:bold;"&gt;Shareholder approval will not be sought if either Fund crosses from diversified to nondiversified status under such circumstances.&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:10pt;font-weight:bold;"&gt;Statement of Additional Information Text Changes&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:9.5pt;"&gt;In the &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:9.5pt;font-weight:bold;"&gt;Fundamental Policies &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:9.5pt;"&gt;section, the following paragraph is added under the heading &#x201c;&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:9.5pt;font-style:italic;font-weight:bold;"&gt;Diversification&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:9.5pt;"&gt;&#x201d;:&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:9.5pt;"&gt;For Vanguard Intermediate-Term Tax-Exempt Bond ETF and Vanguard Tax-Exempt Bond Index Fund, with respect to 75% of its total assets, the Fund may not: (1) purchase more than 10% of the outstanding voting securities of any one issuer or (2) purchase securities of any issuer if, as a result, more than 5% of the Fund&#x2019;s total assets would be invested in that issuer&#x2019;s securities; except as may be necessary to approximate the composition of its target index. This limitation does not apply to obligations of the U.S. government or its agencies or instrumentalities.&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:9.5pt;"&gt;At the end of the &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:9.5pt;font-weight:bold;"&gt;Fundamental Policies&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:9.5pt;"&gt; section, the following sentence in is added:&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:9.5pt;font-weight:bold;"&gt;Shareholder approval will not be sought if Vanguard Intermediate-Term Tax-Exempt Bond ETF or Vanguard Tax-Exempt Bond Index Fund crosses from diversified to nondiversified status in order to approximate the composition of its target index.&lt;/span&gt;</rr:SupplementToProspectusTextBlock>
    <rr:ProspectusDate
      contextRef="S000048568"
      id="dab6b411-8b62-4483-b3c2-8c2a622c7d48">2024-02-27</rr:ProspectusDate>
</xbrl>
