Quarterly report pursuant to Section 13 or 15(d)

Derivative Instruments and Hedging Activities (Details)

v2.4.1.9
Derivative Instruments and Hedging Activities (Details) (USD $)
In Thousands, unless otherwise specified
3 Months Ended 6 Months Ended
Dec. 31, 2014
Dec. 31, 2013
Dec. 31, 2014
Dec. 31, 2013
Jun. 30, 2014
Location in Financial Statements          
Gains (losses) in accumulated OCI on derivatives (effective portion) $ 11,924us-gaap_DerivativeInstrumentsGainLossRecognizedInOtherComprehensiveIncomeEffectivePortionNet $ 3,864us-gaap_DerivativeInstrumentsGainLossRecognizedInOtherComprehensiveIncomeEffectivePortionNet $ 13,957us-gaap_DerivativeInstrumentsGainLossRecognizedInOtherComprehensiveIncomeEffectivePortionNet $ 3,573us-gaap_DerivativeInstrumentsGainLossRecognizedInOtherComprehensiveIncomeEffectivePortionNet  
Gains reclassified from accumulated OCI into income (effective portion): 1,584us-gaap_DerivativeInstrumentsGainLossReclassifiedFromAccumulatedOCIIntoIncomeEffectivePortionNet 22us-gaap_DerivativeInstrumentsGainLossReclassifiedFromAccumulatedOCIIntoIncomeEffectivePortionNet 1,812us-gaap_DerivativeInstrumentsGainLossReclassifiedFromAccumulatedOCIIntoIncomeEffectivePortionNet 2,538us-gaap_DerivativeInstrumentsGainLossReclassifiedFromAccumulatedOCIIntoIncomeEffectivePortionNet  
Derivative Assets and Liabilities, at Fair Value, Net, by Balance Sheet Classification          
Asset derivatives fair value 11,584us-gaap_DerivativeFairValueOfDerivativeAsset   11,584us-gaap_DerivativeFairValueOfDerivativeAsset   666us-gaap_DerivativeFairValueOfDerivativeAsset
Liability derivatives fair value 1,816us-gaap_DerivativeFairValueOfDerivativeLiability   1,816us-gaap_DerivativeFairValueOfDerivativeLiability   898us-gaap_DerivativeFairValueOfDerivativeLiability
Other Current Assets          
Derivative Assets and Liabilities, at Fair Value, Net, by Balance Sheet Classification          
Asset derivatives fair value 11,584us-gaap_DerivativeFairValueOfDerivativeAsset
/ us-gaap_BalanceSheetLocationAxis
= us-gaap_OtherCurrentAssetsMember
  11,584us-gaap_DerivativeFairValueOfDerivativeAsset
/ us-gaap_BalanceSheetLocationAxis
= us-gaap_OtherCurrentAssetsMember
  666us-gaap_DerivativeFairValueOfDerivativeAsset
/ us-gaap_BalanceSheetLocationAxis
= us-gaap_OtherCurrentAssetsMember
Other Current Liabilities          
Derivative Assets and Liabilities, at Fair Value, Net, by Balance Sheet Classification          
Liability derivatives fair value 1,816us-gaap_DerivativeFairValueOfDerivativeLiability
/ us-gaap_BalanceSheetLocationAxis
= us-gaap_OtherCurrentLiabilitiesMember
  1,816us-gaap_DerivativeFairValueOfDerivativeLiability
/ us-gaap_BalanceSheetLocationAxis
= us-gaap_OtherCurrentLiabilitiesMember
  898us-gaap_DerivativeFairValueOfDerivativeLiability
/ us-gaap_BalanceSheetLocationAxis
= us-gaap_OtherCurrentLiabilitiesMember
Cash Flow Hedging | Purchase          
Cash flow hedge contracts          
Purchase 24,672klac_NotionalAmountOfCashFlowDerivativePurchaseContracts
/ us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis
= us-gaap_CashFlowHedgingMember
/ us-gaap_PositionAxis
= us-gaap_LongMember
  24,672klac_NotionalAmountOfCashFlowDerivativePurchaseContracts
/ us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis
= us-gaap_CashFlowHedgingMember
/ us-gaap_PositionAxis
= us-gaap_LongMember
  6,066klac_NotionalAmountOfCashFlowDerivativePurchaseContracts
/ us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis
= us-gaap_CashFlowHedgingMember
/ us-gaap_PositionAxis
= us-gaap_LongMember
Cash Flow Hedging | Purchase | Other Foreign Currency Hedge Contract          
Other foreign currency hedge contracts          
Other foreign currency hedge contracts 106,993invest_DerivativeNotionalAmount
/ us-gaap_DerivativeInstrumentRiskAxis
= us-gaap_ForeignExchangeForwardMember
/ us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis
= us-gaap_CashFlowHedgingMember
/ us-gaap_PositionAxis
= us-gaap_LongMember
  106,993invest_DerivativeNotionalAmount
/ us-gaap_DerivativeInstrumentRiskAxis
= us-gaap_ForeignExchangeForwardMember
/ us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis
= us-gaap_CashFlowHedgingMember
/ us-gaap_PositionAxis
= us-gaap_LongMember
  108,901invest_DerivativeNotionalAmount
/ us-gaap_DerivativeInstrumentRiskAxis
= us-gaap_ForeignExchangeForwardMember
/ us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis
= us-gaap_CashFlowHedgingMember
/ us-gaap_PositionAxis
= us-gaap_LongMember
Cash Flow Hedging | Sell          
Cash flow hedge contracts          
Sell 50,058klac_NotionalAmountOfCashFlowDerivativeSalesContracts
/ us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis
= us-gaap_CashFlowHedgingMember
/ us-gaap_PositionAxis
= us-gaap_ShortMember
  50,058klac_NotionalAmountOfCashFlowDerivativeSalesContracts
/ us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis
= us-gaap_CashFlowHedgingMember
/ us-gaap_PositionAxis
= us-gaap_ShortMember
  33,999klac_NotionalAmountOfCashFlowDerivativeSalesContracts
/ us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis
= us-gaap_CashFlowHedgingMember
/ us-gaap_PositionAxis
= us-gaap_ShortMember
Cash Flow Hedging | Sell | Other Foreign Currency Hedge Contract          
Other foreign currency hedge contracts          
Other foreign currency hedge contracts 139,157invest_DerivativeNotionalAmount
/ us-gaap_DerivativeInstrumentRiskAxis
= us-gaap_ForeignExchangeForwardMember
/ us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis
= us-gaap_CashFlowHedgingMember
/ us-gaap_PositionAxis
= us-gaap_ShortMember
  139,157invest_DerivativeNotionalAmount
/ us-gaap_DerivativeInstrumentRiskAxis
= us-gaap_ForeignExchangeForwardMember
/ us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis
= us-gaap_CashFlowHedgingMember
/ us-gaap_PositionAxis
= us-gaap_ShortMember
  106,322invest_DerivativeNotionalAmount
/ us-gaap_DerivativeInstrumentRiskAxis
= us-gaap_ForeignExchangeForwardMember
/ us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis
= us-gaap_CashFlowHedgingMember
/ us-gaap_PositionAxis
= us-gaap_ShortMember
Derivatives Designated as Hedging Instruments          
Location in Financial Statements          
Gains reclassified from accumulated OCI into income (effective portion): 1,584us-gaap_DerivativeInstrumentsGainLossReclassifiedFromAccumulatedOCIIntoIncomeEffectivePortionNet
/ us-gaap_HedgingDesignationAxis
= us-gaap_DesignatedAsHedgingInstrumentMember
22us-gaap_DerivativeInstrumentsGainLossReclassifiedFromAccumulatedOCIIntoIncomeEffectivePortionNet
/ us-gaap_HedgingDesignationAxis
= us-gaap_DesignatedAsHedgingInstrumentMember
1,812us-gaap_DerivativeInstrumentsGainLossReclassifiedFromAccumulatedOCIIntoIncomeEffectivePortionNet
/ us-gaap_HedgingDesignationAxis
= us-gaap_DesignatedAsHedgingInstrumentMember
2,538us-gaap_DerivativeInstrumentsGainLossReclassifiedFromAccumulatedOCIIntoIncomeEffectivePortionNet
/ us-gaap_HedgingDesignationAxis
= us-gaap_DesignatedAsHedgingInstrumentMember
 
