Quarterly report pursuant to Section 13 or 15(d)

Derivative Instruments and Hedging Activities - Additional Information (Details)

v2.4.1.9
Derivative Instruments and Hedging Activities - Additional Information (Details) (USD $)
9 Months Ended 3 Months Ended
Mar. 31, 2015
Dec. 31, 2014
Mar. 31, 2015
Jun. 30, 2014
Nov. 30, 2014
Oct. 31, 2014
Derivative [Line Items]            
Unrealized gains recognized within accumulated other comprehensive income 4,412,000us-gaap_AccumulatedOtherComprehensiveIncomeLossCumulativeChangesInNetGainLossFromCashFlowHedgesEffectNetOfTax   $ 4,412,000us-gaap_AccumulatedOtherComprehensiveIncomeLossCumulativeChangesInNetGainLossFromCashFlowHedgesEffectNetOfTax $ (12,000)us-gaap_AccumulatedOtherComprehensiveIncomeLossCumulativeChangesInNetGainLossFromCashFlowHedgesEffectNetOfTax    
Senior Notes            
Derivative [Line Items]            
Debt instrument, face amount         2,500,000,000.0us-gaap_DebtInstrumentFaceAmount
/ us-gaap_LongtermDebtTypeAxis
= us-gaap_SeniorNotesMember
 
Fixed-rate 4.650% Senior notes due on November 1, 2024 | Senior Notes            
Derivative [Line Items]            
Debt instrument, face amount           1,250,000,000us-gaap_DebtInstrumentFaceAmount
/ us-gaap_DebtInstrumentAxis
= klac_SeniorNotesDueNovember12024Member
/ us-gaap_LongtermDebtTypeAxis
= us-gaap_SeniorNotesMember
Stated interest rate 4.65%us-gaap_DebtInstrumentInterestRateStatedPercentage
/ us-gaap_DebtInstrumentAxis
= klac_SeniorNotesDueNovember12024Member
/ us-gaap_LongtermDebtTypeAxis
= us-gaap_SeniorNotesMember
[1]   4.65%us-gaap_DebtInstrumentInterestRateStatedPercentage
/ us-gaap_DebtInstrumentAxis
= klac_SeniorNotesDueNovember12024Member
/ us-gaap_LongtermDebtTypeAxis
= us-gaap_SeniorNotesMember
[1]     4.65%us-gaap_DebtInstrumentInterestRateStatedPercentage
/ us-gaap_DebtInstrumentAxis
= klac_SeniorNotesDueNovember12024Member
/ us-gaap_LongtermDebtTypeAxis
= us-gaap_SeniorNotesMember
2018 Senior Notes | Senior Notes            
Derivative [Line Items]            
Debt instrument, face amount         750,000,000us-gaap_DebtInstrumentFaceAmount
/ us-gaap_DebtInstrumentAxis
= klac_SeniorNotesDueMay12018Member
/ us-gaap_LongtermDebtTypeAxis
= us-gaap_SeniorNotesMember
 
Stated interest rate 6.90%us-gaap_DebtInstrumentInterestRateStatedPercentage
/ us-gaap_DebtInstrumentAxis
= klac_SeniorNotesDueMay12018Member
/ us-gaap_LongtermDebtTypeAxis
= us-gaap_SeniorNotesMember
  6.90%us-gaap_DebtInstrumentInterestRateStatedPercentage
/ us-gaap_DebtInstrumentAxis
= klac_SeniorNotesDueMay12018Member
/ us-gaap_LongtermDebtTypeAxis
= us-gaap_SeniorNotesMember
6.90%us-gaap_DebtInstrumentInterestRateStatedPercentage
/ us-gaap_DebtInstrumentAxis
= klac_SeniorNotesDueMay12018Member
/ us-gaap_LongtermDebtTypeAxis
= us-gaap_SeniorNotesMember
   
Derivatives Designated as Hedging Instruments            
Derivative [Line Items]            
Hedge contracts maximum maturity 13 months          
Not Designated as Hedging Instrument | Senior Notes | Treasury Lock | 2018 Senior Notes | Non-Designated Forward Contracts            
Derivative [Line Items]            
Notional amount of derivative         750,000,000invest_DerivativeNotionalAmount
/ us-gaap_DebtInstrumentAxis
= klac_SeniorNotesDueMay12018Member
/ us-gaap_DerivativeByNatureAxis
= us-gaap_ForwardContractsMember
/ us-gaap_DerivativeInstrumentRiskAxis
= us-gaap_TreasuryLockMember
/ us-gaap_HedgingDesignationAxis
= us-gaap_NondesignatedMember
/ us-gaap_UnderlyingAssetClassAxis
= us-gaap_SeniorNotesMember
 
