<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.23.1</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>10</ContextCount>
  <ElementCount>80</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>true</FootnotesReported>
  <SegmentCount>9</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>3</UnitCount>
  <MyReports>
    <Report instance="c485bpos.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>01001 - Document - Document and Entity Information {Elements}</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://troweprice.com/20221231/role/DocumentAndEntityInformation1</Role>
      <ShortName>Document and Entity Information</ShortName>
      <MenuCategory></MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="c485bpos.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>true</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>01002 - Document - Risk/Return Summary (T. Rowe Price Communications &amp; Technology Fund) {Unlabeled}</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://troweprice.com/20221231/role/RRSummary2</Role>
      <ShortName>Risk/Return Summary (T. Rowe Price Communications &amp; Technology Fund)</ShortName>
      <MenuCategory></MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="c485bpos.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>01003 - Disclosure - Risk/Return Detail Data (T. Rowe Price Communications &amp; Technology Fund) {Elements}</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://troweprice.com/20221231/role/RRDetailData3</Role>
      <ShortName>Risk/Return Detail Data (T. Rowe Price Communications &amp; Technology Fund)</ShortName>
      <MenuCategory></MenuCategory>
      <Position>3</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <Logs>
    <Log type="Warning">[dq-0542-Deprecated-Concept] Concept RiskNarrativeTextBlock in rr/2022 used in 1 facts was deprecated in rr/2023 as of 2023-01-31 and should not be used. c485bpos.htm 165</Log>
    <Log type="Warning">[dq-0542-Deprecated-Concept] Concept RiskLoseMoney in rr/2022 used in 1 facts was deprecated in rr/2023 as of 2023-01-31 and should not be used. c485bpos.htm 166</Log>
    <Log type="Warning">[dq-0542-Deprecated-Concept] Concept RiskNondiversifiedStatus in rr/2022 used in 1 facts was deprecated in rr/2023 as of 2023-01-31 and should not be used. c485bpos.htm 231</Log>
  </Logs>
  <InputFiles>
    <File doctype="485BPOS" original="c485bpos.htm">c485bpos.htm</File>
    <File>c485bpos-20230427.xsd</File>
    <File>c485bpos-20230427_cal.xml</File>
    <File>c485bpos-20230427_def.xml</File>
    <File>c485bpos-20230427_lab.xml</File>
    <File>c485bpos-20230427_pre.xml</File>
    <File>ex99bbylaws-bylaws.htm</File>
    <File>ex99gcustagreemt-cust1.htm</File>
    <File>ex99gcustagreemt-cust2.htm</File>
    <File>ex99hothmatcont-ela1.htm</File>
    <File>ex99hothmatcont-fa1.htm</File>
    <File>ex99hothmatcont-fa2.htm</File>
    <File>ex99hothmatcont-fa3.htm</File>
    <File>ex99hothmatcont-rps1.htm</File>
    <File>ex99hothmatcont-trsf1.htm</File>
    <File>ex99jotheropinin-opin1.htm</File>
    <File>ex99jotheropinin-poa.htm</File>
    <File>ex99jotheropinin-pwc.htm</File>
    <File>ex99pcodeeth-code.htm</File>
  </InputFiles>
  <SupplementalFiles>
    <File>img_3e77d9a57e974f2.jpg</File>
    <File>img_3f139ce379324f2.jpg</File>
    <File>img_557dab44f5b94f2.jpg</File>
    <File>img_7ae72aedfec04f3.jpg</File>
    <File>img_89240283eee24f2.jpg</File>
    <File>img_bbded800071c4f2.jpg</File>
    <File>img_c54b381e293e4f1.jpg</File>
    <File>img_d7b52f9e57cb4f3.jpg</File>
    <File>img_fa945f0acc254f1.jpg</File>
    <File>BarChart1.png</File>
  </SupplementalFiles>
  <BaseTaxonomies>
    <BaseTaxonomy items="8">http://xbrl.sec.gov/dei/2022</BaseTaxonomy>
    <BaseTaxonomy items="100">http://xbrl.sec.gov/rr/2022</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
