v3.26.1
Shareholder Report
6 Months Ended 12 Months Ended
May 31, 2026
USD ($)
Holding
Nov. 30, 2025
Shareholder Report [Line Items]    
Document Type N-CSRS  
Amendment Flag false  
Registrant Name Vanguard Massachusetts Tax-Exempt Funds  
Entity Central Index Key 0001070414  
Entity Investment Company Type N-1A  
Document Period End Date May 31, 2026  
Shareholder Report Annual or Semi-Annual Semi-Annual Shareholder Report  
C000007887    
Shareholder Report [Line Items]    
Fund Name Massachusetts Tax-Exempt Fund  
Class Name Investor Shares  
Trading Symbol VMATX  
Annual or Semi-Annual Statement [Text Block] This semi-annual shareholder report contains important information about Vanguard Massachusetts Tax-Exempt Fund (the "Fund") for the period of December 1, 2025, to May 31, 2026.  
Additional Information [Text Block] You can find additional information about the Fund at https://personal1.vanguard.com/ngf-next-gen-form-webapp/fund-literature. You can also request this information by contacting us at 800-662-7447.  
Material Fund Change Notice [Text Block] The report describes changes to the Fund that occurred during the reporting period.  
Additional Information Phone Number <span style="white-space: nowrap; box-sizing: border-box; color: rgb(0, 0, 0); display: inline; flex-wrap: nowrap; font-size: 10.6667px; font-weight: 400; grid-area: auto; line-height: 16px; margin: 0px; overflow: visible; text-align: left; text-align-last: auto;"> 800-662-7447</span>  
Additional Information Website <span style="white-space: nowrap; box-sizing: border-box; color: rgb(0, 0, 0); display: inline; flex-wrap: nowrap; font-size: 10.6667px; font-weight: 400; grid-area: auto; line-height: 16px; margin: 0px; overflow: visible; text-align: left; text-align-last: auto;"><span style="box-sizing: border-box; color: rgb(0, 0, 0); display: inline; flex-wrap: nowrap; font-size: 10.6667px; font-weight: 400; grid-area: auto; line-height: 16px; margin: 0px; overflow: visible; text-align: left; text-align-last: auto; white-space-collapse: collapse;"><span style="text-decoration: underline; box-sizing: border-box; color: rgb(0, 0, 0); display: inline; flex-wrap: nowrap; font-size: 10.6667px; font-weight: 400; grid-area: auto; line-height: 16px; margin: 0px; overflow: visible; text-align: left; text-align-last: auto; white-space-collapse: collapse;">https://personal1.vanguard.com/ngf-next-gen-form-webapp/fund-literature</span></span></span>  
Expenses [Text Block]

What were the Fund costs for the last six months?

(based on a hypothetical $10,000 investment)

Table Summary
Share Class Name
Costs of a $10,000 investment
Costs paid as a percentage of a $10,000 investment
Investor Shares
$5
0.09%Footnote Reference1
FootnoteDescription
Footnote1
Annualized.
 
Expenses Paid, Amount $ 5  
Expense Ratio, Percent [1] 0.09%  
Material Change Date   Nov. 30, 2025
AssetsNet $ 3,691,000,000  
Holdings Count | Holding 1,051  
InvestmentCompanyPortfolioTurnover 7.00%  
Additional Fund Statistics [Text Block]

Fund Statistics (as of May 31, 2026)

Table Summary
Fund Net Assets (in millions)
$3,691
Number of Portfolio Holdings
1,051
Portfolio Turnover Rate
7%
 
Holdings [Text Block]

Distribution by Stated Maturity % of Net Assets (as of May 31, 2026) 

Table Summary
Less than 1 Year
7.6%
1 to 3 Years
2.0%
3 to 5 Years
2.8%
5 to 10 Years
14.1%
10 to 20 Years
34.7%
20 to 30 Years
35.9%
Greater than 30 Years
4.1%
Other Assets and Liabilities—Net
(1.2%)

This table reflects the Fund's investments, including short-term investments, derivatives and other assets and liabilities.

 
Material Fund Change [Text Block]

How has the Fund changed?

Effective January 12, 2026, The Vanguard Group, Inc. exercises portfolio management responsibilities for the fund through its wholly-owned subsidiary, Vanguard Capital Management, LLC.

  

This is a summary of certain changes to the Fund since November 30, 2025. For more complete information, you may review the Fund’s prospectus, at https://personal1.vanguard.com/ngf-next-gen-form-webapp/fund-literature or upon request at 800-662-7447.

 
Material Fund Change Adviser [Text Block]

Effective January 12, 2026, The Vanguard Group, Inc. exercises portfolio management responsibilities for the fund through its wholly-owned subsidiary, Vanguard Capital Management, LLC.

 
Summary of Change Legend [Text Block]

This is a summary of certain changes to the Fund since November 30, 2025. For more complete information, you may review the Fund’s prospectus, at https://personal1.vanguard.com/ngf-next-gen-form-webapp/fund-literature or upon request at 800-662-7447.

 
Updated Prospectus Phone Number 800-662-7447  
Updated Prospectus Web Address https://personal1.vanguard.com/ngf-next-gen-form-webapp/fund-literature  
[1] Annualized.