Derivatives Designated as Hedging Instruments | Other Current Assets          
Derivative Assets and Liabilities, at Fair Value, Net, by Balance Sheet Classification          
Foreign exchange contracts, other current assets 3,817us-gaap_ForeignCurrencyContractAssetFairValueDisclosure
/ us-gaap_BalanceSheetLocationAxis
= us-gaap_OtherCurrentAssetsMember
/ us-gaap_HedgingDesignationAxis
= us-gaap_DesignatedAsHedgingInstrumentMember
  3,817us-gaap_ForeignCurrencyContractAssetFairValueDisclosure
/ us-gaap_BalanceSheetLocationAxis
= us-gaap_OtherCurrentAssetsMember
/ us-gaap_HedgingDesignationAxis
= us-gaap_DesignatedAsHedgingInstrumentMember
  120us-gaap_ForeignCurrencyContractAssetFairValueDisclosure
/ us-gaap_BalanceSheetLocationAxis
= us-gaap_OtherCurrentAssetsMember
/ us-gaap_HedgingDesignationAxis
= us-gaap_DesignatedAsHedgingInstrumentMember
Asset derivatives fair value 3,817us-gaap_DerivativeFairValueOfDerivativeAsset
/ us-gaap_BalanceSheetLocationAxis
= us-gaap_OtherCurrentAssetsMember
/ us-gaap_HedgingDesignationAxis
= us-gaap_DesignatedAsHedgingInstrumentMember
  3,817us-gaap_DerivativeFairValueOfDerivativeAsset
/ us-gaap_BalanceSheetLocationAxis
= us-gaap_OtherCurrentAssetsMember
/ us-gaap_HedgingDesignationAxis
= us-gaap_DesignatedAsHedgingInstrumentMember
  120us-gaap_DerivativeFairValueOfDerivativeAsset
/ us-gaap_BalanceSheetLocationAxis
= us-gaap_OtherCurrentAssetsMember
/ us-gaap_HedgingDesignationAxis
= us-gaap_DesignatedAsHedgingInstrumentMember
Derivatives Designated as Hedging Instruments | Other Current Liabilities          
Derivative Assets and Liabilities, at Fair Value, Net, by Balance Sheet Classification          
Foreign exchange contracts, other current liabilities 460us-gaap_ForeignCurrencyContractsLiabilityFairValueDisclosure
/ us-gaap_BalanceSheetLocationAxis
= us-gaap_OtherCurrentLiabilitiesMember
/ us-gaap_HedgingDesignationAxis
= us-gaap_DesignatedAsHedgingInstrumentMember
  460us-gaap_ForeignCurrencyContractsLiabilityFairValueDisclosure
/ us-gaap_BalanceSheetLocationAxis
= us-gaap_OtherCurrentLiabilitiesMember
/ us-gaap_HedgingDesignationAxis
= us-gaap_DesignatedAsHedgingInstrumentMember
  100us-gaap_ForeignCurrencyContractsLiabilityFairValueDisclosure
/ us-gaap_BalanceSheetLocationAxis
= us-gaap_OtherCurrentLiabilitiesMember
/ us-gaap_HedgingDesignationAxis
= us-gaap_DesignatedAsHedgingInstrumentMember
Liability derivatives fair value 460us-gaap_DerivativeFairValueOfDerivativeLiability
/ us-gaap_BalanceSheetLocationAxis
= us-gaap_OtherCurrentLiabilitiesMember
/ us-gaap_HedgingDesignationAxis
= us-gaap_DesignatedAsHedgingInstrumentMember
  460us-gaap_DerivativeFairValueOfDerivativeLiability
/ us-gaap_BalanceSheetLocationAxis
= us-gaap_OtherCurrentLiabilitiesMember
/ us-gaap_HedgingDesignationAxis
= us-gaap_DesignatedAsHedgingInstrumentMember
  100us-gaap_DerivativeFairValueOfDerivativeLiability
/ us-gaap_BalanceSheetLocationAxis
= us-gaap_OtherCurrentLiabilitiesMember
/ us-gaap_HedgingDesignationAxis
= us-gaap_DesignatedAsHedgingInstrumentMember
Not Designated as Hedging Instrument | Other Current Assets          
Derivative Assets and Liabilities, at Fair Value, Net, by Balance Sheet Classification          
Foreign exchange contracts, other current assets 7,767us-gaap_ForeignCurrencyContractAssetFairValueDisclosure
/ us-gaap_BalanceSheetLocationAxis
= us-gaap_OtherCurrentAssetsMember
/ us-gaap_HedgingDesignationAxis
= us-gaap_NondesignatedMember
  7,767us-gaap_ForeignCurrencyContractAssetFairValueDisclosure
/ us-gaap_BalanceSheetLocationAxis
= us-gaap_OtherCurrentAssetsMember
/ us-gaap_HedgingDesignationAxis
= us-gaap_NondesignatedMember
  546us-gaap_ForeignCurrencyContractAssetFairValueDisclosure
/ us-gaap_BalanceSheetLocationAxis
= us-gaap_OtherCurrentAssetsMember
/ us-gaap_HedgingDesignationAxis
= us-gaap_NondesignatedMember
Asset derivatives fair value 7,767us-gaap_DerivativeFairValueOfDerivativeAsset
/ us-gaap_BalanceSheetLocationAxis
= us-gaap_OtherCurrentAssetsMember
/ us-gaap_HedgingDesignationAxis
= us-gaap_NondesignatedMember
  7,767us-gaap_DerivativeFairValueOfDerivativeAsset
/ us-gaap_BalanceSheetLocationAxis
= us-gaap_OtherCurrentAssetsMember
/ us-gaap_HedgingDesignationAxis
= us-gaap_NondesignatedMember
  546us-gaap_DerivativeFairValueOfDerivativeAsset
/ us-gaap_BalanceSheetLocationAxis
= us-gaap_OtherCurrentAssetsMember
/ us-gaap_HedgingDesignationAxis
= us-gaap_NondesignatedMember
Not Designated as Hedging Instrument | Other Current Liabilities          
Derivative Assets and Liabilities, at Fair Value, Net, by Balance Sheet Classification          
Foreign exchange contracts, other current liabilities 1,356us-gaap_ForeignCurrencyContractsLiabilityFairValueDisclosure
/ us-gaap_BalanceSheetLocationAxis
= us-gaap_OtherCurrentLiabilitiesMember
/ us-gaap_HedgingDesignationAxis
= us-gaap_NondesignatedMember
  1,356us-gaap_ForeignCurrencyContractsLiabilityFairValueDisclosure
/ us-gaap_BalanceSheetLocationAxis
= us-gaap_OtherCurrentLiabilitiesMember
/ us-gaap_HedgingDesignationAxis
= us-gaap_NondesignatedMember
  798us-gaap_ForeignCurrencyContractsLiabilityFairValueDisclosure
