v3.26.3
Shareholder Report
6 Months Ended
Aug. 31, 2026
USD ($)
Holding
Shareholder Report [Line Items]  
Document Type N-CSRS
Amendment Flag false
Registrant Name T. ROWE PRICE STATE TAX-FREE FUNDS, INC.
Entity Central Index Key 0000795384
Entity Investment Company Type N-1A
Document Period End Date Aug. 31, 2026
Shareholder Report Annual or Semi-Annual Semi-Annual Shareholder Report
C000005539  
Shareholder Report [Line Items]  
Fund Name New York Municipal Bond Fund
Class Name Investor Class
Trading Symbol PRNYX
Annual or Semi-Annual Statement [Text Block] This semi-annual shareholder report contains important information about New York Municipal Bond Fund (the "fund") for the period of March 1, 2026 to August 31, 2026.
Additional Information [Text Block] You can find the fund’s prospectus, financial information on Form N‑CSR (which includes required tax information for dividends), holdings, proxy voting information, and other information atwww.troweprice.com/prospectus. You can also request this information without charge by contacting T. Rowe Price at 1‑800‑638‑5660 or info@troweprice.com or contacting your intermediary.
Material Fund Change Notice [Text Block]  
Additional Information Phone Number 1‑800‑638‑5660
Additional Information Email <span style="box-sizing: border-box; color: rgb(0, 0, 0); display: inline; flex-wrap: nowrap; font-size: 13.3333px; font-weight: 400; grid-area: auto; line-height: 17.3333px; margin: 0px; overflow: visible; text-align: justify; text-align-last: left; white-space-collapse: preserve-breaks;">info@troweprice.com</span>
Additional Information Website www.troweprice.com/prospectus
Expenses [Text Block]

What were the fund costs for the last six months? (based on a hypothetical $10,000 investment)

Table Summary
 
Costs of a $10,000 investment
Costs paid as a percentage of a $10,000 investment
New York Municipal Bond Fund - Investor Class
$26
0.53%
Expenses Paid, Amount $ 26
Expense Ratio, Percent 0.53%
AssetsNet $ 427,469,000
Holdings Count | Holding 288
InvestmentCompanyPortfolioTurnover 11.50%
Additional Fund Statistics [Text Block]

What are some fund statistics?

Fund Statistics

Table Summary
Total Net Assets (000s)
$427,469
Number of Portfolio Holdings
288
Holdings [Text Block]

State Allocation (as a % of Net Assets)

Table Summary
New York
94.0%
Puerto Rico
5.2
Other
0.8

Industry Allocation (as a % of Net Assets)

Table Summary
Special Tax
20.1%
Education
15.8
Transportation
13.4
Housing
12.1
Health Care
12.2
Electric
5.0
General Obligations - Local
4.1
Water & Sewer
2.6
Industrial & Pollution Control
2.2
Other
12.5
Material Fund Change [Text Block]
Updated Prospectus Web Address www.troweprice.com/paperless
C000193178  
Shareholder Report [Line Items]  
Fund Name New York Municipal Bond Fund
Class Name I Class
Trading Symbol TRYIX
Annual or Semi-Annual Statement [Text Block] This semi-annual shareholder report contains important information about New York Municipal Bond Fund (the "fund") for the period of March 1, 2026 to August 31, 2026.
Additional Information [Text Block] You can find the fund’s prospectus, financial information on Form N‑CSR (which includes required tax information for dividends), holdings, proxy voting information, and other information atwww.troweprice.com/prospectus. You can also request this information without charge by contacting T. Rowe Price at 1‑800‑638‑5660 or info@troweprice.com or contacting your intermediary.
Material Fund Change Notice [Text Block]  
Additional Information Phone Number 1‑800‑638‑5660
Additional Information Email <span style="box-sizing: border-box; color: rgb(0, 0, 0); display: inline; flex-wrap: nowrap; font-size: 13.3333px; font-weight: 400; grid-area: auto; line-height: 17.3333px; margin: 0px; overflow: visible; text-align: justify; text-align-last: left; white-space-collapse: preserve-breaks;">info@troweprice.com</span>
Additional Information Website www.troweprice.com/prospectus
Expenses [Text Block]

What were the fund costs for the last six months? (based on a hypothetical $10,000 investment)

Table Summary
 
Costs of a $10,000 investment
Costs paid as a percentage of a $10,000 investment
New York Municipal Bond Fund - I Class
$22
0.44%
Expenses Paid, Amount $ 22
Expense Ratio, Percent 0.44%
AssetsNet $ 427,469,000
Holdings Count | Holding 288
InvestmentCompanyPortfolioTurnover 11.50%
Additional Fund Statistics [Text Block]

What are some fund statistics?

Fund Statistics

Table Summary
Total Net Assets (000s)
$427,469
Number of Portfolio Holdings
288
Holdings [Text Block]

State Allocation (as a % of Net Assets)

Table Summary
New York
94.0%
Puerto Rico
5.2
Other
0.8

Industry Allocation (as a % of Net Assets)

Table Summary
Special Tax
20.1%
Education
15.8
Transportation
13.4
Housing
12.1
Health Care
12.2
Electric
5.0
General Obligations - Local
4.1
Water & Sewer
2.6
Industrial & Pollution Control
2.2
Other
12.5
Material Fund Change [Text Block]
Updated Prospectus Web Address www.troweprice.com/paperless