Member's/Stockholder's Equity (Deficit) (Tables)  | 
3 Months Ended | |||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Mar. 31, 2022  | ||||||||||||||||||||||||||||||||||||||||||||||
| Members' Equity [Abstract] | ||||||||||||||||||||||||||||||||||||||||||||||
| Summary of Ownership of XPO LLC | 
 The following table summarizes the ownership of XPO LLC as of March 31, 2022: 
 
  | 
|||||||||||||||||||||||||||||||||||||||||||||
| X | ||||||||||
- References No definition available. 
  | 
| X | ||||||||||
- Definition Tabular disclosure of the key aspects of a subsidiary (partnership, corporation, or other entity) of the limited liability company or limited partnership. No definition available. 
  |