/ us-gaap_BalanceSheetLocationAxis
= us-gaap_OtherCurrentLiabilitiesMember
/ us-gaap_HedgingDesignationAxis
= us-gaap_NondesignatedMember
Liability derivatives fair value 1,356us-gaap_DerivativeFairValueOfDerivativeLiability
/ us-gaap_BalanceSheetLocationAxis
= us-gaap_OtherCurrentLiabilitiesMember
/ us-gaap_HedgingDesignationAxis
= us-gaap_NondesignatedMember
  1,356us-gaap_DerivativeFairValueOfDerivativeLiability
/ us-gaap_BalanceSheetLocationAxis
= us-gaap_OtherCurrentLiabilitiesMember
/ us-gaap_HedgingDesignationAxis
= us-gaap_NondesignatedMember
  798us-gaap_DerivativeFairValueOfDerivativeLiability
/ us-gaap_BalanceSheetLocationAxis
= us-gaap_OtherCurrentLiabilitiesMember
/ us-gaap_HedgingDesignationAxis
= us-gaap_NondesignatedMember
Revenues | Derivatives Designated as Hedging Instruments          
Location in Financial Statements          
Gains reclassified from accumulated OCI into income (effective portion): 1,933us-gaap_DerivativeInstrumentsGainLossReclassifiedFromAccumulatedOCIIntoIncomeEffectivePortionNet
/ us-gaap_HedgingDesignationAxis
= us-gaap_DesignatedAsHedgingInstrumentMember
/ us-gaap_IncomeStatementLocationAxis
= us-gaap_SalesMember
(128)us-gaap_DerivativeInstrumentsGainLossReclassifiedFromAccumulatedOCIIntoIncomeEffectivePortionNet
/ us-gaap_HedgingDesignationAxis
= us-gaap_DesignatedAsHedgingInstrumentMember
/ us-gaap_IncomeStatementLocationAxis
= us-gaap_SalesMember
2,202us-gaap_DerivativeInstrumentsGainLossReclassifiedFromAccumulatedOCIIntoIncomeEffectivePortionNet
/ us-gaap_HedgingDesignationAxis
= us-gaap_DesignatedAsHedgingInstrumentMember
/ us-gaap_IncomeStatementLocationAxis
= us-gaap_SalesMember
2,322us-gaap_DerivativeInstrumentsGainLossReclassifiedFromAccumulatedOCIIntoIncomeEffectivePortionNet
/ us-gaap_HedgingDesignationAxis
= us-gaap_DesignatedAsHedgingInstrumentMember
/ us-gaap_IncomeStatementLocationAxis
= us-gaap_SalesMember
 
Costs of Revenues | Derivatives Designated as Hedging Instruments          
Location in Financial Statements          
Gains reclassified from accumulated OCI into income (effective portion): (475)us-gaap_DerivativeInstrumentsGainLossReclassifiedFromAccumulatedOCIIntoIncomeEffectivePortionNet
/ us-gaap_HedgingDesignationAxis
= us-gaap_DesignatedAsHedgingInstrumentMember
/ us-gaap_IncomeStatementLocationAxis
= us-gaap_CostOfSalesMember
150us-gaap_DerivativeInstrumentsGainLossReclassifiedFromAccumulatedOCIIntoIncomeEffectivePortionNet
/ us-gaap_HedgingDesignationAxis
= us-gaap_DesignatedAsHedgingInstrumentMember
/ us-gaap_IncomeStatementLocationAxis
= us-gaap_CostOfSalesMember
(516)us-gaap_DerivativeInstrumentsGainLossReclassifiedFromAccumulatedOCIIntoIncomeEffectivePortionNet
/ us-gaap_HedgingDesignationAxis
= us-gaap_DesignatedAsHedgingInstrumentMember
/ us-gaap_IncomeStatementLocationAxis
= us-gaap_CostOfSalesMember
216us-gaap_DerivativeInstrumentsGainLossReclassifiedFromAccumulatedOCIIntoIncomeEffectivePortionNet
/ us-gaap_HedgingDesignationAxis
= us-gaap_DesignatedAsHedgingInstrumentMember
/ us-gaap_IncomeStatementLocationAxis
= us-gaap_CostOfSalesMember
 
