XML 70 R61.htm IDEA: XBRL DOCUMENT
v3.23.1

Debt - Additional Information (Detail) - USD ($) $ in Millions | Mar. 31, 2023 | Dec. 31, 2022
--- | --- | ---
New Term Loan Facility [Member] |  |
Debt Instrument [Line Items] |  |
Deferred financing fees, original issuance discount and repricing fees | $ 187 | $ 195

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 No definition available. + Details
Name: | us-gaap_DebtInstrumentLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount, after accumulated amortization, of debt issuance costs classified as noncurrent. Includes, but is not limited to, legal, accounting, underwriting, printing, and registration costs. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 3 -URI https://asc.fasb.org/extlink&oid=124435984&loc=d3e28555-108399 + Details
Name: | us-gaap_DeferredFinanceCostsNoncurrentNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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