<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2021"
  xmlns:iso4217="http://www.xbrl.org/2003/iso4217"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:rr="http://xbrl.sec.gov/rr/2021"
  xmlns:ssst2="http://www.sectorspdrs.com/20230317"
  xmlns:xbrldi="http://xbrl.org/2006/xbrldi"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="ssst2-20230317.xsd" xlink:type="simple"/>
    <context id="DefaultContext">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001064641</identifier>
        </entity>
        <period>
            <startDate>2023-01-31</startDate>
            <endDate>2023-01-31</endDate>
        </period>
    </context>
    <context id="S000006413Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001064641</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">ssst2:S000006413Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-01-31</startDate>
            <endDate>2023-01-31</endDate>
        </period>
    </context>
    <unit id="pure">
        <measure>pure</measure>
    </unit>
    <unit id="USD">
        <measure>iso4217:USD</measure>
    </unit>
    <dei:AmendmentFlag
      contextRef="DefaultContext"
      id="h3_e5621e47_f07e_4f88_a2db_7c2e9f9a3123">false</dei:AmendmentFlag>
    <dei:DocumentEffectiveDate
      contextRef="DefaultContext"
      id="h5_1ff56ba7_e886_44e6_bd60_7364a8c854c8">2023-03-17</dei:DocumentEffectiveDate>
    <dei:DocumentPeriodEndDate
      contextRef="DefaultContext"
      id="h8_75e5eb80_1d45_47ce_ad25_574d5148949f">2022-09-30</dei:DocumentPeriodEndDate>
    <dei:DocumentType
      contextRef="DefaultContext"
      id="h7_c588d1a9_8fe4_47e2_9f80_74de23d8e132">497</dei:DocumentType>
    <dei:EntityCentralIndexKey
      contextRef="DefaultContext"
      id="h1_bebf7ac4_c102_40c1_aa49_59cc9dbe6eeb">0001064641</dei:EntityCentralIndexKey>
    <dei:EntityRegistrantName
      contextRef="DefaultContext"
      id="h2_8a8172dd_ad55_456e_a4a7_a2fd31dae12f">SELECT SECTOR SPDR TRUST </dei:EntityRegistrantName>
    <dei:EntityInvCompanyType
      contextRef="DefaultContext"
      id="h_1_86a76dfe-327c-f9d3-9551-dd61e7b40b92">N-1A</dei:EntityInvCompanyType>
    <rr:SupplementToProspectusTextBlock
      contextRef="DefaultContext"
      id="t_1_6814a40e_61c5_6d65_ca5f_7eb562f51fae">  &lt;div style="margin-top: 0pt; margin-bottom: 0pt; font-size: 10pt; font-family: times new roman; font-weight: bold; text-align: center;"&gt;THE SELECT SECTOR SPDR&lt;sup style="font-size: 75%; vertical-align: top;"&gt;&#xae;&lt;/sup&gt; TRUST&lt;/div&gt;    &lt;div style="margin-top: 12pt; margin-bottom: 0pt; font-size: 10pt; font-family: times new roman; font-weight: bold; text-align: center;"&gt;The Industrial Select Sector SPDR Fund&lt;/div&gt;    &lt;div style="margin-top: 12pt; margin-bottom: 0pt; font-size: 10pt; font-family: times new roman; text-align: center;"&gt;Supplement dated March&#160;17, 2023 to the Prospectus and Summary Prospectus, each dated January&#160;31,&lt;/div&gt;    &lt;div style="margin-top: 0pt; margin-bottom: 0pt; font-size: 10pt; font-family: times new roman; text-align: center;"&gt;2023, as may be supplemented from time to time&lt;/div&gt;    &lt;div style="margin-top: 12pt; margin-bottom: 0pt; font-size: 10pt; font-family: times new roman; font-weight: bold;"&gt;&lt;span style="font-style: italic;"&gt;Effective after the close of business on March&#160;17, 2023, the third paragraph in &#x201c;The Fund&#x2019;s Principal Investment Strategy&#x201d; section beginning on page 50 of the Prospectus and beginning on page 1 of the Summary Prospectus is deleted and replaced with the paragraph below. These updates are in connection with changes to the Global Industry Classification Standard (GICS) structure, also effective after the close of business on March&#160;17, 2023. &lt;/span&gt;&lt;/div&gt;    &lt;div style="margin-top: 12pt; margin-bottom: 0pt; font-size: 10pt; font-family: times new roman;"&gt;The Index includes companies that have been identified as Industrial companies by the Global Industry Classification Standard (GICS&lt;sup style="font-size: 75%; vertical-align: top;"&gt;&#xae;&lt;/sup&gt;), including securities of companies from the following industries: aerospace and defense; industrial conglomerates; marine transportation; transportation infrastructure; machinery; ground transportation; air freight and logistics; commercial services and supplies; professional services; electrical equipment; construction and engineering; trading companies and distributors; passenger airlines; and building products. The Index is one of eleven Select Sector Indexes developed and maintained in accordance with the following criteria: (1)&#160;each of the component securities in the Index is a constituent of the S&amp;amp;P 500 Index; and (2)&#160;the Index is calculated by S&amp;amp;P Dow Jones Indices LLC (&#x201c;S&amp;amp;P DJI&#x201d;) based on a proprietary &#x201c;modified market capitalization&#x201d; methodology which means that modifications may be made to the market capitalization weights of single stock concentrations in order to conform to the requirements of the Internal Revenue Code of 1986, as amended (the &#x201c;Internal Revenue Code&#x201d; or &#x201c;IRC&#x201d;). As of March&#160;20, 2023, the Index is composed of 73 stocks.&lt;/div&gt;  </rr:SupplementToProspectusTextBlock>
    <rr:SupplementToProspectusTextBlock
      contextRef="S000006413Member"
      id="t_2_58c7f95d_fab5_aaf7_e12a_78a8914b8dc7"> &lt;div style="margin-top: 0pt; margin-bottom: 0pt; font-size: 10pt; font-family: times new roman; font-weight: bold; text-align: center;"&gt;THE SELECT SECTOR SPDR&lt;sup style="font-size: 75%; vertical-align: top;"&gt;&#xae;&lt;/sup&gt; TRUST&lt;/div&gt;  &lt;div style="margin-top: 12pt; margin-bottom: 0pt; font-size: 10pt; font-family: times new roman; font-weight: bold; text-align: center;"&gt;The Industrial Select Sector SPDR Fund&lt;/div&gt;  &lt;div style="margin-top: 12pt; margin-bottom: 0pt; font-size: 10pt; font-family: times new roman; text-align: center;"&gt;Supplement dated March&#160;17, 2023 to the Prospectus and Summary Prospectus, each dated January&#160;31,&lt;/div&gt;  &lt;div style="margin-top: 0pt; margin-bottom: 0pt; font-size: 10pt; font-family: times new roman; text-align: center;"&gt;2023, as may be supplemented from time to time&lt;/div&gt;  &lt;div style="margin-top: 12pt; margin-bottom: 0pt; font-size: 10pt; font-family: times new roman; font-weight: bold;"&gt;&lt;span style="font-style: italic;"&gt;Effective after the close of business on March&#160;17, 2023, the third paragraph in &#x201c;The Fund&#x2019;s Principal Investment Strategy&#x201d; section beginning on page 50 of the Prospectus and beginning on page 1 of the Summary Prospectus is deleted and replaced with the paragraph below. These updates are in connection with changes to the Global Industry Classification Standard (GICS) structure, also effective after the close of business on March&#160;17, 2023. &lt;/span&gt;&lt;/div&gt;  &lt;div style="margin-top: 12pt; margin-bottom: 0pt; font-size: 10pt; font-family: times new roman;"&gt;The Index includes companies that have been identified as Industrial companies by the Global Industry Classification Standard (GICS&lt;sup style="font-size: 75%; vertical-align: top;"&gt;&#xae;&lt;/sup&gt;), including securities of companies from the following industries: aerospace and defense; industrial conglomerates; marine transportation; transportation infrastructure; machinery; ground transportation; air freight and logistics; commercial services and supplies; professional services; electrical equipment; construction and engineering; trading companies and distributors; passenger airlines; and building products. The Index is one of eleven Select Sector Indexes developed and maintained in accordance with the following criteria: (1)&#160;each of the component securities in the Index is a constituent of the S&amp;amp;P 500 Index; and (2)&#160;the Index is calculated by S&amp;amp;P Dow Jones Indices LLC (&#x201c;S&amp;amp;P DJI&#x201d;) based on a proprietary &#x201c;modified market capitalization&#x201d; methodology which means that modifications may be made to the market capitalization weights of single stock concentrations in order to conform to the requirements of the Internal Revenue Code of 1986, as amended (the &#x201c;Internal Revenue Code&#x201d; or &#x201c;IRC&#x201d;). As of March&#160;20, 2023, the Index is composed of 73 stocks.&lt;/div&gt; </rr:SupplementToProspectusTextBlock>
    <dei:DocumentCreationDate
      contextRef="DefaultContext"
      id="t_3_abb8c3bf_7aff_39df_d401_34dc98d67327">2023-03-17</dei:DocumentCreationDate>
    <rr:ProspectusDate
      contextRef="DefaultContext"
      id="t_4_880ae852_b973_9468_7bdc_ae0f9716d350">2023-01-31</rr:ProspectusDate>
</xbrl>