Interest Expense | Derivatives Designated as Hedging Instruments          
Location in Financial Statements          
Gains reclassified from accumulated OCI into income (effective portion): 126us-gaap_DerivativeInstrumentsGainLossReclassifiedFromAccumulatedOCIIntoIncomeEffectivePortionNet
/ us-gaap_HedgingDesignationAxis
= us-gaap_DesignatedAsHedgingInstrumentMember
/ us-gaap_IncomeStatementLocationAxis
= us-gaap_InterestExpenseMember
0us-gaap_DerivativeInstrumentsGainLossReclassifiedFromAccumulatedOCIIntoIncomeEffectivePortionNet
/ us-gaap_HedgingDesignationAxis
= us-gaap_DesignatedAsHedgingInstrumentMember
/ us-gaap_IncomeStatementLocationAxis
= us-gaap_InterestExpenseMember
126us-gaap_DerivativeInstrumentsGainLossReclassifiedFromAccumulatedOCIIntoIncomeEffectivePortionNet
/ us-gaap_HedgingDesignationAxis
= us-gaap_DesignatedAsHedgingInstrumentMember
/ us-gaap_IncomeStatementLocationAxis
= us-gaap_InterestExpenseMember
0us-gaap_DerivativeInstrumentsGainLossReclassifiedFromAccumulatedOCIIntoIncomeEffectivePortionNet
/ us-gaap_HedgingDesignationAxis
= us-gaap_DesignatedAsHedgingInstrumentMember
/ us-gaap_IncomeStatementLocationAxis
= us-gaap_InterestExpenseMember
 
Interest Income and Other, Net | Derivatives Designated as Hedging Instruments          
Location in Financial Statements          
Gains (losses) recognized in income on derivatives (ineffective portion and amount excluded from effectiveness testing) 77us-gaap_DerivativeInstrumentsGainLossRecognizedInIncomeIneffectivePortionAndAmountExcludedFromEffectivenessTestingNet
/ us-gaap_HedgingDesignationAxis
= us-gaap_DesignatedAsHedgingInstrumentMember
/ us-gaap_IncomeStatementLocationAxis
= klac_InterestIncomeAndOtherNetMember
44us-gaap_DerivativeInstrumentsGainLossRecognizedInIncomeIneffectivePortionAndAmountExcludedFromEffectivenessTestingNet
/ us-gaap_HedgingDesignationAxis
= us-gaap_DesignatedAsHedgingInstrumentMember
/ us-gaap_IncomeStatementLocationAxis
= klac_InterestIncomeAndOtherNetMember
120us-gaap_DerivativeInstrumentsGainLossRecognizedInIncomeIneffectivePortionAndAmountExcludedFromEffectivenessTestingNet
/ us-gaap_HedgingDesignationAxis
= us-gaap_DesignatedAsHedgingInstrumentMember
/ us-gaap_IncomeStatementLocationAxis
= klac_InterestIncomeAndOtherNetMember
26us-gaap_DerivativeInstrumentsGainLossRecognizedInIncomeIneffectivePortionAndAmountExcludedFromEffectivenessTestingNet
/ us-gaap_HedgingDesignationAxis
= us-gaap_DesignatedAsHedgingInstrumentMember
/ us-gaap_IncomeStatementLocationAxis
= klac_InterestIncomeAndOtherNetMember
 