Derivative, gain on derivative   1,200,000us-gaap_DerivativeGainOnDerivative
/ us-gaap_DebtInstrumentAxis
= klac_SeniorNotesDueMay12018Member
/ us-gaap_DerivativeByNatureAxis
= us-gaap_ForwardContractsMember
/ us-gaap_DerivativeInstrumentRiskAxis
= us-gaap_TreasuryLockMember
/ us-gaap_HedgingDesignationAxis
= us-gaap_NondesignatedMember
/ us-gaap_UnderlyingAssetClassAxis
= us-gaap_SeniorNotesMember
       
Cash Flow Hedging | Derivatives Designated as Hedging Instruments            
Derivative [Line Items]            
Derivative maximum maturity, cash flow hedges 18 months          
Cash Flow Hedging | Derivatives Designated as Hedging Instruments | Senior Notes | Treasury Lock | Portion of senior notes | Non-Designated Forward Contracts            
Derivative [Line Items]            
Notional amount of derivative           1,000,000,000invest_DerivativeNotionalAmount
/ us-gaap_DebtInstrumentAxis
= klac_PortionofSeniorNotesMember
/ us-gaap_DerivativeByNatureAxis
= us-gaap_ForwardContractsMember
/ us-gaap_DerivativeInstrumentRiskAxis
= us-gaap_TreasuryLockMember
/ us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis
= us-gaap_CashFlowHedgingMember
/ us-gaap_HedgingDesignationAxis
= us-gaap_DesignatedAsHedgingInstrumentMember
/ us-gaap_UnderlyingAssetClassAxis
= us-gaap_SeniorNotesMember
Unrealized gains recognized within accumulated other comprehensive income   7,500,000us-gaap_AccumulatedOtherComprehensiveIncomeLossCumulativeChangesInNetGainLossFromCashFlowHedgesEffectNetOfTax
/ us-gaap_DebtInstrumentAxis
= klac_PortionofSeniorNotesMember
/ us-gaap_DerivativeByNatureAxis
= us-gaap_ForwardContractsMember
/ us-gaap_DerivativeInstrumentRiskAxis
= us-gaap_TreasuryLockMember
/ us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis
= us-gaap_CashFlowHedgingMember
/ us-gaap_HedgingDesignationAxis
= us-gaap_DesignatedAsHedgingInstrumentMember
/ us-gaap_UnderlyingAssetClassAxis
= us-gaap_SeniorNotesMember
       
Cash Flow Hedging | Derivatives Designated as Hedging Instruments | Senior Notes | Treasury Lock | Portion of senior notes | Non-Designated Forward Contracts | Interest Expense            
Derivative [Line Items]            
Recognition of gain amortized in accumulated other comprehensive income (loss) 300,000us-gaap_DerivativeInstrumentsGainReclassifiedFromAccumulatedOCIIntoIncomeEffectivePortion
/ us-gaap_DebtInstrumentAxis
= klac_PortionofSeniorNotesMember
/ us-gaap_DerivativeByNatureAxis
= us-gaap_ForwardContractsMember
/ us-gaap_DerivativeInstrumentRiskAxis
= us-gaap_TreasuryLockMember
/ us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis
= us-gaap_CashFlowHedgingMember
/ us-gaap_HedgingDesignationAxis
= us-gaap_DesignatedAsHedgingInstrumentMember
/ us-gaap_IncomeStatementLocationAxis
= us-gaap_InterestExpenseMember
/ us-gaap_UnderlyingAssetClassAxis
= us-gaap_SeniorNotesMember
  $ 200,000us-gaap_DerivativeInstrumentsGainReclassifiedFromAccumulatedOCIIntoIncomeEffectivePortion
/ us-gaap_DebtInstrumentAxis
= klac_PortionofSeniorNotesMember
/ us-gaap_DerivativeByNatureAxis
= us-gaap_ForwardContractsMember
/ us-gaap_DerivativeInstrumentRiskAxis
= us-gaap_TreasuryLockMember
/ us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis
= us-gaap_CashFlowHedgingMember
/ us-gaap_HedgingDesignationAxis
= us-gaap_DesignatedAsHedgingInstrumentMember
/ us-gaap_IncomeStatementLocationAxis
= us-gaap_InterestExpenseMember
/ us-gaap_UnderlyingAssetClassAxis
= us-gaap_SeniorNotesMember
     
[1] The effective interest rate disclosed above for this series of Senior Notes excludes the impact of the treasury rate lock hedge discussed below. The effective interest rate including the impact of the treasury rate lock hedge was 4.626%.