<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.20.1</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>298</ContextCount>
  <ElementCount>366</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>74</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>4</UnitCount>
  <MyReports>
    <Report instance="stx-20200403.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>0001001 - Document - Cover page</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.seagate.com/role/Coverpage</Role>
      <ShortName>Cover page</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="stx-20200403.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>1001002 - Statement - CONDENSED CONSOLIDATED BALANCE SHEETS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.seagate.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETS</Role>
      <ShortName>CONDENSED CONSOLIDATED BALANCE SHEETS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="stx-20200403.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>1002003 - Statement - CONDENSED CONSOLIDATED STATEMENTS OF OPERATIONS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.seagate.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONS</Role>
      <ShortName>CONDENSED CONSOLIDATED STATEMENTS OF OPERATIONS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="stx-20200403.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>1003004 - Statement - CONDENSED CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.seagate.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOME</Role>
      <ShortName>CONDENSED CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="stx-20200403.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>1004005 - Statement - CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.seagate.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS</Role>
      <ShortName>CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="stx-20200403.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>1005006 - Statement - CONDENSED CONSOLIDATED STATEMENT OF SHAREHOLDERS' EQUITY</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.seagate.com/role/CONDENSEDCONSOLIDATEDSTATEMENTOFSHAREHOLDERSEQUITY</Role>
      <ShortName>CONDENSED CONSOLIDATED STATEMENT OF SHAREHOLDERS' EQUITY</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="stx-20200403.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>2101101 - Disclosure - Basis of Presentation and Summary of Significant Accounting Policies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.seagate.com/role/BasisofPresentationandSummaryofSignificantAccountingPolicies</Role>
      <ShortName>Basis of Presentation and Summary of Significant Accounting Policies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="stx-20200403.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>2105102 - Disclosure - Balance Sheet Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.seagate.com/role/BalanceSheetInformation</Role>
      <ShortName>Balance Sheet Information</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="stx-20200403.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>2116103 - Disclosure - Debt</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.seagate.com/role/Debt</Role>
      <ShortName>Debt</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="stx-20200403.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>2120104 - Disclosure - Income Taxes</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.seagate.com/role/IncomeTaxes</Role>
      <ShortName>Income Taxes</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="stx-20200403.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>2122105 - Disclosure - Leases</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.seagate.com/role/Leases</Role>
      <ShortName>Leases</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="stx-20200403.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>2128106 - Disclosure - Restructuring and Exit Costs</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.seagate.com/role/RestructuringandExitCosts</Role>
      <ShortName>Restructuring and Exit Costs</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="stx-20200403.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>2131107 - Disclosure - Derivative Financial Instruments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.seagate.com/role/DerivativeFinancialInstruments</Role>
      <ShortName>Derivative Financial Instruments</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="stx-20200403.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>2137108 - Disclosure - Fair Value</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.seagate.com/role/FairValue</Role>
      <ShortName>Fair Value</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="stx-20200403.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>2144109 - Disclosure - Equity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.seagate.com/role/Equity</Role>
      <ShortName>Equity</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="stx-20200403.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>2148110 - Disclosure - Revenue</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.seagate.com/role/Revenue</Role>
      <ShortName>Revenue</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="stx-20200403.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>2151111 - Disclosure - Guarantees</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.seagate.com/role/Guarantees</Role>
      <ShortName>Guarantees</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="stx-20200403.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>2155112 - Disclosure - Earnings Per Share</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.seagate.com/role/EarningsPerShare</Role>
      <ShortName>Earnings Per Share</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="stx-20200403.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>2158113 - Disclosure - Legal, Environmental and Other Contingencies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.seagate.com/role/LegalEnvironmentalandOtherContingencies</Role>
      <ShortName>Legal, Environmental and Other Contingencies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="stx-20200403.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>2159114 - Disclosure - Subsequent event</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.seagate.com/role/Subsequentevent</Role>
      <ShortName>Subsequent event</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="stx-20200403.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>2202201 - Disclosure - Basis of Presentation and Summary of Significant Accounting Policies (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.seagate.com/role/BasisofPresentationandSummaryofSignificantAccountingPoliciesPolicies</Role>
      <ShortName>Basis of Presentation and Summary of Significant Accounting Policies (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://www.seagate.com/role/BasisofPresentationandSummaryofSignificantAccountingPolicies</ParentRole>
      <Position>21</Position>
    </Report>
    <Report instance="stx-20200403.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>2223202 - Disclosure - Leases Leases (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.seagate.com/role/LeasesLeasesPolicies</Role>
      <ShortName>Leases Leases (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://www.seagate.com/role/BasisofPresentationandSummaryofSignificantAccountingPolicies</ParentRole>
      <Position>22</Position>
    </Report>
    <Report instance="stx-20200403.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>2243203 - Disclosure - Fair Value Measures and Disclosures (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.seagate.com/role/FairValueMeasuresandDisclosuresPolicies</Role>
      <ShortName>Fair Value Measures and Disclosures (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://www.seagate.com/role/BasisofPresentationandSummaryofSignificantAccountingPolicies</ParentRole>
      <Position>23</Position>
    </Report>
    <Report instance="stx-20200403.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>2306301 - Disclosure - Balance Sheet Information (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.seagate.com/role/BalanceSheetInformationTables</Role>
      <ShortName>Balance Sheet Information (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.seagate.com/role/BalanceSheetInformation</ParentRole>
      <Position>24</Position>
    </Report>
    <Report instance="stx-20200403.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>2317302 - Disclosure - Debt (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.seagate.com/role/DebtTables</Role>
      <ShortName>Debt (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.seagate.com/role/Debt</ParentRole>
      <Position>25</Position>
    </Report>
    <Report instance="stx-20200403.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>2324303 - Disclosure - Leases (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.seagate.com/role/LeasesTables</Role>
      <ShortName>Leases (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.seagate.com/role/Leases</ParentRole>
      <Position>26</Position>
    </Report>
    <Report instance="stx-20200403.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>2329304 - Disclosure - Restructuring and Exit Costs Restructuring and Exit Costs (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.seagate.com/role/RestructuringandExitCostsRestructuringandExitCostsTables</Role>
      <ShortName>Restructuring and Exit Costs Restructuring and Exit Costs (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <Position>27</Position>
    </Report>
    <Report instance="stx-20200403.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>2332305 - Disclosure - Derivative Financial Instruments (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.seagate.com/role/DerivativeFinancialInstrumentsTables</Role>
      <ShortName>Derivative Financial Instruments (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.seagate.com/role/DerivativeFinancialInstruments</ParentRole>
      <Position>28</Position>
    </Report>
    <Report instance="stx-20200403.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>2338306 - Disclosure - Fair Value (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.seagate.com/role/FairValueTables</Role>
      <ShortName>Fair Value (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.seagate.com/role/FairValue</ParentRole>
      <Position>29</Position>
    </Report>
    <Report instance="stx-20200403.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>2345307 - Disclosure - Equity (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.seagate.com/role/EquityTables</Role>
      <ShortName>Equity (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.seagate.com/role/Equity</ParentRole>
      <Position>30</Position>
    </Report>
    <Report instance="stx-20200403.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>2349308 - Disclosure - Revenue (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.seagate.com/role/RevenueTables</Role>
      <ShortName>Revenue (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.seagate.com/role/Revenue</ParentRole>
      <Position>31</Position>
    </Report>
    <Report instance="stx-20200403.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>2352309 - Disclosure - Guarantees (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.seagate.com/role/GuaranteesTables</Role>
      <ShortName>Guarantees (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.seagate.com/role/Guarantees</ParentRole>
      <Position>32</Position>
    </Report>
    <Report instance="stx-20200403.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>2356310 - Disclosure - Earnings Per Share (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.seagate.com/role/EarningsPerShareTables</Role>
      <ShortName>Earnings Per Share (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.seagate.com/role/EarningsPerShare</ParentRole>
      <Position>33</Position>
    </Report>
    <Report instance="stx-20200403.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>2403401 - Disclosure - Basis of Presentation and Summary of Significant Accounting Policies (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.seagate.com/role/BasisofPresentationandSummaryofSignificantAccountingPoliciesNarrativeDetails</Role>
      <ShortName>Basis of Presentation and Summary of Significant Accounting Policies (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.seagate.com/role/BasisofPresentationandSummaryofSignificantAccountingPoliciesPolicies</ParentRole>
      <Position>34</Position>
    </Report>
    <Report instance="stx-20200403.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>2404402 - Disclosure - Basis of Presentation and Summary of Significant Accounting Policies Cumulative effect of the change to the Condensed Consolidated Balance Sheet from the adoption of ASC 606 (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.seagate.com/role/BasisofPresentationandSummaryofSignificantAccountingPoliciesCumulativeeffectofthechangetotheCondensedConsolidatedBalanceSheetfromtheadoptionofASC606Details</Role>
      <ShortName>Basis of Presentation and Summary of Significant Accounting Policies Cumulative effect of the change to the Condensed Consolidated Balance Sheet from the adoption of ASC 606 (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>35</Position>
    </Report>
    <Report instance="stx-20200403.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>2407403 - Disclosure - Balance Sheet Information (Summary of fair value and amortized cost of investments, by major type) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.seagate.com/role/BalanceSheetInformationSummaryoffairvalueandamortizedcostofinvestmentsbymajortypeDetails</Role>
      <ShortName>Balance Sheet Information (Summary of fair value and amortized cost of investments, by major type) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.seagate.com/role/BalanceSheetInformationTables</ParentRole>
      <Position>36</Position>
    </Report>
    <Report instance="stx-20200403.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>2408404 - Disclosure - Balance Sheet Information Balance Sheet Information (Available-for-Sale Debt Securities) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.seagate.com/role/BalanceSheetInformationBalanceSheetInformationAvailableforSaleDebtSecuritiesDetails</Role>
      <ShortName>Balance Sheet Information Balance Sheet Information (Available-for-Sale Debt Securities) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>37</Position>
    </Report>
    <Report instance="stx-20200403.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>2409405 - Disclosure - Balance Sheet Information (Fair value and amortized cost of available-for-sale securities by contractual maturity) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.seagate.com/role/BalanceSheetInformationFairvalueandamortizedcostofavailableforsalesecuritiesbycontractualmaturityDetails</Role>
      <ShortName>Balance Sheet Information (Fair value and amortized cost of available-for-sale securities by contractual maturity) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.seagate.com/role/BalanceSheetInformationTables</ParentRole>
      <Position>38</Position>
    </Report>
    <Report instance="stx-20200403.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>2410406 - Disclosure - Balance Sheet Information (Cash, Cash Equivalents, and Restricted Cash) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.seagate.com/role/BalanceSheetInformationCashCashEquivalentsandRestrictedCashDetails</Role>
      <ShortName>Balance Sheet Information (Cash, Cash Equivalents, and Restricted Cash) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.seagate.com/role/BalanceSheetInformationTables</ParentRole>
      <Position>39</Position>
    </Report>
    <Report instance="stx-20200403.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>2411407 - Disclosure - Balance Sheet Information Balance Sheet Information (Accounts Receivable, net) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.seagate.com/role/BalanceSheetInformationBalanceSheetInformationAccountsReceivablenetDetails</Role>
      <ShortName>Balance Sheet Information Balance Sheet Information (Accounts Receivable, net) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>40</Position>
    </Report>
    <Report instance="stx-20200403.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>2412408 - Disclosure - Balance Sheet Information (Inventories) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.seagate.com/role/BalanceSheetInformationInventoriesDetails</Role>
      <ShortName>Balance Sheet Information (Inventories) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.seagate.com/role/BalanceSheetInformationTables</ParentRole>
      <Position>41</Position>
    </Report>
    <Report instance="stx-20200403.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>2413409 - Disclosure - Balance Sheet Information (Property, Equipment and Leasehold Improvements, net) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.seagate.com/role/BalanceSheetInformationPropertyEquipmentandLeaseholdImprovementsnetDetails</Role>
      <ShortName>Balance Sheet Information (Property, Equipment and Leasehold Improvements, net) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.seagate.com/role/BalanceSheetInformationTables</ParentRole>
      <Position>42</Position>
    </Report>
    <Report instance="stx-20200403.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>2414410 - Disclosure - Balance Sheet Information (Accrued expenses) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.seagate.com/role/BalanceSheetInformationAccruedexpensesDetails</Role>
      <ShortName>Balance Sheet Information (Accrued expenses) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.seagate.com/role/BalanceSheetInformationTables</ParentRole>
      <Position>43</Position>
    </Report>
    <Report instance="stx-20200403.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>2415411 - Disclosure - Balance Sheet Information (AOCI) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.seagate.com/role/BalanceSheetInformationAOCIDetails</Role>
      <ShortName>Balance Sheet Information (AOCI) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.seagate.com/role/BalanceSheetInformationTables</ParentRole>
      <Position>44</Position>
    </Report>
    <Report instance="stx-20200403.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>2418412 - Disclosure - Debt (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.seagate.com/role/DebtNarrativeDetails</Role>
      <ShortName>Debt (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.seagate.com/role/DebtTables</ParentRole>
      <Position>45</Position>
    </Report>
    <Report instance="stx-20200403.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>2419413 - Disclosure - Debt (Future principal payments on long-term debt) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.seagate.com/role/DebtFutureprincipalpaymentsonlongtermdebtDetails</Role>
      <ShortName>Debt (Future principal payments on long-term debt) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.seagate.com/role/DebtTables</ParentRole>
      <Position>46</Position>
    </Report>
    <Report instance="stx-20200403.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>2421414 - Disclosure - Income Taxes (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.seagate.com/role/IncomeTaxesNarrativeDetails</Role>
      <ShortName>Income Taxes (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.seagate.com/role/IncomeTaxes</ParentRole>
      <Position>47</Position>
    </Report>
    <Report instance="stx-20200403.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>2425415 - Disclosure - Leases - Operating Lease Costs (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.seagate.com/role/LeasesOperatingLeaseCostsDetails</Role>
      <ShortName>Leases - Operating Lease Costs (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>48</Position>
    </Report>
    <Report instance="stx-20200403.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>2426416 - Disclosure - Leases - Supplemental Balance Sheet Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.seagate.com/role/LeasesSupplementalBalanceSheetInformationDetails</Role>
      <ShortName>Leases - Supplemental Balance Sheet Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>49</Position>
    </Report>
    <Report instance="stx-20200403.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>2427417 - Disclosure - Leases - Lease Maturity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.seagate.com/role/LeasesLeaseMaturityDetails</Role>
      <ShortName>Leases - Lease Maturity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>50</Position>
    </Report>
    <Report instance="stx-20200403.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>2430418 - Disclosure - Restructuring and Exit Costs (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.seagate.com/role/RestructuringandExitCostsDetails</Role>
      <ShortName>Restructuring and Exit Costs (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.seagate.com/role/RestructuringandExitCostsRestructuringandExitCostsTables</ParentRole>
      <Position>51</Position>
    </Report>
    <Report instance="stx-20200403.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>2433419 - Disclosure - Derivative Financial Instruments Derivative Financial Instruments (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.seagate.com/role/DerivativeFinancialInstrumentsDerivativeFinancialInstrumentsNarrativeDetails</Role>
      <ShortName>Derivative Financial Instruments Derivative Financial Instruments (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>52</Position>
    </Report>
    <Report instance="stx-20200403.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>2434420 - Disclosure - Derivative Financial Instruments (Schedule of the effect of derivative instruments on Other comprehensive income (loss) and the Consolidated Statement of Operations) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.seagate.com/role/DerivativeFinancialInstrumentsScheduleoftheeffectofderivativeinstrumentsonOthercomprehensiveincomelossandtheConsolidatedStatementofOperationsDetails</Role>
      <ShortName>Derivative Financial Instruments (Schedule of the effect of derivative instruments on Other comprehensive income (loss) and the Consolidated Statement of Operations) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.seagate.com/role/DerivativeFinancialInstrumentsTables</ParentRole>
      <Position>53</Position>
    </Report>
    <Report instance="stx-20200403.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>2435421 - Disclosure - Derivative Financial Instruments Derivative Financial Instruments (Schedule of notional value of outstanding foreign currency forward exchange contracts) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.seagate.com/role/DerivativeFinancialInstrumentsDerivativeFinancialInstrumentsScheduleofnotionalvalueofoutstandingforeigncurrencyforwardexchangecontractsDetails</Role>
      <ShortName>Derivative Financial Instruments Derivative Financial Instruments (Schedule of notional value of outstanding foreign currency forward exchange contracts) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>54</Position>
    </Report>
    <Report instance="stx-20200403.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>2436422 - Disclosure - Derivative Financial Instruments Derivative Financial Instruments (Schedule of gross fair value of derivative instruments) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.seagate.com/role/DerivativeFinancialInstrumentsDerivativeFinancialInstrumentsScheduleofgrossfairvalueofderivativeinstrumentsDetails</Role>
      <ShortName>Derivative Financial Instruments Derivative Financial Instruments (Schedule of gross fair value of derivative instruments) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>55</Position>
    </Report>
    <Report instance="stx-20200403.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>2439423 - Disclosure - Fair Value (Schedule of Fair Value, Assets and Liabilities Measured on Recurring Basis) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.seagate.com/role/FairValueScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisDetails</Role>
      <ShortName>Fair Value (Schedule of Fair Value, Assets and Liabilities Measured on Recurring Basis) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.seagate.com/role/FairValueTables</ParentRole>
      <Position>56</Position>
    </Report>
    <Report instance="stx-20200403.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>2440424 - Disclosure - Fair Value (Schedule of Fair Value, by Balance Sheet Grouping, Measured on Recurring Basis) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.seagate.com/role/FairValueScheduleofFairValuebyBalanceSheetGroupingMeasuredonRecurringBasisDetails</Role>
      <ShortName>Fair Value (Schedule of Fair Value, by Balance Sheet Grouping, Measured on Recurring Basis) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.seagate.com/role/FairValueTables</ParentRole>
      <Position>57</Position>
    </Report>
    <Report instance="stx-20200403.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>2441425 - Disclosure - Fair Value (Schedule of Carrying Values and Estimated Fair Values of Debt Instruments) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.seagate.com/role/FairValueScheduleofCarryingValuesandEstimatedFairValuesofDebtInstrumentsDetails</Role>
      <ShortName>Fair Value (Schedule of Carrying Values and Estimated Fair Values of Debt Instruments) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.seagate.com/role/FairValueTables</ParentRole>
      <Position>58</Position>
    </Report>
    <Report instance="stx-20200403.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>2442426 - Disclosure - Fair Value (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.seagate.com/role/FairValueNarrativeDetails</Role>
      <ShortName>Fair Value (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.seagate.com/role/FairValueTables</ParentRole>
      <Position>59</Position>
    </Report>
    <Report instance="stx-20200403.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>2446427 - Disclosure - Equity (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.seagate.com/role/EquityNarrativeDetails</Role>
      <ShortName>Equity (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.seagate.com/role/EquityTables</ParentRole>
      <Position>60</Position>
    </Report>
    <Report instance="stx-20200403.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>2447428 - Disclosure - Equity (Schedule of Share Repurchases) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.seagate.com/role/EquityScheduleofShareRepurchasesDetails</Role>
      <ShortName>Equity (Schedule of Share Repurchases) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.seagate.com/role/EquityTables</ParentRole>
      <Position>61</Position>
    </Report>
    <Report instance="stx-20200403.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>2450429 - Disclosure - Revenue (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.seagate.com/role/RevenueDetails</Role>
      <ShortName>Revenue (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.seagate.com/role/RevenueTables</ParentRole>
      <Position>62</Position>
    </Report>
    <Report instance="stx-20200403.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>2453430 - Disclosure - Guarantees Guarantees (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.seagate.com/role/GuaranteesGuaranteesNarrativeDetails</Role>
      <ShortName>Guarantees Guarantees (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>63</Position>
    </Report>
    <Report instance="stx-20200403.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>2454431 - Disclosure - Guarantees (Product Warranty) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.seagate.com/role/GuaranteesProductWarrantyDetails</Role>
      <ShortName>Guarantees (Product Warranty) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.seagate.com/role/GuaranteesTables</ParentRole>
      <Position>64</Position>
    </Report>
    <Report instance="stx-20200403.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R65.htm</HtmlFileName>
      <LongName>2457432 - Disclosure - Earnings Per Share (Schedule of computation of basic and diluted net income (loss) per share) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.seagate.com/role/EarningsPerShareScheduleofcomputationofbasicanddilutednetincomelosspershareDetails</Role>
      <ShortName>Earnings Per Share (Schedule of computation of basic and diluted net income (loss) per share) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.seagate.com/role/EarningsPerShareTables</ParentRole>
      <Position>65</Position>
    </Report>
    <Report instance="stx-20200403.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R66.htm</HtmlFileName>
      <LongName>2460433 - Disclosure - Subsequent event (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.seagate.com/role/SubsequenteventDetails</Role>
      <ShortName>Subsequent event (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.seagate.com/role/Subsequentevent</ParentRole>
      <Position>66</Position>
    </Report>
    <Report instance="stx-20200403.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9999.htm</HtmlFileName>
      <LongName>Uncategorized Items - stx-20200403.htm</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/role/uncategorizedFacts</Role>
      <ShortName>Uncategorized Items - stx-20200403.htm</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>67</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <InputFiles>
    <File doctype="10-Q" original="stx-20200403.htm">stx-20200403.htm</File>
    <File>stx-20200403.xsd</File>
    <File>stx-20200403_cal.xml</File>
    <File>stx-20200403_def.xml</File>
    <File>stx-20200403_lab.xml</File>
    <File>stx-20200403_pre.xml</File>
    <File>stx-ex31120200403nextg.htm</File>
    <File>stx-ex31220200403nextg.htm</File>
    <File>stx-ex32120200403nextg.htm</File>
  </InputFiles>
  <SupplementalFiles/>
  <BaseTaxonomies>
    <BaseTaxonomy>http://xbrl.sec.gov/dei/2019-01-31</BaseTaxonomy>
    <BaseTaxonomy>http://fasb.org/srt/2018-01-31</BaseTaxonomy>
    <BaseTaxonomy>http://fasb.org/us-gaap/2018-01-31</BaseTaxonomy>
    <BaseTaxonomy>http://xbrl.sec.gov/country/2017-01-31</BaseTaxonomy>
    <BaseTaxonomy>http://xbrl.sec.gov/currency/2017-01-31</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