Interest Income and Other, Net | Not Designated as Hedging Instrument          
Location in Financial Statements          
Gains recognized in income 7,187us-gaap_DerivativeGainLossOnDerivativeNet
/ us-gaap_HedgingDesignationAxis
= us-gaap_NondesignatedMember
/ us-gaap_IncomeStatementLocationAxis
= klac_InterestIncomeAndOtherNetMember
2,722us-gaap_DerivativeGainLossOnDerivativeNet
/ us-gaap_HedgingDesignationAxis
= us-gaap_NondesignatedMember
/ us-gaap_IncomeStatementLocationAxis
= klac_InterestIncomeAndOtherNetMember
11,112us-gaap_DerivativeGainLossOnDerivativeNet
/ us-gaap_HedgingDesignationAxis
= us-gaap_NondesignatedMember
/ us-gaap_IncomeStatementLocationAxis
= klac_InterestIncomeAndOtherNetMember
5,348us-gaap_DerivativeGainLossOnDerivativeNet
/ us-gaap_HedgingDesignationAxis
= us-gaap_NondesignatedMember
/ us-gaap_IncomeStatementLocationAxis
= klac_InterestIncomeAndOtherNetMember
 
Loss on extinguishment of debt and other, net | Not Designated as Hedging Instrument          
Location in Financial Statements          
Gains recognized in income 1,180us-gaap_DerivativeGainLossOnDerivativeNet
/ us-gaap_HedgingDesignationAxis
= us-gaap_NondesignatedMember
/ us-gaap_IncomeStatementLocationAxis
= klac_GainLossOnExtinguishmentOfDebtAndOtherNetMember
0us-gaap_DerivativeGainLossOnDerivativeNet
/ us-gaap_HedgingDesignationAxis
= us-gaap_NondesignatedMember
/ us-gaap_IncomeStatementLocationAxis
= klac_GainLossOnExtinguishmentOfDebtAndOtherNetMember
1,180us-gaap_DerivativeGainLossOnDerivativeNet
/ us-gaap_HedgingDesignationAxis
= us-gaap_NondesignatedMember
/ us-gaap_IncomeStatementLocationAxis
= klac_GainLossOnExtinguishmentOfDebtAndOtherNetMember
0us-gaap_DerivativeGainLossOnDerivativeNet
/ us-gaap_HedgingDesignationAxis
= us-gaap_NondesignatedMember
/ us-gaap_IncomeStatementLocationAxis
= klac_GainLossOnExtinguishmentOfDebtAndOtherNetMember
 
Accumulated OCI | Derivatives Designated as Hedging Instruments          
Location in Financial Statements          
Gains (losses) in accumulated OCI on derivatives (effective portion) $ 11,924us-gaap_DerivativeInstrumentsGainLossRecognizedInOtherComprehensiveIncomeEffectivePortionNet
/ us-gaap_HedgingDesignationAxis
= us-gaap_DesignatedAsHedgingInstrumentMember
/ us-gaap_OtherComprehensiveIncomeLocationAxis
= us-gaap_OtherComprehensiveIncomeMember
$ 3,864us-gaap_DerivativeInstrumentsGainLossRecognizedInOtherComprehensiveIncomeEffectivePortionNet
/ us-gaap_HedgingDesignationAxis
= us-gaap_DesignatedAsHedgingInstrumentMember
/ us-gaap_OtherComprehensiveIncomeLocationAxis
= us-gaap_OtherComprehensiveIncomeMember
$ 13,957us-gaap_DerivativeInstrumentsGainLossRecognizedInOtherComprehensiveIncomeEffectivePortionNet
/ us-gaap_HedgingDesignationAxis
= us-gaap_DesignatedAsHedgingInstrumentMember
/ us-gaap_OtherComprehensiveIncomeLocationAxis
= us-gaap_OtherComprehensiveIncomeMember
$ 3,573us-gaap_DerivativeInstrumentsGainLossRecognizedInOtherComprehensiveIncomeEffectivePortionNet
/ us-gaap_HedgingDesignationAxis
= us-gaap_DesignatedAsHedgingInstrumentMember
/ us-gaap_OtherComprehensiveIncomeLocationAxis
= us-gaap_OtherComprehensiveIncomeMember