XML 131 R118.htm IDEA: XBRL DOCUMENT
v3.22.4

Restructuring and Other - Additional Information (Detail) $ in Millions | 12 Months Ended
--- | ---
Dec. 31, 2022 USD ($) Facility | Dec. 31, 2021 USD ($) Facility
Restructuring Cost and Other Cost [Line Items] |  |
Restructuring costs | $ 10 | $ 7
Other restructuring charges, facility cost |  | $ 3
Atotech [Member] |  |
Restructuring Cost and Other Cost [Line Items] |  |
Restructuring costs | $ 10 |
Europe [Member] |  |
Restructuring Cost and Other Cost [Line Items] |  |
Number of facilities yet to close | Facility |  | 2
Europe [Member] | Atotech [Member] |  |
Restructuring Cost and Other Cost [Line Items] |  |
Number of facilities yet to close | Facility | 2 |

X
- Definition Number of facilities yet to close. + References No definition available. + Details
Name: | mksi_NumberOfFacilitiesYetToClose
Namespace Prefix: | mksi_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Restructuring cost and other cost. + References No definition available. + Details
Name: | mksi_RestructuringCostAndOtherCostLineItems
Namespace Prefix: | mksi_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of other expenses associated with exit or disposal activities pursuant to an authorized plan. Excludes expenses associated with a discontinued operation or an asset retirement obligation. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=126954810&loc=d3e3602-108585 + Details
Name: | us-gaap_OtherRestructuringCosts
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of expenses associated with exit or disposal activities pursuant to an authorized plan. Excludes expenses related to a discontinued operation or an asset retirement obligation. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 420 -SubTopic 10 -Section 45 -Paragraph 3 -URI https://asc.fasb.org/extlink&oid=109237686&loc=d3e17752-110868 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 420 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SAB Topic 5.P.3) -URI https://asc.fasb.org/extlink&oid=115931487&loc=d3e140864-122747 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=126954810&loc=d3e3602-108585 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 420 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SAB Topic 5.P.4(b)(1)) -URI https://asc.fasb.org/extlink&oid=115931487&loc=d3e140904-122747 + Details
Name: | us-gaap_RestructuringCharges
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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

X
- Details
Name: | srt_StatementGeographicalAxis=srt_EuropeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |