XML 66 R59.htm IDEA: XBRL DOCUMENT
v3.26.1

Debt - Credit Facilities - Additional Information (Detail) € in Millions |  |  |  |  |  |  | 3 Months Ended | 6 Months Ended |  |  |
--- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | ---
Aug. 04, 2026 USD ($) | May 06, 2026 USD ($) | Feb. 04, 2026 USD ($) | Feb. 04, 2026 EUR (€) | Feb. 03, 2026 USD ($) | May 16, 2024 USD ($) | Aug. 17, 2022 | Jun. 30, 2026 USD ($) | Jun. 30, 2025 USD ($) | Jun. 30, 2026 USD ($) | Jun. 30, 2026 EUR (€) | Jun. 30, 2025 USD ($) | Jun. 30, 2026 EUR (€) | Feb. 04, 2026 EUR (€) | Dec. 31, 2025 USD ($) | Dec. 31, 2025 EUR (€)
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt instrument, interest rate terms |  |  |  |  |  |  |  |  |  | borrowings under the Credit Facilities bore interest at a rate per annum equal to, at the Company’s option, any of the following, plus, in each case, an applicable margin: (a) with respect to the USD Tranche B and the Revolving Facility, (x) a base rate determined by reference to the highest of (1) the federal funds effective rate plus 0.50%, (2) the prime rate quoted in The Wall Street Journal, or (3) a forward-looking term rate based on Term SOFR for an interest period of one month, plus 1.00%; and (y) a Term SOFR rate for the interest period relevant to such borrowing and (b) with respect to the Euro Tranche B, a Euro Interbank Offered Rate (“EURIBOR”) rate determined by reference to the costs of funds for Euro deposits for the interest period relevant to such borrowing adjusted for certain additional costs, in each case of clauses (a) and (b) above subject to a rate floor of 0.0%. | borrowings under the Credit Facilities bore interest at a rate per annum equal to, at the Company’s option, any of the following, plus, in each case, an applicable margin: (a) with respect to the USD Tranche B and the Revolving Facility, (x) a base rate determined by reference to the highest of (1) the federal funds effective rate plus 0.50%, (2) the prime rate quoted in The Wall Street Journal, or (3) a forward-looking term rate based on Term SOFR for an interest period of one month, plus 1.00%; and (y) a Term SOFR rate for the interest period relevant to such borrowing and (b) with respect to the Euro Tranche B, a Euro Interbank Offered Rate (“EURIBOR”) rate determined by reference to the costs of funds for Euro deposits for the interest period relevant to such borrowing adjusted for certain additional costs, in each case of clauses (a) and (b) above subject to a rate floor of 0.0%. |  |  |  |  |
Initial commitment fee percentage |  |  |  |  |  |  |  |  |  | 0.25% | 0.25% |  |  |  |  |
Repayments of notes from proceeds from offering |  |  |  |  |  |  |  |  |  | $ 1,378,000,000 |  | $ 225,000,000 |  |  |  |
Loss on extinguishment of debt |  |  |  |  |  |  |  | $ 4,000,000 | $ 2,000,000 | 9,000,000 |  | $ 5,000,000 |  |  |  |
Outstanding principal amount |  |  |  |  |  |  |  | 4,023,000,000 |  | $ 4,023,000,000 |  |  |  |  | $ 4,278,000,000 |
Debt refinanced description |  |  |  |  |  |  |  |  |  | (i) refinanced its then-existing USD Tranche B loan and Euro Tranche B loan with the $914 USD Tranche B loan and the €587 Euro Tranche B loan, (ii) refinanced and increased the commitments under its then-existing Revolving Facility with the $1,000 Revolving Facility, (iii) decreased the applicable margin for the USD Tranche B from 2.00% to 1.75% with respect to Term SOFR borrowings and from 1.00% to 0.75% with respect to base rate borrowings, (iv) decreased the applicable margin for the Euro Tranche B from 2.50% to 2.00%, (v) decreased the applicable margin under the Revolving Facility from 2.50% to 1.75% with respect to SOFR borrowings and from 1.50% to 0.75% with respect to base rate borrowings, (vi) eliminated the credit spread adjustment applicable to SOFR borrowings of the Revolving Facility and (vii) extended the maturities of the Term Loan Facility to February 2033 and the Revolving Facility to February 2031. The refinanced USD Tranche B loan and Euro Tranche B loan were issued without original issue discount. In connection with the execution of the Sixth Amendment, the Company paid customary fees and expenses to JPMorgan Chase Bank, N.A | (i) refinanced its then-existing USD Tranche B loan and Euro Tranche B loan with the $914 USD Tranche B loan and the €587 Euro Tranche B loan, (ii) refinanced and increased the commitments under its then-existing Revolving Facility with the $1,000 Revolving Facility, (iii) decreased the applicable margin for the USD Tranche B from 2.00% to 1.75% with respect to Term SOFR borrowings and from 1.00% to 0.75% with respect to base rate borrowings, (iv) decreased the applicable margin for the Euro Tranche B from 2.50% to 2.00%, (v) decreased the applicable margin under the Revolving Facility from 2.50% to 1.75% with respect to SOFR borrowings and from 1.50% to 0.75% with respect to base rate borrowings, (vi) eliminated the credit spread adjustment applicable to SOFR borrowings of the Revolving Facility and (vii) extended the maturities of the Term Loan Facility to February 2033 and the Revolving Facility to February 2031. The refinanced USD Tranche B loan and Euro Tranche B loan were issued without original issue discount. In connection with the execution of the Sixth Amendment, the Company paid customary fees and expenses to JPMorgan Chase Bank, N.A |  |  |  |  |
Revolving Credit Facility [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Total borrowings outstanding |  |  |  |  |  |  |  | 0 |  | $ 0 |  |  |  |  |  |
Sixth Amendment [Member] | Revolving Credit Facility [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Borrowing capacity |  |  | $ 1,000,000,000 |  |  |  |  |  |  |  |  |  |  |  |  |
Base Rate Borrowings [Member] | Sixth Amendment [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, decrease in interest rate |  |  | 0.75% | 0.75% | 1.00% |  |  |  |  |  |  |  |  |  |  |
Base Rate Borrowings [Member] | Sixth Amendment [Member] | Revolving Credit Facility [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, decrease in interest rate |  |  | 0.75% | 0.75% | 1.50% |  |  |  |  |  |  |  |  |  |  |
Term SOFR Borrowings [Member] | Sixth Amendment [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, decrease in interest rate |  |  | 1.75% | 1.75% | 2.00% |  |  |  |  |  |  |  |  |  |  |
Borrowings under Euro Tranche B [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt instrument, interest rate |  |  |  |  |  |  |  |  |  | 2.00% | 2.00% |  |  |  |  |
Senior Notes Due 2034 [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Outstanding principal amount |  |  |  |  |  |  |  | 1,142,000,000 |  | $ 1,142,000,000 |  |  | € 1,000 |  | 0 |
Term Loan Facility [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Outstanding principal amount |  |  |  |  |  |  |  | $ 1,481,000,000 |  | $ 1,481,000,000 |  |  |  |  | $ 2,878,000,000 |
Weighted average interest rate |  |  |  |  |  |  |  | 4.75% |  | 4.75% |  |  | 4.75% |  |  |
Federal Funds Rate [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt instrument, interest rate |  |  |  |  |  |  |  |  |  | 0.50% | 0.50% |  |  |  |  |
Term SOFR Rate (Plus Applicable Credit Spread Adjustment) [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt instrument, interest rate |  |  |  |  |  |  |  |  |  | 1.00% | 1.00% |  |  |  |  |
EURIBOR Rate Floor [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt instrument, interest rate |  |  |  |  |  |  |  |  |  | 0.00% | 0.00% |  |  |  |  |
SOFR Borrowings [Member] | Sixth Amendment [Member] | Revolving Credit Facility [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, decrease in interest rate |  |  | 1.75% | 1.75% | 2.50% |  |  |  |  |  |  |  |  |  |  |
Atotech [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Credit agreement date |  |  |  |  |  |  | Aug. 17, 2022 |  |  |  |  |  |  |  |  |
Borrowing capacity |  |  |  |  |  |  |  | $ 1,000,000,000 |  | $ 1,000,000,000 |  |  |  |  |  |
USD Tranche B [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Borrowing capacity |  |  |  |  |  |  |  | $ 812,000,000 |  | $ 812,000,000 |  |  |  |  |  |
Repayments of notes from proceeds from offering |  |  |  |  |  | $ 1,206,000,000 |  |  |  |  |  |  |  |  |  |
Prepayment premium percentage of aggregate principal amount |  |  |  |  |  |  |  |  |  | 1.00% | 1.00% |  |  |  |  |
Scheduled quarterly payments amount |  |  |  |  |  |  |  |  |  | $ 2,000,000 |  |  |  |  |  |
Outstanding principal amount |  |  | $ 914,000,000 |  | $ 2,188,000,000 |  |  |  |  |  |  |  |  |  |  |
Loan voluntary prepayment amount |  | $ 100,000,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |
USD Tranche B [Member] | Subsequent Event [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Loan voluntary prepayment amount | $ 100,000,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
USD Tranche B [Member] | Sixth Amendment [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt refinanced amount |  |  | 914,000,000 |  |  |  |  |  |  |  |  |  |  |  |  |
USD Tranche B [Member] | Term SOFR Borrowings [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt instrument, interest rate |  |  |  |  |  |  |  |  |  | 1.75% | 1.75% |  |  |  |  |
USD Tranche B [Member] | Senior Notes Due 2034 [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Repayments of notes from proceeds from offering |  |  | 1,274,000,000 |  |  |  |  |  |  |  |  |  |  |  |  |
Outstanding principal amount | € |  |  |  |  |  |  |  |  |  |  |  |  |  | € 1,000 |  |
USD Tranche B [Member] | Senior Notes Due 2034 [Member] | Sixth Amendment [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Loan voluntary prepayment amount |  |  | $ 1,274,000,000 |  |  |  |  |  |  |  |  |  |  |  |  |
USD Tranche B [Member] | Base Rate [Member] | Revolving Credit Facility [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt instrument, interest rate |  |  |  |  |  |  |  |  |  | 0.75% | 0.75% |  |  |  |  |
Euro Tranche B [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Scheduled quarterly payments amount | € |  |  |  |  |  |  |  |  |  |  | € 2 |  |  |  |  |
Outstanding principal amount | € |  |  |  |  |  |  |  |  |  |  |  |  | € 585 |  |  | € 587
Euro Tranche B [Member] | Sixth Amendment [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt refinanced amount | € |  |  |  | € 587 |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, decrease in interest rate |  |  | 2.00% | 2.00% | 2.50% |  |  |  |  |  |  |  |  |  |  |

X
- Definition Initial commitment fee percentage. + References No definition available. + Details
Name: | mksi_InitialCommitmentFeePercentage
Namespace Prefix: | mksi_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Loan voluntary prepayment amount. + References No definition available. + Details
Name: | mksi_LoanVoluntaryPrepaymentAmount
Namespace Prefix: | mksi_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Prepayment premium percentage of aggregate principal amount. + References No definition available. + Details
Name: | mksi_PrepaymentPremiumPercentageOfAggregatePrincipalAmount
Namespace Prefix: | mksi_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Date when acquisition agreement is executed in business combination, in YYYY-MM-DD format. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 805 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 7 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479328/805-10-50-7 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 805 -SubTopic 10 -Name Accounting Standards Codification -Section 25 -Paragraph 7 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479405/805-10-25-7 + Details
Name: | us-gaap_BusinessAcquisitionDateOfAcquisitionAgreement1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:dateItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage points added to the reference rate to compute the variable rate on the debt instrument. + References No definition available. + Details
Name: | us-gaap_DebtInstrumentBasisSpreadOnVariableRate1
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Face (par) amount of debt instrument at time of issuance. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 835 -SubTopic 30 -Name Accounting Standards Codification -Section 55 -Paragraph 8 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482949/835-30-55-8 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1B -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1B Reference 3: http://www.xbrl.org/2003/role/exampleRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 69B -Publisher FASB -URI https://asc.fasb.org/1943274/2147481568/470-20-55-69B Reference 4: http://www.xbrl.org/2003/role/exampleRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 69C -Publisher FASB -URI https://asc.fasb.org/1943274/2147481568/470-20-55-69C Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Topic 835 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482900/835-30-50-1 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Topic 835 -SubTopic 30 -Name Accounting Standards Codification -Section 45 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482925/835-30-45-2 + Details
Name: | us-gaap_DebtInstrumentFaceAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Incremental percentage increase (decrease) in the stated rate on a debt instrument. + References No definition available. + Details
Name: | us-gaap_DebtInstrumentInterestRateIncreaseDecrease
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Description of the interest rate as being fixed or variable, and, if variable, identification of the index or rate on which the interest rate is based and the number of points or percentage added to that index or rate to set the rate, and other pertinent information, such as frequency of rate resets. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(22)(a)(1)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_DebtInstrumentInterestRateTerms
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 8A -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-8A Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 942 -SubTopic 235 -Name Accounting Standards Codification -Section S99 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org/1943274/2147477314/942-235-S99-2 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 235 -SubTopic 10 -Name Accounting Standards Codification -Section S50 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480738/235-10-S50-1 Reference 4: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 235 -SubTopic 10 -Name Accounting Standards Codification -Section S50 -Paragraph 4 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480738/235-10-S50-4 Reference 5: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 235 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.12-04(a)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480678/235-10-S99-3 Reference 6: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 235 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08(f)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480678/235-10-S99-1 Reference 7: http://www.xbrl.org/2003/role/exampleRef -Topic 835 -SubTopic 30 -Name Accounting Standards Codification -Section 55 -Paragraph 8 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482949/835-30-55-8 Reference 8: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1B -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1B Reference 9: http://www.xbrl.org/2003/role/exampleRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 69B -Publisher FASB -URI https://asc.fasb.org/1943274/2147481568/470-20-55-69B Reference 10: http://www.xbrl.org/2003/role/exampleRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 69C -Publisher FASB -URI https://asc.fasb.org/1943274/2147481568/470-20-55-69C Reference 11: http://www.xbrl.org/2003/role/exampleRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 69E -Publisher FASB -URI https://asc.fasb.org/1943274/2147481568/470-20-55-69E Reference 12: http://www.xbrl.org/2003/role/exampleRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 69F -Publisher FASB -URI https://asc.fasb.org/1943274/2147481568/470-20-55-69F Reference 13: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1B -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1B Reference 14: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1B -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1B Reference 15: http://www.xbrl.org/2003/role/exampleRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1B -Subparagraph (d) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1B Reference 16: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1B -Subparagraph (e) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1B Reference 17: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1B -Subparagraph (f) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1B Reference 18: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1B -Subparagraph (h) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1B Reference 19: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1D -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1D Reference 20: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1D -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1D Reference 21: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1D -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1D Reference 22: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1E -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1E Reference 23: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1E -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1E Reference 24: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1E -Subparagraph (d) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1E Reference 25: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1F -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1F Reference 26: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1F -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1F Reference 27: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1F -Subparagraph (b)(1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1F Reference 28: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1F -Subparagraph (b)(2) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1F Reference 29: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1I -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1I Reference 30: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 835 -SubTopic 30 -Name Accounting Standards Codification -Section 45 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482925/835-30-45-2 Reference 31: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 835 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482900/835-30-50-1 + Details
Name: | us-gaap_DebtInstrumentLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of the required periodic payments applied to principal. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(22)) -SubTopic 10 -Topic 210 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_DebtInstrumentPeriodicPaymentPrincipal
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Weighted average interest rate of debt outstanding. + References No definition available. + Details
Name: | us-gaap_DebtWeightedAverageInterestRate
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Difference between the fair value of payments made and the carrying amount of debt which is extinguished prior to maturity. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section 45 -Paragraph 28 -Subparagraph (b) -SubTopic 10 -Topic 230 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482740/230-10-45-28 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 470 -SubTopic 50 -Section 40 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481303/470-50-40-2 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 470 -SubTopic 50 -Section 40 -Paragraph 4 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481303/470-50-40-4 + Details
Name: | us-gaap_GainsLossesOnExtinguishmentOfDebt
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The carrying value as of the balance sheet date of the current and noncurrent portions of long-term obligations drawn from a line of credit, which is a bank's commitment to make loans up to a specific amount. Examples of items that might be included in the application of this element may consist of letters of credit, standby letters of credit, and revolving credit arrangements, under which borrowings can be made up to a maximum amount as of any point in time conditional on satisfaction of specified terms before, as of and after the date of drawdowns on the line. Includes short-term obligations that would normally be classified as current liabilities but for which (a) postbalance sheet date issuance of a long term obligation to refinance the short term obligation on a long term basis, or (b) the enterprise has entered into a financing agreement that clearly permits the enterprise to refinance the short-term obligation on a long term basis and the following conditions are met (1) the agreement does not expire within 1 year and is not cancelable by the lender except for violation of an objectively determinable provision, (2) no violation exists at the BS date, and (3) the lender has entered into the financing agreement is expected to be financially capable of honoring the agreement. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(22)) -SubTopic 10 -Topic 210 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 942 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(16)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478546/942-210-S99-1 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 944 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(a)(16)(a)(2)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478777/944-210-S99-1 + Details
Name: | us-gaap_LineOfCredit
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Maximum borrowing capacity under the credit facility without consideration of any current restrictions on the amount that could be borrowed or the amounts currently outstanding under the facility. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(22)(b)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(19)(b)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of cash outflow for short-term and long-term debt. Excludes payment of lease obligation. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 230 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 15 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482740/230-10-45-15 + Details
Name: | us-gaap_RepaymentsOfDebt
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of a short-term obligation that has been excluded from current liabilities in the balance sheet because of a refinancing of the obligation. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 470 -SubTopic 10 -Section 50 -Paragraph 4 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481544/470-10-50-4 + Details
Name: | us-gaap_ShortTermDebtRefinancedAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Description of the refinancing of a short-term obligation when that obligation is excluded from current liabilities in the balance sheet. The description generally includes a general discussion of the terminated financing agreement and the terms of the new obligation or equity securities issued or expected to be issued as a result of the refinancing. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481544/470-10-50-4 + Details
Name: | us-gaap_ShortTermDebtRefinancedDescription
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_CreditFacilityAxis=us-gaap_RevolvingCreditFacilityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_TypeOfArrangementAxis=mksi_SixthAmendmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=mksi_BaseRateBorrowingsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=mksi_TermSofrBorrowingsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=mksi_BorrowingsUnderEuroTrancheBMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=mksi_SeniorNotesDue2034Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=mksi_TermLoanFacilityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=mksi_FederalFundsRateMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=mksi_TermSofrRatePlusApplicableCreditSpreadAdjustmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=mksi_EuriborRateFloorMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=us-gaap_SecuredOvernightFinancingRateSofrMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BusinessAcquisitionAxis=mksi_AtotechMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VestingAxis=mksi_UsdTrancheBMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_SubsequentEventTypeAxis=us-gaap_SubsequentEventMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=us-gaap_BaseRateMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VestingAxis=mksi_EuroTrancheBMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |