v3.26.1
Shareholder Report
6 Months Ended
Jun. 30, 2026
USD ($)
Holding
Shareholder Report [Line Items]  
Document Type N-CSRS
Amendment Flag false
Registrant Name T. ROWE PRICE SCIENCE & TECHNOLOGY FUND, INC.
Entity Central Index Key 0000819930
Entity Investment Company Type N-1A
Document Period End Date Jun. 30, 2026
Shareholder Report Annual or Semi-Annual Semi-Annual Shareholder Report
C000005506  
Shareholder Report [Line Items]  
Fund Name Science & Technology Fund
Class Name Investor Class
Trading Symbol PRSCX
Annual or Semi-Annual Statement [Text Block] This semi-annual shareholder report contains important information about Science & Technology Fund (the "fund") for the period of January 1, 2026 to June 30, 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
Science & Technology Fund - Investor Class
$47
0.78%
Expenses Paid, Amount $ 47
Expense Ratio, Percent 0.78%
Updated Performance Information Location [Text Block]

If you invest directly with T. Rowe Price, you can elect to receive future shareholder reports or other important documents through electronic delivery by enrolling at www.troweprice.com/paperless. If you invest through a financial intermediary such as an investment advisor, a bank, retirement plan sponsor or a brokerage firm, please contact that organization and ask if it can provide electronic delivery.

Visit www.troweprice.com/en/us/market-data-disclosures for additional legal notices & disclaimers.

AssetsNet $ 16,451,253,000
Holdings Count | Holding 155
InvestmentCompanyPortfolioTurnover 213.10%
Additional Fund Statistics [Text Block]

What are some fund statistics?

Fund Statistics

Table Summary
Total Net Assets (000s)
$16,451,253
Number of Portfolio Holdings
155
Additional Fund Statistics Significance or Limits [Text Block]
Table Summary
Portfolio Turnover Rate
213.1%
Holdings [Text Block]

Industry Allocation (as a % of Net Assets)

Table Summary
Processors
21.0%
Memory
15.9
Semiconductor Capital Equipment
13.4
Electronic Equipment and Components
7.1
Enterprise Hardware
7.1
Consumer Electronics
6.6
Digital Systems
4.2
Security Software
3.6
Infrastructure and Developer Tool Software
3.4
Other
17.7
Largest Holdings [Text Block]

Top Ten Holdings (as a % of Net Assets)

Table Summary
Micron Technology
10.9%
Advanced Micro Devices
5.4
Sandisk
5.3
Broadcom
5.0
Lam Research
4.9
Marvell Technology
4.2
NVIDIA
4.2
Intel
3.7
Applied Materials
3.4
KLA
3.2
Material Fund Change [Text Block]
Updated Prospectus Web Address www.troweprice.com/paperless
C000005507  
Shareholder Report [Line Items]  
Fund Name Science & Technology Fund
Class Name Advisor Class
Trading Symbol PASTX
Annual or Semi-Annual Statement [Text Block] This semi-annual shareholder report contains important information about Science & Technology Fund (the "fund") for the period of January 1, 2026 to June 30, 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
Science & Technology Fund - Advisor Class
$63
1.05%
Expenses Paid, Amount $ 63
Expense Ratio, Percent 1.05%
Updated Performance Information Location [Text Block]

If you invest directly with T. Rowe Price, you can elect to receive future shareholder reports or other important documents through electronic delivery by enrolling at www.troweprice.com/paperless. If you invest through a financial intermediary such as an investment advisor, a bank, retirement plan sponsor or a brokerage firm, please contact that organization and ask if it can provide electronic delivery.

Visit www.troweprice.com/en/us/market-data-disclosures for additional legal notices & disclaimers.

AssetsNet $ 16,451,253,000
Holdings Count | Holding 155
InvestmentCompanyPortfolioTurnover 213.10%
Additional Fund Statistics [Text Block]

What are some fund statistics?

Fund Statistics

Table Summary
Total Net Assets (000s)
$16,451,253
Number of Portfolio Holdings
155
Additional Fund Statistics Significance or Limits [Text Block]
Table Summary
Portfolio Turnover Rate
213.1%
Holdings [Text Block]

Industry Allocation (as a % of Net Assets)

Table Summary
Processors
21.0%
Memory
15.9
Semiconductor Capital Equipment
13.4
Electronic Equipment and Components
7.1
Enterprise Hardware
7.1
Consumer Electronics
6.6
Digital Systems
4.2
Security Software
3.6
Infrastructure and Developer Tool Software
3.4
Other
17.7
Largest Holdings [Text Block]

Top Ten Holdings (as a % of Net Assets)

Table Summary
Micron Technology
10.9%
Advanced Micro Devices
5.4
Sandisk
5.3
Broadcom
5.0
Lam Research
4.9
Marvell Technology
4.2
NVIDIA
4.2
Intel
3.7
Applied Materials
3.4
KLA
3.2
Material Fund Change [Text Block]
Updated Prospectus Web Address www.troweprice.com/paperless
C000169947  
Shareholder Report [Line Items]  
Fund Name Science & Technology Fund
Class Name I Class
Trading Symbol TSNIX
Annual or Semi-Annual Statement [Text Block] This semi-annual shareholder report contains important information about Science & Technology Fund (the "fund") for the period of January 1, 2026 to June 30, 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
Science & Technology Fund - I Class
$40
0.66%
Expenses Paid, Amount $ 40
Expense Ratio, Percent 0.66%
Updated Performance Information Location [Text Block]

If you invest directly with T. Rowe Price, you can elect to receive future shareholder reports or other important documents through electronic delivery by enrolling at www.troweprice.com/paperless. If you invest through a financial intermediary such as an investment advisor, a bank, retirement plan sponsor or a brokerage firm, please contact that organization and ask if it can provide electronic delivery.

Visit www.troweprice.com/en/us/market-data-disclosures for additional legal notices & disclaimers.

AssetsNet $ 16,451,253,000
Holdings Count | Holding 155
InvestmentCompanyPortfolioTurnover 213.10%
Additional Fund Statistics [Text Block]

What are some fund statistics?

Fund Statistics

Table Summary
Total Net Assets (000s)
$16,451,253
Number of Portfolio Holdings
155
Additional Fund Statistics Significance or Limits [Text Block]
Table Summary
Portfolio Turnover Rate
213.1%
Holdings [Text Block]

Industry Allocation (as a % of Net Assets)

Table Summary
Processors
21.0%
Memory
15.9
Semiconductor Capital Equipment
13.4
Electronic Equipment and Components
7.1
Enterprise Hardware
7.1
Consumer Electronics
6.6
Digital Systems
4.2
Security Software
3.6
Infrastructure and Developer Tool Software
3.4
Other
17.7
Largest Holdings [Text Block]

Top Ten Holdings (as a % of Net Assets)

Table Summary
Micron Technology
10.9%
Advanced Micro Devices
5.4
Sandisk
5.3
Broadcom
5.0
Lam Research
4.9
Marvell Technology
4.2
NVIDIA
4.2
Intel
3.7
Applied Materials
3.4
KLA
3.2
Material Fund Change [Text Block]
Updated Prospectus Web Address www.troweprice.com/paperless