<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.19.3.a.u2</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>556</ContextCount>
  <ElementCount>565</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>true</FootnotesReported>
  <SegmentCount>142</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>12</UnitCount>
  <MyReports>
    <Report instance="klac10q123119.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>0001000 - Document - Cover Page</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.kla-tencor.com/role/CoverPage</Role>
      <ShortName>Cover Page</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="klac10q123119.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>1001000 - Statement - Condensed Consolidated Balance Sheets (Unaudited)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.kla-tencor.com/role/CondensedConsolidatedBalanceSheetsUnaudited</Role>
      <ShortName>Condensed Consolidated Balance Sheets (Unaudited)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="klac10q123119.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>1002000 - Statement - Condensed Consolidated Statements of Operations (Unaudited)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.kla-tencor.com/role/CondensedConsolidatedStatementsOfOperationsUnaudited</Role>
      <ShortName>Condensed Consolidated Statements of Operations (Unaudited)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="klac10q123119.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>1003000 - Statement - Condensed Consolidated Statements of Comprehensive Income (Unaudited)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.kla-tencor.com/role/CondensedConsolidatedStatementsOfComprehensiveIncomeUnaudited</Role>
      <ShortName>Condensed Consolidated Statements of Comprehensive Income (Unaudited)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="klac10q123119.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>1004000 - Statement - Condensed Consolidated Statements of Stockholders' Equity (Unaudited)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.kla-tencor.com/role/CondensedConsolidatedStatementsOfStockholdersEquityUnaudited</Role>
      <ShortName>Condensed Consolidated Statements of Stockholders' Equity (Unaudited)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="klac10q123119.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>1004001 - Statement - Condensed Consolidated Statements of Stockholders' Equity (Unaudited) (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.kla-tencor.com/role/CondensedConsolidatedStatementsOfStockholdersEquityUnauditedParenthetical</Role>
      <ShortName>Condensed Consolidated Statements of Stockholders' Equity (Unaudited) (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="klac10q123119.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>1005000 - Statement - Condensed Consolidated Statements of Cash Flows (Unaudited)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.kla-tencor.com/role/CondensedConsolidatedStatementsOfCashFlowsUnaudited</Role>
      <ShortName>Condensed Consolidated Statements of Cash Flows (Unaudited)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="klac10q123119.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>2101100 - Disclosure - Basis of Presentation</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.kla-tencor.com/role/BasisOfPresentation</Role>
      <ShortName>Basis of Presentation</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="klac10q123119.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>2102100 - Disclosure - Revenue</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.kla-tencor.com/role/Revenue</Role>
      <ShortName>Revenue</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="klac10q123119.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>2103100 - Disclosure - Fair Value Measurements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.kla-tencor.com/role/FairValueMeasurements</Role>
      <ShortName>Fair Value Measurements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="klac10q123119.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>2106100 - Disclosure - Financial Statement Components</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.kla-tencor.com/role/FinancialStatementComponents</Role>
      <ShortName>Financial Statement Components</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="klac10q123119.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>2116100 - Disclosure - Marketable Securities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.kla-tencor.com/role/MarketableSecurities</Role>
      <ShortName>Marketable Securities</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="klac10q123119.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>2118100 - Disclosure - Business Combinations</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.kla-tencor.com/role/BusinessCombinations</Role>
      <ShortName>Business Combinations</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="klac10q123119.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>2120100 - Disclosure - Goodwill and Purchased Intangible Assets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.kla-tencor.com/role/GoodwillAndPurchasedIntangibleAssets</Role>
      <ShortName>Goodwill and Purchased Intangible Assets</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="klac10q123119.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>212100 - Disclosure - Debt</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.kla-tencor.com/role/Debt</Role>
      <ShortName>Debt</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="klac10q123119.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>2124100 - Disclosure - Leases</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.kla-tencor.com/role/Leases</Role>
      <ShortName>Leases</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="klac10q123119.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>2125100 - Disclosure - Equity, Long-Term Incentive Compensation Plans and Non-controlling Interest</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.kla-tencor.com/role/EquityLongTermIncentiveCompensationPlansAndNonControllingInterest</Role>
      <ShortName>Equity, Long-Term Incentive Compensation Plans and Non-controlling Interest</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="klac10q123119.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>2131100 - Disclosure - Stock Repurchase Program</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.kla-tencor.com/role/StockRepurchaseProgram</Role>
      <ShortName>Stock Repurchase Program</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="klac10q123119.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>2134100 - Disclosure - Net Income Per Share</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.kla-tencor.com/role/NetIncomePerShare</Role>
      <ShortName>Net Income Per Share</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="klac10q123119.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>2137100 - Disclosure - Income Taxes</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.kla-tencor.com/role/IncomeTaxes</Role>
      <ShortName>Income Taxes</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="klac10q123119.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>2143100 - Disclosure - Litigation and Other Legal Matters</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.kla-tencor.com/role/LitigationAndOtherLegalMatters</Role>
      <ShortName>Litigation and Other Legal Matters</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="klac10q123119.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>2152100 - Disclosure - Commitments and Contingencies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.kla-tencor.com/role/CommitmentsAndContingencies</Role>
      <ShortName>Commitments and Contingencies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="klac10q123119.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>2153100 - Disclosure - Derivative Instruments and Hedging Activities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.kla-tencor.com/role/DerivativeInstrumentsAndHedgingActivities</Role>
      <ShortName>Derivative Instruments and Hedging Activities</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>23</Position>
    </Report>
    <Report instance="klac10q123119.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>2154100 - Disclosure - Related Party Transactions</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.kla-tencor.com/role/RelatedPartyTransactions</Role>
      <ShortName>Related Party Transactions</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>24</Position>
    </Report>
    <Report instance="klac10q123119.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>2156100 - Disclosure - Segment Reporting and Geographic Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.kla-tencor.com/role/SegmentReportingAndGeographicInformation</Role>
      <ShortName>Segment Reporting and Geographic Information</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>25</Position>
    </Report>
    <Report instance="klac10q123119.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>2157100 - Disclosure - Restructuring Charges</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.kla-tencor.com/role/RestructuringCharges</Role>
      <ShortName>Restructuring Charges</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>26</Position>
    </Report>
    <Report instance="klac10q123119.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>2201201 - Disclosure - Basis of Presentation (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.kla-tencor.com/role/BasisOfPresentationPolicies</Role>
      <ShortName>Basis of Presentation (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <Position>27</Position>
    </Report>
    <Report instance="klac10q123119.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>2302301 - Disclosure - Revenue (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.kla-tencor.com/role/RevenueTables</Role>
      <ShortName>Revenue (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.kla-tencor.com/role/Revenue</ParentRole>
      <Position>28</Position>
    </Report>
    <Report instance="klac10q123119.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>2303301 - Disclosure - Fair Value Measurements (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.kla-tencor.com/role/FairValueMeasurementsTables</Role>
      <ShortName>Fair Value Measurements (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.kla-tencor.com/role/FairValueMeasurements</ParentRole>
      <Position>29</Position>
    </Report>
    <Report instance="klac10q123119.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>2306301 - Disclosure - Financial Statement Components (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.kla-tencor.com/role/FinancialStatementComponentsTables</Role>
      <ShortName>Financial Statement Components (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.kla-tencor.com/role/FinancialStatementComponents</ParentRole>
      <Position>30</Position>
    </Report>
    <Report instance="klac10q123119.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>2316301 - Disclosure - Marketable Securities (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.kla-tencor.com/role/MarketableSecuritiesTables</Role>
      <ShortName>Marketable Securities (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.kla-tencor.com/role/MarketableSecurities</ParentRole>
      <Position>31</Position>
    </Report>
    <Report instance="klac10q123119.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>2318301 - Disclosure - Business Combinations (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.kla-tencor.com/role/BusinessCombinationsTables</Role>
      <ShortName>Business Combinations (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.kla-tencor.com/role/BusinessCombinations</ParentRole>
      <Position>32</Position>
    </Report>
    <Report instance="klac10q123119.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>2320301 - Disclosure - Goodwill and Purchased Intangible Assets (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.kla-tencor.com/role/GoodwillAndPurchasedIntangibleAssetsTables</Role>
      <ShortName>Goodwill and Purchased Intangible Assets (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.kla-tencor.com/role/GoodwillAndPurchasedIntangibleAssets</ParentRole>
      <Position>33</Position>
    </Report>
    <Report instance="klac10q123119.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>232301 - Disclosure - Debt (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.kla-tencor.com/role/DebtTables</Role>
      <ShortName>Debt (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.kla-tencor.com/role/Debt</ParentRole>
      <Position>34</Position>
    </Report>
    <Report instance="klac10q123119.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>2324301 - Disclosure - Leases (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.kla-tencor.com/role/LeasesTables</Role>
      <ShortName>Leases (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.kla-tencor.com/role/Leases</ParentRole>
      <Position>35</Position>
    </Report>
    <Report instance="klac10q123119.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>2325301 - Disclosure - Equity, Long-Term Incentive Compensation Plans and Non-controlling Interest (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.kla-tencor.com/role/EquityLongTermIncentiveCompensationPlansAndNonControllingInterestTables</Role>
      <ShortName>Equity, Long-Term Incentive Compensation Plans and Non-controlling Interest (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.kla-tencor.com/role/EquityLongTermIncentiveCompensationPlansAndNonControllingInterest</ParentRole>
      <Position>36</Position>
    </Report>
    <Report instance="klac10q123119.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>2331301 - Disclosure - Stock Repurchase Program (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.kla-tencor.com/role/StockRepurchaseProgramTables</Role>
      <ShortName>Stock Repurchase Program (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.kla-tencor.com/role/StockRepurchaseProgram</ParentRole>
      <Position>37</Position>
    </Report>
    <Report instance="klac10q123119.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>2334301 - Disclosure - Net Income Per Share (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.kla-tencor.com/role/NetIncomePerShareTables</Role>
      <ShortName>Net Income Per Share (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.kla-tencor.com/role/NetIncomePerShare</ParentRole>
      <Position>38</Position>
    </Report>
    <Report instance="klac10q123119.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>2337301 - Disclosure - Income Taxes (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.kla-tencor.com/role/IncomeTaxesTables</Role>
      <ShortName>Income Taxes (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.kla-tencor.com/role/IncomeTaxes</ParentRole>
      <Position>39</Position>
    </Report>
    <Report instance="klac10q123119.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>2352301 - Disclosure - Commitments and Contingencies (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.kla-tencor.com/role/CommitmentsAndContingenciesTables</Role>
      <ShortName>Commitments and Contingencies (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.kla-tencor.com/role/CommitmentsAndContingencies</ParentRole>
      <Position>40</Position>
    </Report>
    <Report instance="klac10q123119.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>2353301 - Disclosure - Derivative Instruments and Hedging Activities (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.kla-tencor.com/role/DerivativeInstrumentsAndHedgingActivitiesTables</Role>
      <ShortName>Derivative Instruments and Hedging Activities (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.kla-tencor.com/role/DerivativeInstrumentsAndHedgingActivities</ParentRole>
      <Position>41</Position>
    </Report>
    <Report instance="klac10q123119.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>2354301 - Disclosure - Related Party Transactions (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.kla-tencor.com/role/RelatedPartyTransactionsTables</Role>
      <ShortName>Related Party Transactions (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.kla-tencor.com/role/RelatedPartyTransactions</ParentRole>
      <Position>42</Position>
    </Report>
    <Report instance="klac10q123119.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>2356301 - Disclosure - Segment Reporting and Geographic Information (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.kla-tencor.com/role/SegmentReportingAndGeographicInformationTables</Role>
      <ShortName>Segment Reporting and Geographic Information (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.kla-tencor.com/role/SegmentReportingAndGeographicInformation</ParentRole>
      <Position>43</Position>
    </Report>
    <Report instance="klac10q123119.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>2401402 - Disclosure - Basis of Presentation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.kla-tencor.com/role/BasisOfPresentationDetails</Role>
      <ShortName>Basis of Presentation (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.kla-tencor.com/role/BasisOfPresentationPolicies</ParentRole>
      <Position>44</Position>
    </Report>
    <Report instance="klac10q123119.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>2402402 - Disclosure - Revenue  - Schedule of Contract Balances (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.kla-tencor.com/role/RevenueScheduleOfContractBalancesDetails</Role>
      <ShortName>Revenue  - Schedule of Contract Balances (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>45</Position>
    </Report>
    <Report instance="klac10q123119.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>2402403 - Disclosure - Revenue  - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.kla-tencor.com/role/RevenueNarrativeDetails</Role>
      <ShortName>Revenue  - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>46</Position>
    </Report>
    <Report instance="klac10q123119.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>2402404 - Disclosure - Revenue  - Remaining Performance Obligations (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.kla-tencor.com/role/RevenueRemainingPerformanceObligationsDetails</Role>
      <ShortName>Revenue  - Remaining Performance Obligations (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>47</Position>
    </Report>
    <Report instance="klac10q123119.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>2403402 - Disclosure - Fair Value Measurements (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.kla-tencor.com/role/FairValueMeasurementsDetails</Role>
      <ShortName>Fair Value Measurements (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.kla-tencor.com/role/FairValueMeasurementsTables</ParentRole>
      <Position>48</Position>
    </Report>
    <Report instance="klac10q123119.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>2406402 - Disclosure - Financial Statement Components  - Balance Sheet Components (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.kla-tencor.com/role/FinancialStatementComponentsBalanceSheetComponentsDetails</Role>
      <ShortName>Financial Statement Components  - Balance Sheet Components (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>49</Position>
    </Report>
    <Report instance="klac10q123119.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>2406403 - Disclosure - Financial Statement Components  - Accumulated Other Comprehensive Income (Loss) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.kla-tencor.com/role/FinancialStatementComponentsAccumulatedOtherComprehensiveIncomeLossDetails</Role>
      <ShortName>Financial Statement Components  - Accumulated Other Comprehensive Income (Loss) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>50</Position>
    </Report>
    <Report instance="klac10q123119.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>2406404 - Disclosure - Financial Statement Components  - Effects on net income (loss) of amounts reclassified from AOCI (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.kla-tencor.com/role/FinancialStatementComponentsEffectsOnNetIncomeLossOfAmountsReclassifiedFromAociDetails</Role>
      <ShortName>Financial Statement Components  - Effects on net income (loss) of amounts reclassified from AOCI (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>51</Position>
    </Report>
    <Report instance="klac10q123119.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>2416402 - Disclosure - Marketable Securities  - Amortized Cost and Fair Value (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.kla-tencor.com/role/MarketableSecuritiesAmortizedCostAndFairValueDetails</Role>
      <ShortName>Marketable Securities  - Amortized Cost and Fair Value (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>52</Position>
    </Report>
    <Report instance="klac10q123119.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>2416403 - Disclosure - Marketable Securities  - Continuous Unrealized Loss Position (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.kla-tencor.com/role/MarketableSecuritiesContinuousUnrealizedLossPositionDetails</Role>
      <ShortName>Marketable Securities  - Continuous Unrealized Loss Position (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>53</Position>
    </Report>
    <Report instance="klac10q123119.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>2416404 - Disclosure - Marketable Securities  - Contractual Maturities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.kla-tencor.com/role/MarketableSecuritiesContractualMaturitiesDetails</Role>
      <ShortName>Marketable Securities  - Contractual Maturities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>54</Position>
    </Report>
    <Report instance="klac10q123119.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>2418402 - Disclosure - Business Combinations  - Fiscal 2020 Acquisitions Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.kla-tencor.com/role/BusinessCombinationsFiscal2020AcquisitionsAdditionalInformationDetails</Role>
      <ShortName>Business Combinations  - Fiscal 2020 Acquisitions Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>55</Position>
    </Report>
    <Report instance="klac10q123119.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>2418403 - Disclosure - Business Combinations  - Fiscal 2020 Acquisitions (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.kla-tencor.com/role/BusinessCombinationsFiscal2020AcquisitionsDetails</Role>
      <ShortName>Business Combinations  - Fiscal 2020 Acquisitions (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>56</Position>
    </Report>
    <Report instance="klac10q123119.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>2418404 - Disclosure - Business Combinations  - Fiscal 2019 Acquisitions Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.kla-tencor.com/role/BusinessCombinationsFiscal2019AcquisitionsAdditionalInformationDetails</Role>
      <ShortName>Business Combinations  - Fiscal 2019 Acquisitions Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>57</Position>
    </Report>
    <Report instance="klac10q123119.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>2418405 - Disclosure - Business Combinations  - Orbotech Purchase Price Allocation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.kla-tencor.com/role/BusinessCombinationsOrbotechPurchasePriceAllocationDetails</Role>
      <ShortName>Business Combinations  - Orbotech Purchase Price Allocation (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>58</Position>
    </Report>
    <Report instance="klac10q123119.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>2418406 - Disclosure - Business Combinations  - Orbotech Estimated Fair Value and Weighted Average Useful Life of Acquired Intangible Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.kla-tencor.com/role/BusinessCombinationsOrbotechEstimatedFairValueAndWeightedAverageUsefulLifeOfAcquiredIntangibleAssetsDetails</Role>
      <ShortName>Business Combinations  - Orbotech Estimated Fair Value and Weighted Average Useful Life of Acquired Intangible Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>59</Position>
    </Report>
    <Report instance="klac10q123119.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>2418407 - Disclosure - Business Combinations  - Other Fiscal 2019 Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.kla-tencor.com/role/BusinessCombinationsOtherFiscal2019AdditionalInformationDetails</Role>
      <ShortName>Business Combinations  - Other Fiscal 2019 Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>60</Position>
    </Report>
    <Report instance="klac10q123119.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>2418408 - Disclosure - Business Combinations  - Other Fiscal 2019 Acquisitions (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.kla-tencor.com/role/BusinessCombinationsOtherFiscal2019AcquisitionsDetails</Role>
      <ShortName>Business Combinations  - Other Fiscal 2019 Acquisitions (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>61</Position>
    </Report>
    <Report instance="klac10q123119.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>2418409 - Disclosure - Business Combinations  - Schedule of Non-recurring Adjustments Attributable to Business Combination (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.kla-tencor.com/role/BusinessCombinationsScheduleOfNonRecurringAdjustmentsAttributableToBusinessCombinationDetails</Role>
      <ShortName>Business Combinations  - Schedule of Non-recurring Adjustments Attributable to Business Combination (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>62</Position>
    </Report>
    <Report instance="klac10q123119.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>2418410 - Disclosure - Business Combinations  - Pro Forma Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.kla-tencor.com/role/BusinessCombinationsProFormaInformationDetails</Role>
      <ShortName>Business Combinations  - Pro Forma Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>63</Position>
    </Report>
    <Report instance="klac10q123119.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>2420402 - Disclosure - Goodwill and Purchased Intangible Assets  - Schedule of Goodwill (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.kla-tencor.com/role/GoodwillAndPurchasedIntangibleAssetsScheduleOfGoodwillDetails</Role>
      <ShortName>Goodwill and Purchased Intangible Assets  - Schedule of Goodwill (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>64</Position>
    </Report>
    <Report instance="klac10q123119.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R65.htm</HtmlFileName>
      <LongName>2420403 - Disclosure - Goodwill and Purchased Intangible Assets  - Purchased Intangible Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.kla-tencor.com/role/GoodwillAndPurchasedIntangibleAssetsPurchasedIntangibleAssetsDetails</Role>
      <ShortName>Goodwill and Purchased Intangible Assets  - Purchased Intangible Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>65</Position>
    </Report>
    <Report instance="klac10q123119.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R66.htm</HtmlFileName>
      <LongName>2420404 - Disclosure - Goodwill and Purchased Intangible Assets  - Amortization Expense for Purchased Intangible Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.kla-tencor.com/role/GoodwillAndPurchasedIntangibleAssetsAmortizationExpenseForPurchasedIntangibleAssetsDetails</Role>
      <ShortName>Goodwill and Purchased Intangible Assets  - Amortization Expense for Purchased Intangible Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>66</Position>
    </Report>
    <Report instance="klac10q123119.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R67.htm</HtmlFileName>
      <LongName>2420405 - Disclosure - Goodwill and Purchased Intangible Assets  - Future Estimated Amortization Expense (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.kla-tencor.com/role/GoodwillAndPurchasedIntangibleAssetsFutureEstimatedAmortizationExpenseDetails</Role>
      <ShortName>Goodwill and Purchased Intangible Assets  - Future Estimated Amortization Expense (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>67</Position>
    </Report>
    <Report instance="klac10q123119.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R68.htm</HtmlFileName>
      <LongName>242402 - Disclosure - Debt  - Schedule of Debt (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.kla-tencor.com/role/DebtScheduleOfDebtDetails</Role>
      <ShortName>Debt  - Schedule of Debt (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>68</Position>
    </Report>
    <Report instance="klac10q123119.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R69.htm</HtmlFileName>
      <LongName>242403 - Disclosure - Debt  - Schedule of Future Principal Payments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.kla-tencor.com/role/DebtScheduleOfFuturePrincipalPaymentsDetails</Role>
      <ShortName>Debt  - Schedule of Future Principal Payments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>69</Position>
    </Report>
    <Report instance="klac10q123119.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R70.htm</HtmlFileName>
      <LongName>242404 - Disclosure - Debt  - Senior Notes (Details)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.kla-tencor.com/role/DebtSeniorNotesDetails</Role>
      <ShortName>Debt  - Senior Notes (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>70</Position>
    </Report>
    <Report instance="klac10q123119.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R71.htm</HtmlFileName>
      <LongName>242405 - Disclosure - Debt  - Revolving Credit Facility (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.kla-tencor.com/role/DebtRevolvingCreditFacilityDetails</Role>
      <ShortName>Debt  - Revolving Credit Facility (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>71</Position>
    </Report>
    <Report instance="klac10q123119.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R72.htm</HtmlFileName>
      <LongName>2424402 - Disclosure - Leases  - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.kla-tencor.com/role/LeasesAdditionalInformationDetails</Role>
      <ShortName>Leases  - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>72</Position>
    </Report>
    <Report instance="klac10q123119.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R73.htm</HtmlFileName>
      <LongName>2424403 - Disclosure - Leases  - Supplemental Cash Flow Information Related to Leases (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.kla-tencor.com/role/LeasesSupplementalCashFlowInformationRelatedToLeasesDetails</Role>
      <ShortName>Leases  - Supplemental Cash Flow Information Related to Leases (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>73</Position>
    </Report>
    <Report instance="klac10q123119.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R74.htm</HtmlFileName>
      <LongName>2424404 - Disclosure - Leases  - Maturities of Lease Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.kla-tencor.com/role/LeasesMaturitiesOfLeaseLiabilitiesDetails</Role>
      <ShortName>Leases  - Maturities of Lease Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>74</Position>
    </Report>
    <Report instance="klac10q123119.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R75.htm</HtmlFileName>
      <LongName>2425402 - Disclosure - Equity, Long-Term Incentive Compensation Plans and Non-controlling Interest  - Equity Incentive Program (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.kla-tencor.com/role/EquityLongTermIncentiveCompensationPlansAndNonControllingInterestEquityIncentiveProgramDetails</Role>
      <ShortName>Equity, Long-Term Incentive Compensation Plans and Non-controlling Interest  - Equity Incentive Program (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>75</Position>
    </Report>
    <Report instance="klac10q123119.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R76.htm</HtmlFileName>
      <LongName>2425403 - Disclosure - Equity, Long-Term Incentive Compensation Plans and Non-controlling Interest  - Equity Incentive Plans General Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.kla-tencor.com/role/EquityLongTermIncentiveCompensationPlansAndNonControllingInterestEquityIncentivePlansGeneralInformationDetails</Role>
      <ShortName>Equity, Long-Term Incentive Compensation Plans and Non-controlling Interest  - Equity Incentive Plans General Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>76</Position>
    </Report>
    <Report instance="klac10q123119.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R77.htm</HtmlFileName>
      <LongName>2425404 - Disclosure - Equity, Long-Term Incentive Compensation Plans and Non-controlling Interest  - Share-based Compensation Expense (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.kla-tencor.com/role/EquityLongTermIncentiveCompensationPlansAndNonControllingInterestShareBasedCompensationExpenseDetails</Role>
      <ShortName>Equity, Long-Term Incentive Compensation Plans and Non-controlling Interest  - Share-based Compensation Expense (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>77</Position>
    </Report>
    <Report instance="klac10q123119.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R78.htm</HtmlFileName>
      <LongName>2425405 - Disclosure - Equity, Long-Term Incentive Compensation Plans and Non-controlling Interest  - Restricted Stock Unit Activities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.kla-tencor.com/role/EquityLongTermIncentiveCompensationPlansAndNonControllingInterestRestrictedStockUnitActivitiesDetails</Role>
      <ShortName>Equity, Long-Term Incentive Compensation Plans and Non-controlling Interest  - Restricted Stock Unit Activities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>78</Position>
    </Report>
    <Report instance="klac10q123119.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R79.htm</HtmlFileName>
      <LongName>2425406 - Disclosure - Equity, Long-Term Incentive Compensation Plans and Non-controlling Interest  - Weighted-Average Grant Date Fair Value (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.kla-tencor.com/role/EquityLongTermIncentiveCompensationPlansAndNonControllingInterestWeightedAverageGrantDateFairValueDetails</Role>
      <ShortName>Equity, Long-Term Incentive Compensation Plans and Non-controlling Interest  - Weighted-Average Grant Date Fair Value (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>79</Position>
    </Report>
    <Report instance="klac10q123119.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R80.htm</HtmlFileName>
      <LongName>2425407 - Disclosure - Equity, Long-Term Incentive Compensation Plans and Non-controlling Interest  - Cash-Based Long-Term Incentive Compensation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.kla-tencor.com/role/EquityLongTermIncentiveCompensationPlansAndNonControllingInterestCashBasedLongTermIncentiveCompensationDetails</Role>
      <ShortName>Equity, Long-Term Incentive Compensation Plans and Non-controlling Interest  - Cash-Based Long-Term Incentive Compensation (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>80</Position>
    </Report>
    <Report instance="klac10q123119.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R81.htm</HtmlFileName>
      <LongName>2425408 - Disclosure - Equity, Long-Term Incentive Compensation Plans and Non-controlling Interest  - Employee Stock Purchase Plan (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.kla-tencor.com/role/EquityLongTermIncentiveCompensationPlansAndNonControllingInterestEmployeeStockPurchasePlanDetails</Role>
      <ShortName>Equity, Long-Term Incentive Compensation Plans and Non-controlling Interest  - Employee Stock Purchase Plan (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>81</Position>
    </Report>
    <Report instance="klac10q123119.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R82.htm</HtmlFileName>
      <LongName>2425409 - Disclosure - Equity, Long-Term Incentive Compensation Plans and Non-controlling Interest  - Cash Dividends (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.kla-tencor.com/role/EquityLongTermIncentiveCompensationPlansAndNonControllingInterestCashDividendsDetails</Role>
      <ShortName>Equity, Long-Term Incentive Compensation Plans and Non-controlling Interest  - Cash Dividends (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.kla-tencor.com/role/EquityLongTermIncentiveCompensationPlansAndNonControllingInterestTables</ParentRole>
      <Position>82</Position>
    </Report>
    <Report instance="klac10q123119.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R83.htm</HtmlFileName>
      <LongName>2425410 - Disclosure - Equity, Long-Term Incentive Compensation Plans and Non-controlling Interest  - Non-controlling Interest (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.kla-tencor.com/role/EquityLongTermIncentiveCompensationPlansAndNonControllingInterestNonControllingInterestDetails</Role>
      <ShortName>Equity, Long-Term Incentive Compensation Plans and Non-controlling Interest  - Non-controlling Interest (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>83</Position>
    </Report>
    <Report instance="klac10q123119.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R84.htm</HtmlFileName>
      <LongName>2431402 - Disclosure - Stock Repurchase Program (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.kla-tencor.com/role/StockRepurchaseProgramDetails</Role>
      <ShortName>Stock Repurchase Program (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.kla-tencor.com/role/StockRepurchaseProgramTables</ParentRole>
      <Position>84</Position>
    </Report>
    <Report instance="klac10q123119.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R85.htm</HtmlFileName>
      <LongName>2434402 - Disclosure - Net Income Per Share (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.kla-tencor.com/role/NetIncomePerShareDetails</Role>
      <ShortName>Net Income Per Share (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.kla-tencor.com/role/NetIncomePerShareTables</ParentRole>
      <Position>85</Position>
    </Report>
    <Report instance="klac10q123119.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R86.htm</HtmlFileName>
      <LongName>2437402 - Disclosure - Income Taxes  - Details of Income Taxes (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.kla-tencor.com/role/IncomeTaxesDetailsOfIncomeTaxesDetails</Role>
      <ShortName>Income Taxes  - Details of Income Taxes (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>86</Position>
    </Report>
    <Report instance="klac10q123119.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R87.htm</HtmlFileName>
      <LongName>2437403 - Disclosure - Income Taxes  - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.kla-tencor.com/role/IncomeTaxesAdditionalInformationDetails</Role>
      <ShortName>Income Taxes  - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>87</Position>
    </Report>
    <Report instance="klac10q123119.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R88.htm</HtmlFileName>
      <LongName>2452402 - Disclosure - Commitments and Contingencies (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.kla-tencor.com/role/CommitmentsAndContingenciesDetails</Role>
      <ShortName>Commitments and Contingencies (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.kla-tencor.com/role/CommitmentsAndContingenciesTables</ParentRole>
      <Position>88</Position>
    </Report>
    <Report instance="klac10q123119.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R89.htm</HtmlFileName>
      <LongName>2453402 - Disclosure - Derivative Instruments and Hedging Activities  - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.kla-tencor.com/role/DerivativeInstrumentsAndHedgingActivitiesAdditionalInformationDetails</Role>
      <ShortName>Derivative Instruments and Hedging Activities  - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>89</Position>
    </Report>
    <Report instance="klac10q123119.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R90.htm</HtmlFileName>
      <LongName>2453403 - Disclosure - Derivative Instruments and Hedging Activities  - Gains (Losses) on Derivatives in Cash Flow Hedging Relationships Recognized in OCI (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.kla-tencor.com/role/DerivativeInstrumentsAndHedgingActivitiesGainsLossesOnDerivativesInCashFlowHedgingRelationshipsRecognizedInOciDetails</Role>
      <ShortName>Derivative Instruments and Hedging Activities  - Gains (Losses) on Derivatives in Cash Flow Hedging Relationships Recognized in OCI (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.kla-tencor.com/role/DerivativeInstrumentsAndHedgingActivitiesTables</ParentRole>
      <Position>90</Position>
    </Report>
    <Report instance="klac10q123119.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R91.htm</HtmlFileName>
      <LongName>2453404 - Disclosure - Derivative Instruments and Hedging Activities  - Locations and Amounts of Designated and Non-Designated Derivative's Gains and Losses (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.kla-tencor.com/role/DerivativeInstrumentsAndHedgingActivitiesLocationsAndAmountsOfDesignatedAndNonDesignatedDerivativesGainsAndLossesDetails</Role>
      <ShortName>Derivative Instruments and Hedging Activities  - Locations and Amounts of Designated and Non-Designated Derivative's Gains and Losses (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>91</Position>
    </Report>
    <Report instance="klac10q123119.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R92.htm</HtmlFileName>
      <LongName>2453405 - Disclosure - Derivative Instruments and Hedging Activities  - Schedule of Notional Amount (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.kla-tencor.com/role/DerivativeInstrumentsAndHedgingActivitiesScheduleOfNotionalAmountDetails</Role>
      <ShortName>Derivative Instruments and Hedging Activities  - Schedule of Notional Amount (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>92</Position>
    </Report>
    <Report instance="klac10q123119.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R93.htm</HtmlFileName>
      <LongName>2453406 - Disclosure - Derivative Instruments and Hedging Activities  - Schedule of Derivative Instruments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.kla-tencor.com/role/DerivativeInstrumentsAndHedgingActivitiesScheduleOfDerivativeInstrumentsDetails</Role>
      <ShortName>Derivative Instruments and Hedging Activities  - Schedule of Derivative Instruments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>93</Position>
    </Report>
    <Report instance="klac10q123119.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R94.htm</HtmlFileName>
      <LongName>2453407 - Disclosure - Derivative Instruments and Hedging Activities  - Other Comprehensive Income (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.kla-tencor.com/role/DerivativeInstrumentsAndHedgingActivitiesOtherComprehensiveIncomeDetails</Role>
      <ShortName>Derivative Instruments and Hedging Activities  - Other Comprehensive Income (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>94</Position>
    </Report>
    <Report instance="klac10q123119.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R95.htm</HtmlFileName>
      <LongName>2453408 - Disclosure - Derivative Instruments and Hedging Activities  - Offsetting of Derivative Assets and Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.kla-tencor.com/role/DerivativeInstrumentsAndHedgingActivitiesOffsettingOfDerivativeAssetsAndLiabilitiesDetails</Role>
      <ShortName>Derivative Instruments and Hedging Activities  - Offsetting of Derivative Assets and Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>95</Position>
    </Report>
    <Report instance="klac10q123119.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R96.htm</HtmlFileName>
      <LongName>2454402 - Disclosure - Related Party Transactions (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.kla-tencor.com/role/RelatedPartyTransactionsDetails</Role>
      <ShortName>Related Party Transactions (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.kla-tencor.com/role/RelatedPartyTransactionsTables</ParentRole>
      <Position>96</Position>
    </Report>
    <Report instance="klac10q123119.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R97.htm</HtmlFileName>
      <LongName>2456402 - Disclosure - Segment Reporting and Geographic Information - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.kla-tencor.com/role/SegmentReportingAndGeographicInformationAdditionalInformationDetails</Role>
      <ShortName>Segment Reporting and Geographic Information - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>97</Position>
    </Report>
    <Report instance="klac10q123119.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R98.htm</HtmlFileName>
      <LongName>2456403 - Disclosure - Segment Reporting and Geographic Information - Summary of Results for Reportable Segments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.kla-tencor.com/role/SegmentReportingAndGeographicInformationSummaryOfResultsForReportableSegmentsDetails</Role>
      <ShortName>Segment Reporting and Geographic Information - Summary of Results for Reportable Segments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>98</Position>
    </Report>
    <Report instance="klac10q123119.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R99.htm</HtmlFileName>
      <LongName>2456404 - Disclosure - Segment Reporting and Geographic Information - Reconciliation of Total Reportable Segments Revenue to Total Revenue (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.kla-tencor.com/role/SegmentReportingAndGeographicInformationReconciliationOfTotalReportableSegmentsRevenueToTotalRevenueDetails</Role>
      <ShortName>Segment Reporting and Geographic Information - Reconciliation of Total Reportable Segments Revenue to Total Revenue (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>99</Position>
    </Report>
    <Report instance="klac10q123119.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R100.htm</HtmlFileName>
      <LongName>2456405 - Disclosure - Segment Reporting and Geographic Information - Reconciliation of Total Segment Gross Margin to Total Income Before Income Taxes (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.kla-tencor.com/role/SegmentReportingAndGeographicInformationReconciliationOfTotalSegmentGrossMarginToTotalIncomeBeforeIncomeTaxesDetails</Role>
      <ShortName>Segment Reporting and Geographic Information - Reconciliation of Total Segment Gross Margin to Total Income Before Income Taxes (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>100</Position>
    </Report>
    <Report instance="klac10q123119.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R101.htm</HtmlFileName>
      <LongName>2456406 - Disclosure - Segment Reporting and Geographic Information - Schedule of Revenue from External Customers (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.kla-tencor.com/role/SegmentReportingAndGeographicInformationScheduleOfRevenueFromExternalCustomersDetails</Role>
      <ShortName>Segment Reporting and Geographic Information - Schedule of Revenue from External Customers (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>101</Position>
    </Report>
    <Report instance="klac10q123119.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R102.htm</HtmlFileName>
      <LongName>2456407 - Disclosure - Segment Reporting and Geographic Information - Revenue from External Customers by Products and Services (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.kla-tencor.com/role/SegmentReportingAndGeographicInformationRevenueFromExternalCustomersByProductsAndServicesDetails</Role>
      <ShortName>Segment Reporting and Geographic Information - Revenue from External Customers by Products and Services (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>102</Position>
    </Report>
    <Report instance="klac10q123119.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R103.htm</HtmlFileName>
      <LongName>2456408 - Disclosure - Segment Reporting and Geographic Information - Land, Property and Equipment, Net by Geographic Region (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.kla-tencor.com/role/SegmentReportingAndGeographicInformationLandPropertyAndEquipmentNetByGeographicRegionDetails</Role>
      <ShortName>Segment Reporting and Geographic Information - Land, Property and Equipment, Net by Geographic Region (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>103</Position>
    </Report>
    <Report instance="klac10q123119.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R104.htm</HtmlFileName>
      <LongName>2457401 - Disclosure - Restructuring Charges RESTRUCTURING CHARGES (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.kla-tencor.com/role/RestructuringChargesRestructuringChargesDetails</Role>
      <ShortName>Restructuring Charges RESTRUCTURING CHARGES (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>104</Position>
    </Report>
    <Report instance="klac10q123119.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9999.htm</HtmlFileName>
      <LongName>Uncategorized Items - klac10q123119.htm</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/role/uncategorizedFacts</Role>
      <ShortName>Uncategorized Items - klac10q123119.htm</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>105</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="klac10q123119.htm">klac10q123119.htm</File>
    <File>klac-20191231.xsd</File>
    <File>klac-20191231_cal.xml</File>
    <File>klac-20191231_def.xml</File>
    <File>klac-20191231_lab.xml</File>
    <File>klac-20191231_pre.xml</File>
    <File>klac10qex101123119.htm</File>
    <File>klac10qex311123119.htm</File>
    <File>klac10qex312123119.htm</File>
    <File>klac10qex32123119.htm</File>
  </InputFiles>
  <SupplementalFiles/>
  <BaseTaxonomies>
    <BaseTaxonomy>http://fasb.org/us-gaap/2019-01-31</BaseTaxonomy>
    <BaseTaxonomy>http://xbrl.sec.gov/country/2017-01-31</BaseTaxonomy>
    <BaseTaxonomy>http://fasb.org/srt/2019-01-31</BaseTaxonomy>
    <BaseTaxonomy>http://xbrl.sec.gov/dei/2019-01-31</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
