XML 68 R54.htm IDEA: XBRL DOCUMENT
v3.22.0.1

Valuation and Qualifying Accounts (Tables) | 12 Months Ended
--- | ---
Dec. 31, 2021
SEC Schedule, 12-09, Valuation and Qualifying Accounts [Abstract] |
Schedule of Valuation and Qualifying Accounts | The table below provides changes in the allowance for credit losses over each period:
(in millions) | 2021 |  | 2020 |  | 2019
Balance at beginning of year | $ | 38 |  |  | $ | 25 |  |  | $ | 25 |
Additions charged to expense | 2 |  |  | 25 |  |  | 3 |
Deductions/other | (5) |  |  | (12) |  |  | (3) |
Balance at end of year | $ | 35 |  |  | $ | 38 |  |  | $ | 25 |

X
- References No definition available. + Details
Name: | srt_ValuationAndQualifyingAccountsAbstract
Namespace Prefix: | srt_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Schedule of Valuation and Qualifying Accounts + References No definition available. + Details
Name: | xyl_ScheduleOfValuationAndQualifyingAccountsTableTextBlock
Namespace Prefix: | xyl_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration