<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.10.0.1</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>555</ContextCount>
  <ElementCount>529</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>151</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>10</UnitCount>
  <MyReports>
    <Report instance="xpo-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>0001000 - Document - Document and Entity Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xpologistics.com/role/DocumentAndEntityInformation</Role>
      <ShortName>Document and Entity Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="xpo-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>1001000 - Statement - Consolidated Balance Sheets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xpologistics.com/role/ConsolidatedBalanceSheets</Role>
      <ShortName>Consolidated Balance Sheets</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="xpo-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>1001501 - Statement - Consolidated Balance Sheets - (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xpologistics.com/role/ConsolidatedBalanceSheetsParenthetical</Role>
      <ShortName>Consolidated Balance Sheets - (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="xpo-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>1002000 - Statement - Consolidated Statements of Income</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xpologistics.com/role/ConsolidatedStatementsOfIncome</Role>
      <ShortName>Consolidated Statements of Income</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="xpo-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>1003000 - Statement - Consolidated Statements of Comprehensive Income (Loss)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xpologistics.com/role/ConsolidatedStatementsOfComprehensiveIncomeLoss</Role>
      <ShortName>Consolidated Statements of Comprehensive Income (Loss)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="xpo-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>1003001 - Statement - Consolidated Statements of Comprehensive Income (Loss) - (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xpologistics.com/role/ConsolidatedStatementsOfComprehensiveIncomeLossParenthetical</Role>
      <ShortName>Consolidated Statements of Comprehensive Income (Loss) - (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="xpo-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>1004000 - Statement - Consolidated Statements of Cash Flows</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xpologistics.com/role/ConsolidatedStatementsOfCashFlows</Role>
      <ShortName>Consolidated Statements of Cash Flows</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="xpo-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>1004001 - Statement - Consolidated Statements of Cash Flows (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xpologistics.com/role/ConsolidatedStatementsOfCashFlowsParenthetical</Role>
      <ShortName>Consolidated Statements of Cash Flows (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="xpo-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>1005000 - Statement - Consolidated Statements of Changes in Equity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xpologistics.com/role/ConsolidatedStatementsOfChangesInEquity</Role>
      <ShortName>Consolidated Statements of Changes in Equity</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="xpo-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>2101100 - Disclosure - Organization</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xpologistics.com/role/Organization</Role>
      <ShortName>Organization</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="xpo-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>2102100 - Disclosure - Basis of Presentation and Significant Accounting Policies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xpologistics.com/role/BasisOfPresentationAndSignificantAccountingPolicies</Role>
      <ShortName>Basis of Presentation and Significant Accounting Policies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="xpo-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>2103100 - Disclosure - Divestitures</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xpologistics.com/role/Divestitures</Role>
      <ShortName>Divestitures</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="xpo-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>2104100 - Disclosure - Segment Reporting and Geographic Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xpologistics.com/role/SegmentReportingAndGeographicInformation</Role>
      <ShortName>Segment Reporting and Geographic Information</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="xpo-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>2105100 - Disclosure - Revenue Recognition</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xpologistics.com/role/RevenueRecognition</Role>
      <ShortName>Revenue Recognition</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="xpo-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>2106100 - Disclosure - Restructuring Charges</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xpologistics.com/role/RestructuringCharges</Role>
      <ShortName>Restructuring Charges</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="xpo-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>2107100 - Disclosure - Property and Equipment</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xpologistics.com/role/PropertyAndEquipment</Role>
      <ShortName>Property and Equipment</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="xpo-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>2108100 - Disclosure - Goodwill</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xpologistics.com/role/Goodwill</Role>
      <ShortName>Goodwill</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="xpo-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>2109100 - Disclosure - Intangible Assets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xpologistics.com/role/IntangibleAssets</Role>
      <ShortName>Intangible Assets</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="xpo-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>2110100 - Disclosure - Derivative Instruments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xpologistics.com/role/DerivativeInstruments</Role>
      <ShortName>Derivative Instruments</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="xpo-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>2111100 - Disclosure - Debt</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xpologistics.com/role/Debt</Role>
      <ShortName>Debt</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="xpo-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>2112100 - Disclosure - Employee Benefit Plans</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xpologistics.com/role/EmployeeBenefitPlans</Role>
      <ShortName>Employee Benefit Plans</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="xpo-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>2113100 - Disclosure - Stockholder's Equity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xpologistics.com/role/StockholdersEquity</Role>
      <ShortName>Stockholder's Equity</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="xpo-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>2114100 - Disclosure - Stock-Based Compensation</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xpologistics.com/role/StockBasedCompensation</Role>
      <ShortName>Stock-Based Compensation</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>23</Position>
    </Report>
    <Report instance="xpo-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>2115100 - Disclosure - Income Taxes</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xpologistics.com/role/IncomeTaxes</Role>
      <ShortName>Income Taxes</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>24</Position>
    </Report>
    <Report instance="xpo-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>2116100 - Disclosure - Earnings per Share</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xpologistics.com/role/EarningsPerShare</Role>
      <ShortName>Earnings per Share</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>25</Position>
    </Report>
    <Report instance="xpo-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>2117100 - Disclosure - Commitments and Contingencies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xpologistics.com/role/CommitmentsAndContingencies</Role>
      <ShortName>Commitments and Contingencies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>26</Position>
    </Report>
    <Report instance="xpo-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>2118100 - Disclosure - Subsequent Event</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xpologistics.com/role/SubsequentEvent</Role>
      <ShortName>Subsequent Event</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>27</Position>
    </Report>
    <Report instance="xpo-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>2202201 - Disclosure - Basis of Presentation and Significant Accounting Policies (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xpologistics.com/role/BasisOfPresentationAndSignificantAccountingPoliciesPolicies</Role>
      <ShortName>Basis of Presentation and Significant Accounting Policies (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://www.xpologistics.com/role/BasisOfPresentationAndSignificantAccountingPolicies</ParentRole>
      <Position>28</Position>
    </Report>
    <Report instance="xpo-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>2302302 - Disclosure - Basis of Presentation and Significant Accounting Policies (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xpologistics.com/role/BasisOfPresentationAndSignificantAccountingPoliciesTables</Role>
      <ShortName>Basis of Presentation and Significant Accounting Policies (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.xpologistics.com/role/BasisOfPresentationAndSignificantAccountingPolicies</ParentRole>
      <Position>29</Position>
    </Report>
    <Report instance="xpo-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>2304301 - Disclosure - Segment Reporting and Geographic Information (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xpologistics.com/role/SegmentReportingAndGeographicInformationTables</Role>
      <ShortName>Segment Reporting and Geographic Information (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.xpologistics.com/role/SegmentReportingAndGeographicInformation</ParentRole>
      <Position>30</Position>
    </Report>
    <Report instance="xpo-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>2305301 - Disclosure - Revenue Recognition (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xpologistics.com/role/RevenueRecognitionTables</Role>
      <ShortName>Revenue Recognition (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.xpologistics.com/role/RevenueRecognition</ParentRole>
      <Position>31</Position>
    </Report>
    <Report instance="xpo-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>2306301 - Disclosure - Restructuring Charges (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xpologistics.com/role/RestructuringChargesTables</Role>
      <ShortName>Restructuring Charges (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.xpologistics.com/role/RestructuringCharges</ParentRole>
      <Position>32</Position>
    </Report>
    <Report instance="xpo-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>2307301 - Disclosure - Property and Equipment (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xpologistics.com/role/PropertyAndEquipmentTables</Role>
      <ShortName>Property and Equipment (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.xpologistics.com/role/PropertyAndEquipment</ParentRole>
      <Position>33</Position>
    </Report>
    <Report instance="xpo-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>2308301 - Disclosure - Goodwill (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xpologistics.com/role/GoodwillTables</Role>
      <ShortName>Goodwill (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.xpologistics.com/role/Goodwill</ParentRole>
      <Position>34</Position>
    </Report>
    <Report instance="xpo-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>2309301 - Disclosure - Intangible Assets (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xpologistics.com/role/IntangibleAssetsTables</Role>
      <ShortName>Intangible Assets (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.xpologistics.com/role/IntangibleAssets</ParentRole>
      <Position>35</Position>
    </Report>
    <Report instance="xpo-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>2310301 - Disclosure - Derivative Instruments (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xpologistics.com/role/DerivativeInstrumentsTables</Role>
      <ShortName>Derivative Instruments (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.xpologistics.com/role/DerivativeInstruments</ParentRole>
      <Position>36</Position>
    </Report>
    <Report instance="xpo-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>2311301 - Disclosure - Debt (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xpologistics.com/role/DebtTables</Role>
      <ShortName>Debt (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.xpologistics.com/role/Debt</ParentRole>
      <Position>37</Position>
    </Report>
    <Report instance="xpo-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>2312301 - Disclosure - Employee Benefit Plans (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xpologistics.com/role/EmployeeBenefitPlansTables</Role>
      <ShortName>Employee Benefit Plans (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.xpologistics.com/role/EmployeeBenefitPlans</ParentRole>
      <Position>38</Position>
    </Report>
    <Report instance="xpo-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>2314301 - Disclosure - Stock-Based Compensation (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xpologistics.com/role/StockBasedCompensationTables</Role>
      <ShortName>Stock-Based Compensation (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.xpologistics.com/role/StockBasedCompensation</ParentRole>
      <Position>39</Position>
    </Report>
    <Report instance="xpo-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>2315301 - Disclosure - Income Taxes (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xpologistics.com/role/IncomeTaxesTables</Role>
      <ShortName>Income Taxes (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.xpologistics.com/role/IncomeTaxes</ParentRole>
      <Position>40</Position>
    </Report>
    <Report instance="xpo-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>2316301 - Disclosure - Earnings per Share (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xpologistics.com/role/EarningsPerShareTables</Role>
      <ShortName>Earnings per Share (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.xpologistics.com/role/EarningsPerShare</ParentRole>
      <Position>41</Position>
    </Report>
    <Report instance="xpo-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>2317301 - Disclosure - Commitments and Contingencies (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xpologistics.com/role/CommitmentsAndContingenciesTables</Role>
      <ShortName>Commitments and Contingencies (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.xpologistics.com/role/CommitmentsAndContingencies</ParentRole>
      <Position>42</Position>
    </Report>
    <Report instance="xpo-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>2401401 - Disclosure - Organization  - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xpologistics.com/role/OrganizationNarrativeDetails</Role>
      <ShortName>Organization  - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>43</Position>
    </Report>
    <Report instance="xpo-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>2402403 - Disclosure - Basis of Presentation and Significant Accounting Policies - Consolidation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xpologistics.com/role/BasisOfPresentationAndSignificantAccountingPoliciesConsolidationDetails</Role>
      <ShortName>Basis of Presentation and Significant Accounting Policies - Consolidation (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>44</Position>
    </Report>
    <Report instance="xpo-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>2402404 - Disclosure - Basis of Presentation and Significant Accounting Policies - Recast of Financial Information Due to Adoption of New Accounting Guidance (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xpologistics.com/role/BasisOfPresentationAndSignificantAccountingPoliciesRecastOfFinancialInformationDueToAdoptionOfNewAccountingGuidanceDetails</Role>
      <ShortName>Basis of Presentation and Significant Accounting Policies - Recast of Financial Information Due to Adoption of New Accounting Guidance (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>45</Position>
    </Report>
    <Report instance="xpo-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>2402405 - Disclosure - Basis of Presentation and Significant Accounting Policies - Cash, Cash Equivalents and Restricted Cash (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xpologistics.com/role/BasisOfPresentationAndSignificantAccountingPoliciesCashCashEquivalentsAndRestrictedCashDetails</Role>
      <ShortName>Basis of Presentation and Significant Accounting Policies - Cash, Cash Equivalents and Restricted Cash (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>46</Position>
    </Report>
    <Report instance="xpo-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>2402406 - Disclosure - Basis of Presentation and Significant Accounting Policies - Accounts Receivable and Allowance for Doubtful Accounts (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xpologistics.com/role/BasisOfPresentationAndSignificantAccountingPoliciesAccountsReceivableAndAllowanceForDoubtfulAccountsDetails</Role>
      <ShortName>Basis of Presentation and Significant Accounting Policies - Accounts Receivable and Allowance for Doubtful Accounts (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>47</Position>
    </Report>
    <Report instance="xpo-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>2402407 - Disclosure - Basis of Presentation and Significant Accounting Policies - Accounts Receivable Securitization and Factoring (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xpologistics.com/role/BasisOfPresentationAndSignificantAccountingPoliciesAccountsReceivableSecuritizationAndFactoringDetails</Role>
      <ShortName>Basis of Presentation and Significant Accounting Policies - Accounts Receivable Securitization and Factoring (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>48</Position>
    </Report>
    <Report instance="xpo-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>2402408 - Disclosure - Basis of Presentation and Significant Accounting Policies - Property and Equipment (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xpologistics.com/role/BasisOfPresentationAndSignificantAccountingPoliciesPropertyAndEquipmentDetails</Role>
      <ShortName>Basis of Presentation and Significant Accounting Policies - Property and Equipment (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>49</Position>
    </Report>
    <Report instance="xpo-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>2402409 - Disclosure - Basis of Presentation and Significant Accounting Policies - Goodwill (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xpologistics.com/role/BasisOfPresentationAndSignificantAccountingPoliciesGoodwillDetails</Role>
      <ShortName>Basis of Presentation and Significant Accounting Policies - Goodwill (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.xpologistics.com/role/BasisOfPresentationAndSignificantAccountingPoliciesTables</ParentRole>
      <Position>50</Position>
    </Report>
    <Report instance="xpo-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>2402410 - Disclosure - Basis of Presentation and Significant Accounting Policies - Intangible Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xpologistics.com/role/BasisOfPresentationAndSignificantAccountingPoliciesIntangibleAssetsDetails</Role>
      <ShortName>Basis of Presentation and Significant Accounting Policies - Intangible Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>51</Position>
    </Report>
    <Report instance="xpo-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>2402411 - Disclosure - Basis of Presentation and Significant Accounting Policies - Accrued Expenses (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xpologistics.com/role/BasisOfPresentationAndSignificantAccountingPoliciesAccruedExpensesDetails</Role>
      <ShortName>Basis of Presentation and Significant Accounting Policies - Accrued Expenses (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>52</Position>
    </Report>
    <Report instance="xpo-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>2402412 - Disclosure - Basis of Presentation and Significant Accounting Policies - Accumulated Other Comprehensive Income (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xpologistics.com/role/BasisOfPresentationAndSignificantAccountingPoliciesAccumulatedOtherComprehensiveIncomeDetails</Role>
      <ShortName>Basis of Presentation and Significant Accounting Policies - Accumulated Other Comprehensive Income (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>53</Position>
    </Report>
    <Report instance="xpo-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>2402413 - Disclosure - Basis of Presentation and Significant Accounting Policies - Foreign Currency Translation and Transactions (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xpologistics.com/role/BasisOfPresentationAndSignificantAccountingPoliciesForeignCurrencyTranslationAndTransactionsDetails</Role>
      <ShortName>Basis of Presentation and Significant Accounting Policies - Foreign Currency Translation and Transactions (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>54</Position>
    </Report>
    <Report instance="xpo-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>2402414 - Disclosure - Basis of Presentation and Significant Accounting Policies - Fair Value Measurements (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xpologistics.com/role/BasisOfPresentationAndSignificantAccountingPoliciesFairValueMeasurementsDetails</Role>
      <ShortName>Basis of Presentation and Significant Accounting Policies - Fair Value Measurements (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>55</Position>
    </Report>
    <Report instance="xpo-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>2402415 - Disclosure - Basis of Presentation and Significant Accounting Policies - Adoption of New Accounting Pronouncements and Accounting Pronouncements Issued but Not Yet Effective (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xpologistics.com/role/BasisOfPresentationAndSignificantAccountingPoliciesAdoptionOfNewAccountingPronouncementsAndAccountingPronouncementsIssuedButNotYetEffectiveDetails</Role>
      <ShortName>Basis of Presentation and Significant Accounting Policies - Adoption of New Accounting Pronouncements and Accounting Pronouncements Issued but Not Yet Effective (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>56</Position>
    </Report>
    <Report instance="xpo-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>2403401 - Disclosure - Divestitures - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xpologistics.com/role/DivestituresNarrativeDetails</Role>
      <ShortName>Divestitures - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>57</Position>
    </Report>
    <Report instance="xpo-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>2404402 - Disclosure - Segment Reporting and Geographic Information - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xpologistics.com/role/SegmentReportingAndGeographicInformationNarrativeDetails</Role>
      <ShortName>Segment Reporting and Geographic Information - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>58</Position>
    </Report>
    <Report instance="xpo-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>2404403 - Disclosure - Segment Reporting and Geographic Information - Selected Financial Data for Each Reportable Segment (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xpologistics.com/role/SegmentReportingAndGeographicInformationSelectedFinancialDataForEachReportableSegmentDetails</Role>
      <ShortName>Segment Reporting and Geographic Information - Selected Financial Data for Each Reportable Segment (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>59</Position>
    </Report>
    <Report instance="xpo-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>2405402 - Disclosure - Revenue Recognition - Disaggregation of Revenue by Geographical Area (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xpologistics.com/role/RevenueRecognitionDisaggregationOfRevenueByGeographicalAreaDetails</Role>
      <ShortName>Revenue Recognition - Disaggregation of Revenue by Geographical Area (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>60</Position>
    </Report>
    <Report instance="xpo-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>2405403 - Disclosure - Revenue Recognition - Disaggregation of Revenue by Products and Services (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xpologistics.com/role/RevenueRecognitionDisaggregationOfRevenueByProductsAndServicesDetails</Role>
      <ShortName>Revenue Recognition - Disaggregation of Revenue by Products and Services (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>61</Position>
    </Report>
    <Report instance="xpo-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>2405404 - Disclosure - Revenue Recognition - Performance Obligations (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xpologistics.com/role/RevenueRecognitionPerformanceObligationsDetails</Role>
      <ShortName>Revenue Recognition - Performance Obligations (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>62</Position>
    </Report>
    <Report instance="xpo-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>2406402 - Disclosure - Restructuring Charges - Schedule of Restructuring Related Activity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xpologistics.com/role/RestructuringChargesScheduleOfRestructuringRelatedActivityDetails</Role>
      <ShortName>Restructuring Charges - Schedule of Restructuring Related Activity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>63</Position>
    </Report>
    <Report instance="xpo-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>2406403 - Disclosure - Restructuring Charges - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xpologistics.com/role/RestructuringChargesNarrativeDetails</Role>
      <ShortName>Restructuring Charges - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>64</Position>
    </Report>
    <Report instance="xpo-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R65.htm</HtmlFileName>
      <LongName>2407402 - Disclosure - Property and Equipment - Summary of Property and Equipment (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xpologistics.com/role/PropertyAndEquipmentSummaryOfPropertyAndEquipmentDetails</Role>
      <ShortName>Property and Equipment - Summary of Property and Equipment (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>65</Position>
    </Report>
    <Report instance="xpo-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R66.htm</HtmlFileName>
      <LongName>2407403 - Disclosure - Property and Equipment - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xpologistics.com/role/PropertyAndEquipmentNarrativeDetails</Role>
      <ShortName>Property and Equipment - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>66</Position>
    </Report>
    <Report instance="xpo-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R67.htm</HtmlFileName>
      <LongName>2408402 - Disclosure - Goodwill - Schedule of Goodwill (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xpologistics.com/role/GoodwillScheduleOfGoodwillDetails</Role>
      <ShortName>Goodwill - Schedule of Goodwill (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>67</Position>
    </Report>
    <Report instance="xpo-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R68.htm</HtmlFileName>
      <LongName>2408403 - Disclosure - Goodwill - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xpologistics.com/role/GoodwillNarrativeDetails</Role>
      <ShortName>Goodwill - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>68</Position>
    </Report>
    <Report instance="xpo-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R69.htm</HtmlFileName>
      <LongName>2409402 - Disclosure - Intangible Assets - Schedule of Identifiable Intangible Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xpologistics.com/role/IntangibleAssetsScheduleOfIdentifiableIntangibleAssetsDetails</Role>
      <ShortName>Intangible Assets - Schedule of Identifiable Intangible Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>69</Position>
    </Report>
    <Report instance="xpo-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R70.htm</HtmlFileName>
      <LongName>2409403 - Disclosure - Intangible Assets - Estimated Future Amortization Expense for Amortizable Intangible Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xpologistics.com/role/IntangibleAssetsEstimatedFutureAmortizationExpenseForAmortizableIntangibleAssetsDetails</Role>
      <ShortName>Intangible Assets - Estimated Future Amortization Expense for Amortizable Intangible Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>70</Position>
    </Report>
    <Report instance="xpo-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R71.htm</HtmlFileName>
      <LongName>2409404 - Disclosure - Intangible Assets - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xpologistics.com/role/IntangibleAssetsNarrativeDetails</Role>
      <ShortName>Intangible Assets - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>71</Position>
    </Report>
    <Report instance="xpo-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R72.htm</HtmlFileName>
      <LongName>2410402 - Disclosure - Derivative Instruments - Schedule of Derivative Instruments Measured at Fair Value in Consolidated Balance Sheet (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xpologistics.com/role/DerivativeInstrumentsScheduleOfDerivativeInstrumentsMeasuredAtFairValueInConsolidatedBalanceSheetDetails</Role>
      <ShortName>Derivative Instruments - Schedule of Derivative Instruments Measured at Fair Value in Consolidated Balance Sheet (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>72</Position>
    </Report>
    <Report instance="xpo-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R73.htm</HtmlFileName>
      <LongName>2410403 - Disclosure - Derivative Instruments - Schedule of Gains and Losses Recognized on Consolidated Statements of Operations for Derivative Instruments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xpologistics.com/role/DerivativeInstrumentsScheduleOfGainsAndLossesRecognizedOnConsolidatedStatementsOfOperationsForDerivativeInstrumentsDetails</Role>
      <ShortName>Derivative Instruments - Schedule of Gains and Losses Recognized on Consolidated Statements of Operations for Derivative Instruments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>73</Position>
    </Report>
    <Report instance="xpo-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R74.htm</HtmlFileName>
      <LongName>2410404 - Disclosure - Derivative Instruments - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xpologistics.com/role/DerivativeInstrumentsNarrativeDetails</Role>
      <ShortName>Derivative Instruments - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>74</Position>
    </Report>
    <Report instance="xpo-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R75.htm</HtmlFileName>
      <LongName>2411402 - Disclosure - Debt - Schedule of Debt (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xpologistics.com/role/DebtScheduleOfDebtDetails</Role>
      <ShortName>Debt - Schedule of Debt (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>75</Position>
    </Report>
    <Report instance="xpo-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R76.htm</HtmlFileName>
      <LongName>2411403 - Disclosure - Debt - Fair Value of Debt (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xpologistics.com/role/DebtFairValueOfDebtDetails</Role>
      <ShortName>Debt - Fair Value of Debt (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>76</Position>
    </Report>
    <Report instance="xpo-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R77.htm</HtmlFileName>
      <LongName>2411404 - Disclosure - Debt - Schedule of Debt Maturity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xpologistics.com/role/DebtScheduleOfDebtMaturityDetails</Role>
      <ShortName>Debt - Schedule of Debt Maturity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>77</Position>
    </Report>
    <Report instance="xpo-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R78.htm</HtmlFileName>
      <LongName>2411405 - Disclosure - Debt - ABL Facility (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xpologistics.com/role/DebtAblFacilityDetails</Role>
      <ShortName>Debt - ABL Facility (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>78</Position>
    </Report>
    <Report instance="xpo-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R79.htm</HtmlFileName>
      <LongName>2411406 - Disclosure - Debt - Term Loan Facility (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xpologistics.com/role/DebtTermLoanFacilityDetails</Role>
      <ShortName>Debt - Term Loan Facility (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>79</Position>
    </Report>
    <Report instance="xpo-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R80.htm</HtmlFileName>
      <LongName>2411407 - Disclosure - Debt - Senior Notes (Details)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.xpologistics.com/role/DebtSeniorNotesDetails</Role>
      <ShortName>Debt - Senior Notes (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>80</Position>
    </Report>
    <Report instance="xpo-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R81.htm</HtmlFileName>
      <LongName>2411408 - Disclosure - Debt - Senior Debentures (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xpologistics.com/role/DebtSeniorDebenturesDetails</Role>
      <ShortName>Debt - Senior Debentures (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>81</Position>
    </Report>
    <Report instance="xpo-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R82.htm</HtmlFileName>
      <LongName>2411409 - Disclosure - Debt - Convertible Senior Notes (Details)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.xpologistics.com/role/DebtConvertibleSeniorNotesDetails</Role>
      <ShortName>Debt - Convertible Senior Notes (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>82</Position>
    </Report>
    <Report instance="xpo-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R83.htm</HtmlFileName>
      <LongName>2411410 - Disclosure - Debt - Trade Securitization Program (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xpologistics.com/role/DebtTradeSecuritizationProgramDetails</Role>
      <ShortName>Debt - Trade Securitization Program (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>83</Position>
    </Report>
    <Report instance="xpo-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R84.htm</HtmlFileName>
      <LongName>2411411 - Disclosure - Debt - Unsecured Credit Facility (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xpologistics.com/role/DebtUnsecuredCreditFacilityDetails</Role>
      <ShortName>Debt - Unsecured Credit Facility (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>84</Position>
    </Report>
    <Report instance="xpo-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R85.htm</HtmlFileName>
      <LongName>2411412 - Disclosure - Debt - Asset Financing (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xpologistics.com/role/DebtAssetFinancingDetails</Role>
      <ShortName>Debt - Asset Financing (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>85</Position>
    </Report>
    <Report instance="xpo-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R86.htm</HtmlFileName>
      <LongName>2412402 - Disclosure - Employee Benefit Plans - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xpologistics.com/role/EmployeeBenefitPlansNarrativeDetails</Role>
      <ShortName>Employee Benefit Plans - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>86</Position>
    </Report>
    <Report instance="xpo-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R87.htm</HtmlFileName>
      <LongName>2412403 - Disclosure - Employee Benefit Plans - Change in Benefit Obligations and Fair Value of Plan Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xpologistics.com/role/EmployeeBenefitPlansChangeInBenefitObligationsAndFairValueOfPlanAssetsDetails</Role>
      <ShortName>Employee Benefit Plans - Change in Benefit Obligations and Fair Value of Plan Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>87</Position>
    </Report>
    <Report instance="xpo-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R88.htm</HtmlFileName>
      <LongName>2412404 - Disclosure - Employee Benefit Plans - Funded Status of Plan (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xpologistics.com/role/EmployeeBenefitPlansFundedStatusOfPlanDetails</Role>
      <ShortName>Employee Benefit Plans - Funded Status of Plan (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>88</Position>
    </Report>
    <Report instance="xpo-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R89.htm</HtmlFileName>
      <LongName>2412405 - Disclosure - Employee Benefit Plans - Accumulated Other Comprehensive Income and Net Periodic Benefit Cost (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xpologistics.com/role/EmployeeBenefitPlansAccumulatedOtherComprehensiveIncomeAndNetPeriodicBenefitCostDetails</Role>
      <ShortName>Employee Benefit Plans - Accumulated Other Comprehensive Income and Net Periodic Benefit Cost (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>89</Position>
    </Report>
    <Report instance="xpo-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R90.htm</HtmlFileName>
      <LongName>2412406 - Disclosure - Employee Benefit Plans - Expected Payments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xpologistics.com/role/EmployeeBenefitPlansExpectedPaymentsDetails</Role>
      <ShortName>Employee Benefit Plans - Expected Payments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>90</Position>
    </Report>
    <Report instance="xpo-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R91.htm</HtmlFileName>
      <LongName>2412407 - Disclosure - Employee Benefit Plans - Fair Value of Investment Categories (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xpologistics.com/role/EmployeeBenefitPlansFairValueOfInvestmentCategoriesDetails</Role>
      <ShortName>Employee Benefit Plans - Fair Value of Investment Categories (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>91</Position>
    </Report>
    <Report instance="xpo-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R92.htm</HtmlFileName>
      <LongName>2412408 - Disclosure - Employee Benefit Plans - Benefit Obligations and Funded Status for Medical Plan (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xpologistics.com/role/EmployeeBenefitPlansBenefitObligationsAndFundedStatusForMedicalPlanDetails</Role>
      <ShortName>Employee Benefit Plans - Benefit Obligations and Funded Status for Medical Plan (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>92</Position>
    </Report>
    <Report instance="xpo-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R93.htm</HtmlFileName>
      <LongName>2413401 - Disclosure - Stockholder's Equity - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xpologistics.com/role/StockholdersEquityNarrativeDetails</Role>
      <ShortName>Stockholder's Equity - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>93</Position>
    </Report>
    <Report instance="xpo-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R94.htm</HtmlFileName>
      <LongName>2414402 - Disclosure - Stock-Based Compensation - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xpologistics.com/role/StockBasedCompensationNarrativeDetails</Role>
      <ShortName>Stock-Based Compensation - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>94</Position>
    </Report>
    <Report instance="xpo-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R95.htm</HtmlFileName>
      <LongName>2414403 - Disclosure - Stock-Based Compensation - Schedule of Stock-based Compensation Expense (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xpologistics.com/role/StockBasedCompensationScheduleOfStockBasedCompensationExpenseDetails</Role>
      <ShortName>Stock-Based Compensation - Schedule of Stock-based Compensation Expense (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>95</Position>
    </Report>
    <Report instance="xpo-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R96.htm</HtmlFileName>
      <LongName>2414404 - Disclosure - Stock-Based Compensation - Schedule of Valuation Assumptions (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xpologistics.com/role/StockBasedCompensationScheduleOfValuationAssumptionsDetails</Role>
      <ShortName>Stock-Based Compensation - Schedule of Valuation Assumptions (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>96</Position>
    </Report>
    <Report instance="xpo-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R97.htm</HtmlFileName>
      <LongName>2414405 - Disclosure - Stock-Based Compensation - Equity Awards Outstanding and Exercisable (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xpologistics.com/role/StockBasedCompensationEquityAwardsOutstandingAndExercisableDetails</Role>
      <ShortName>Stock-Based Compensation - Equity Awards Outstanding and Exercisable (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>97</Position>
    </Report>
    <Report instance="xpo-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R98.htm</HtmlFileName>
      <LongName>2415402 - Disclosure - Income Taxes - Schedule of Income before Income Tax, Related to Domestic and Foreign (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xpologistics.com/role/IncomeTaxesScheduleOfIncomeBeforeIncomeTaxRelatedToDomesticAndForeignDetails</Role>
      <ShortName>Income Taxes - Schedule of Income before Income Tax, Related to Domestic and Foreign (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>98</Position>
    </Report>
    <Report instance="xpo-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R99.htm</HtmlFileName>
      <LongName>2415403 - Disclosure - Income Taxes - Schedule of Components of Income Tax Expense (Benefit) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xpologistics.com/role/IncomeTaxesScheduleOfComponentsOfIncomeTaxExpenseBenefitDetails</Role>
      <ShortName>Income Taxes - Schedule of Components of Income Tax Expense (Benefit) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>99</Position>
    </Report>
    <Report instance="xpo-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R100.htm</HtmlFileName>
      <LongName>2415404 - Disclosure - Income Taxes - Schedule of Effective Income Tax Rate Reconciliation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xpologistics.com/role/IncomeTaxesScheduleOfEffectiveIncomeTaxRateReconciliationDetails</Role>
      <ShortName>Income Taxes - Schedule of Effective Income Tax Rate Reconciliation (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>100</Position>
    </Report>
    <Report instance="xpo-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R101.htm</HtmlFileName>
      <LongName>2415405 - Disclosure - Income Taxes - Schedule of Deferred Tax Assets and Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xpologistics.com/role/IncomeTaxesScheduleOfDeferredTaxAssetsAndLiabilitiesDetails</Role>
      <ShortName>Income Taxes - Schedule of Deferred Tax Assets and Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>101</Position>
    </Report>
    <Report instance="xpo-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R102.htm</HtmlFileName>
      <LongName>2415406 - Disclosure - Income Taxes - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xpologistics.com/role/IncomeTaxesNarrativeDetails</Role>
      <ShortName>Income Taxes - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>102</Position>
    </Report>
    <Report instance="xpo-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R103.htm</HtmlFileName>
      <LongName>2415407 - Disclosure - Income Taxes - Change in Deferred Tax Asset Valuation Allowance (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xpologistics.com/role/IncomeTaxesChangeInDeferredTaxAssetValuationAllowanceDetails</Role>
      <ShortName>Income Taxes - Change in Deferred Tax Asset Valuation Allowance (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>103</Position>
    </Report>
    <Report instance="xpo-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R104.htm</HtmlFileName>
      <LongName>2415408 - Disclosure - Income Taxes - Schedule of Unrecognized Tax Benefits Roll Forward (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xpologistics.com/role/IncomeTaxesScheduleOfUnrecognizedTaxBenefitsRollForwardDetails</Role>
      <ShortName>Income Taxes - Schedule of Unrecognized Tax Benefits Roll Forward (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>104</Position>
    </Report>
    <Report instance="xpo-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R105.htm</HtmlFileName>
      <LongName>2416402 - Disclosure - Earnings per Share - Schedule of Antidilutive Securities Excluded from Computation of Earnings Per Share (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xpologistics.com/role/EarningsPerShareScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareDetails</Role>
      <ShortName>Earnings per Share - Schedule of Antidilutive Securities Excluded from Computation of Earnings Per Share (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>105</Position>
    </Report>
    <Report instance="xpo-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R106.htm</HtmlFileName>
      <LongName>2417402 - Disclosure - Commitments and Contingencies - Future Minimum Lease Payments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xpologistics.com/role/CommitmentsAndContingenciesFutureMinimumLeasePaymentsDetails</Role>
      <ShortName>Commitments and Contingencies - Future Minimum Lease Payments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>106</Position>
    </Report>
    <Report instance="xpo-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R107.htm</HtmlFileName>
      <LongName>2417403 - Disclosure - Commitments and Contingencies - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xpologistics.com/role/CommitmentsAndContingenciesNarrativeDetails</Role>
      <ShortName>Commitments and Contingencies - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>107</Position>
    </Report>
    <Report instance="xpo-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R108.htm</HtmlFileName>
      <LongName>2418401 - Disclosure - Subsequent Event (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.xpologistics.com/role/SubsequentEventDetails</Role>
      <ShortName>Subsequent Event (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.xpologistics.com/role/SubsequentEvent</ParentRole>
      <Position>108</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <InputFiles>
    <File>xpo-20181231.xml</File>
    <File>xpo-20181231.xsd</File>
    <File>xpo-20181231_cal.xml</File>
    <File>xpo-20181231_def.xml</File>
    <File>xpo-20181231_lab.xml</File>
    <File>xpo-20181231_pre.xml</File>
  </InputFiles>
  <SupplementalFiles/>
  <BaseTaxonomies>
    <BaseTaxonomy>http://fasb.org/srt/2018-01-31</BaseTaxonomy>
    <BaseTaxonomy>http://xbrl.sec.gov/dei/2018-01-31</BaseTaxonomy>
    <BaseTaxonomy>http://fasb.org/us-gaap/2018-01-31</BaseTaxonomy>
    <BaseTaxonomy>http://xbrl.sec.gov/country/2017-01-31</BaseTaxonomy>
    <BaseTaxonomy>http://xbrl.sec.gov/invest/2013-01-31</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
