XML 65 R59.htm IDEA: XBRL DOCUMENT
v3.25.3

Debt - Credit Facilities - Additional Information (Detail) |  |  |  |  |  |  |  | 3 Months Ended | 9 Months Ended |  |  |
--- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | ---
Oct. 29, 2025 USD ($) | Aug. 01, 2025 USD ($) | Jun. 27, 2025 USD ($) | Jan. 24, 2025 USD ($) | Jan. 24, 2025 EUR (€) | Jan. 23, 2025 | May 16, 2024 USD ($) | Aug. 17, 2022 USD ($) | Sep. 30, 2025 USD ($) | Sep. 30, 2024 USD ($) | Jun. 30, 2024 USD ($) | Sep. 30, 2025 USD ($) | Sep. 30, 2025 EUR (€) | Sep. 30, 2024 USD ($) | Sep. 30, 2025 EUR (€) | Dec. 31, 2024 USD ($) | Aug. 17, 2022 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 Revolving Facility and the USD Tranche B, (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 (plus an applicable credit spread adjustment) for an interest period of one month, plus 1.00%; and (y) a Term SOFR rate (plus an applicable credit spread adjustment) for the interest period relevant to such borrowing, subject to a rate floor of (I) with respect to the USD Tranche B, 0.50% and (II) with respect to the Revolving Facility, 0.0%; 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, subject to a EURIBOR 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 Revolving Facility and the USD Tranche B, (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 (plus an applicable credit spread adjustment) for an interest period of one month, plus 1.00%; and (y) a Term SOFR rate (plus an applicable credit spread adjustment) for the interest period relevant to such borrowing, subject to a rate floor of (I) with respect to the USD Tranche B, 0.50% and (II) with respect to the Revolving Facility, 0.0%; 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, subject to a EURIBOR rate floor of 0.0%. |  |  |  |
Initial commitment fee percentage |  |  |  |  |  |  |  |  |  |  |  | 0.25% | 0.25% |  |  |  |
Repayments of notes from proceeds from offering |  |  |  |  |  |  |  |  |  |  |  | $ 338,000,000 |  | $ 2,198,000,000 |  |  |
Loss on extinguishment of debt |  |  |  |  |  |  |  |  | $ 2,000,000 | $ 5,000,000 |  | 8,000,000 |  | $ 52,000,000 |  |  |
Outstanding principal amount |  |  |  |  |  |  |  |  | 4,389,000,000 |  |  | $ 4,389,000,000 |  |  |  | $ 4,649,000,000 |
Debt refinanced description |  |  |  |  |  |  |  |  |  |  |  | (i) refinanced its existing USD Tranche B loan and Euro Tranche B loan with a new $2,529 USD Tranche B loan and a new €596 Euro Tranche B loan, (ii) decreased the applicable margin for the USD Tranche B from 2.25% to 2.00% with respect to Term SOFR borrowings and from 1.25% to 1.00% with respect to base rate borrowings and (iii) decreased the applicable margin for the Euro Tranche B from 2.75% to 2.50%. The repriced USD Tranche B loan and Euro Tranche B loan were issued without original issue discount. In connection with the execution of the Fifth Amendment, the Company paid customary fees and expenses to JPMorgan Chase Bank, N.A. | (i) refinanced its existing USD Tranche B loan and Euro Tranche B loan with a new $2,529 USD Tranche B loan and a new €596 Euro Tranche B loan, (ii) decreased the applicable margin for the USD Tranche B from 2.25% to 2.00% with respect to Term SOFR borrowings and from 1.25% to 1.00% with respect to base rate borrowings and (iii) decreased the applicable margin for the Euro Tranche B from 2.75% to 2.50%. The repriced USD Tranche B loan and Euro Tranche B loan were issued without original issue discount. In connection with the execution of the Fifth Amendment, the Company paid customary fees and expenses to JPMorgan Chase Bank, N.A. |  |  |  |
Base Rate Borrowings [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, decrease in interest rate |  |  |  | 1.00% | 1.00% | 1.25% |  |  |  |  |  |  |  |  |  |  |
Term SOFR Borrowings [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt instrument, interest rate |  |  |  |  |  |  |  |  |  |  |  | 2.50% | 2.50% |  |  |  |
Debt Instrument, decrease in interest rate |  |  |  | 2.00% | 2.00% | 2.25% |  |  |  |  |  |  |  |  |  |  |
Borrowings under Euro Tranche B [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt instrument, interest rate |  |  |  |  |  |  |  |  |  |  |  | 2.50% | 2.50% |  |  |  |
Revolving Credit Facility [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Total borrowings outstanding |  |  |  |  |  |  |  |  | 0 |  |  | $ 0 |  |  |  |  |
Increased available borrowing capacity |  |  |  |  |  |  |  |  |  |  |  | 675,000,000 |  |  |  |  |
Term Loan Facility [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Outstanding principal amount |  |  |  |  |  |  |  |  | $ 2,989,000,000 |  |  | $ 2,989,000,000 |  |  |  | $ 3,249,000,000 |
Weighted average interest rate |  |  |  |  |  |  |  |  | 5.80% |  |  | 5.80% |  |  | 5.80% |  |
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% |  |  |  |
Floor Rate [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt instrument, interest rate |  |  |  |  |  |  |  |  |  |  |  | 0.00% | 0.00% |  |  |  |
EURIBOR Rate Floor [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt instrument, interest rate |  |  |  |  |  |  |  |  |  |  |  | 0.00% | 0.00% |  |  |  |
Base Rate [Member] | Borrowings Under Revolving Facility [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt instrument, interest rate |  |  |  |  |  |  |  |  |  |  |  | 1.50% | 1.50% |  |  |  |
Atotech [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Credit agreement date |  |  |  |  |  |  |  | Aug. 17, 2022 |  |  |  |  |  |  |  |  |
Borrowing capacity |  |  |  |  |  |  |  | $ 500,000,000 |  |  |  |  |  |  |  |  |
USD Tranche A [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Borrowing capacity |  |  |  |  |  |  |  | 1,000,000,000 |  |  |  |  |  |  |  |  |
USD Tranche B [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Borrowing capacity |  |  |  |  |  |  |  | $ 3,600,000,000 |  |  |  |  |  |  |  |  |
Repayments of notes from proceeds from offering |  |  |  |  |  |  | $ 1,206,000,000 |  |  |  |  |  |  |  |  |  |
Loss on extinguishment of debt |  |  |  |  |  |  |  |  |  |  | $ 38,000,000 |  |  |  |  |  |
Prepayment premium percentage of aggregate principal amount |  |  |  |  |  |  |  |  |  |  |  | 1.00% | 1.00% |  |  |  |
Scheduled quarterly payments amount |  |  |  |  |  |  |  |  |  |  |  | $ 10,000,000 |  |  |  |  |
Outstanding principal amount |  |  |  |  |  |  |  |  | $ 2,298,000,000 |  |  | $ 2,298,000,000 |  |  |  |  |
Debt refinanced amount |  |  |  | $ 2,529,000,000 | € 596,000,000 |  |  |  |  |  |  |  |  |  |  |  |
Loan voluntary prepayment amount |  | $ 100,000,000 | $ 100,000,000 | $ 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] | Term SOFR Borrowings [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt instrument, interest rate |  |  |  |  |  |  |  |  |  |  |  | 2.00% | 2.00% |  |  |  |
USD Tranche B [Member] | Floor Rate [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt instrument, interest rate |  |  |  |  |  |  |  |  |  |  |  | 0.50% | 0.50% |  |  |  |
USD Tranche B [Member] | Base Rate [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt instrument, interest rate |  |  |  |  |  |  |  |  |  |  |  | 1.00% | 1.00% |  |  |  |
Euro Tranche B [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Borrowing capacity | € |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | € 600,000,000
Scheduled quarterly payments amount | € |  |  |  |  |  |  |  |  |  |  |  |  | € 2,000,000 |  |  |  |
Outstanding principal amount | € |  |  |  |  |  |  |  |  |  |  |  |  |  |  | € 589,000,000 |  |
Debt Instrument, decrease in interest rate |  |  |  | 2.50% | 2.50% | 2.75% |  |  |  |  |  |  |  |  |  |  |

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 Amount of increase (decrease) of the credit facility. + References Reference 1: 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 2: 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 + Details
Name: | us-gaap_LineOfCreditFacilityIncreaseDecreaseForPeriodNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

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_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=us-gaap_RevolvingCreditFacilityMember
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=us-gaap_InterestRateFloorMember
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_BaseRateMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=mksi_BorrowingsUnderRevolvingFacilityMember
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_UsdTrancheAMember
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_VestingAxis=mksi_EuroTrancheBMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |