<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.21.1</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>359</ContextCount>
  <ElementCount>578</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>107</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>8</UnitCount>
  <MyReports>
    <Report instance="tmb-20201231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>00090 - Document - Document and Entity Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tuniu.com/role/DocumentDocumentAndEntityInformation</Role>
      <ShortName>Document and Entity Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="tmb-20201231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>00100 - Statement - CONSOLIDATED BALANCE SHEETS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tuniu.com/role/StatementConsolidatedBalanceSheets</Role>
      <ShortName>CONSOLIDATED BALANCE SHEETS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="tmb-20201231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>00105 - Statement - CONSOLIDATED BALANCE SHEETS (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tuniu.com/role/StatementConsolidatedBalanceSheetsParenthetical</Role>
      <ShortName>CONSOLIDATED BALANCE SHEETS (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="tmb-20201231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>00200 - Statement - CONSOLIDATED STATEMENTS OF COMPREHENSIVE LOSS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tuniu.com/role/StatementConsolidatedStatementsOfComprehensiveLoss</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF COMPREHENSIVE LOSS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="tmb-20201231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>00205 - Statement - CONSOLIDATED STATEMENTS OF COMPREHENSIVE LOSS (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tuniu.com/role/StatementConsolidatedStatementsOfComprehensiveLossParenthetical</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF COMPREHENSIVE LOSS (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="tmb-20201231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>00300 - Statement - CONSOLIDATED STATEMENTS OF CHANGES IN SHAREHOLDERS' EQUITY</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tuniu.com/role/StatementConsolidatedStatementsOfChangesInShareholdersEquity</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF CHANGES IN SHAREHOLDERS' EQUITY</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="tmb-20201231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>00400 - Statement - CONSOLIDATED STATEMENTS OF CASH FLOWS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tuniu.com/role/StatementConsolidatedStatementsOfCashFlows</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF CASH FLOWS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="tmb-20201231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>10101 - Disclosure - Organization and Principal Activities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tuniu.com/role/DisclosureOrganizationAndPrincipalActivities</Role>
      <ShortName>Organization and Principal Activities</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="tmb-20201231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>10201 - Disclosure - Principal Accounting Policies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tuniu.com/role/DisclosurePrincipalAccountingPolicies</Role>
      <ShortName>Principal Accounting Policies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="tmb-20201231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>10301 - Disclosure - Risks and Concentration</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tuniu.com/role/DisclosureRisksAndConcentration</Role>
      <ShortName>Risks and Concentration</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="tmb-20201231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>10401 - Disclosure - Business acquisition</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tuniu.com/role/DisclosureBusinessAcquisition</Role>
      <ShortName>Business acquisition</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="tmb-20201231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>10501 - Disclosure - Transaction with JD.com, Inc.</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tuniu.com/role/DisclosureTransactionWithJdcomInc</Role>
      <ShortName>Transaction with JD.com, Inc.</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="tmb-20201231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>10601 - Disclosure - Prepayments and other current assets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tuniu.com/role/DisclosurePrepaymentsAndOtherCurrentAssets</Role>
      <ShortName>Prepayments and other current assets</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="tmb-20201231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>10701 - Disclosure - Long-term investments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tuniu.com/role/DisclosureLongTermInvestments</Role>
      <ShortName>Long-term investments</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="tmb-20201231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>10801 - Disclosure - Property and equipment, net</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tuniu.com/role/DisclosurePropertyAndEquipmentNet</Role>
      <ShortName>Property and equipment, net</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="tmb-20201231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>10901 - Disclosure - Intangible assets, net</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tuniu.com/role/DisclosureIntangibleAssetsNet</Role>
      <ShortName>Intangible assets, net</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="tmb-20201231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>11001 - Disclosure - Land use right, net</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tuniu.com/role/DisclosureLandUseRightNet</Role>
      <ShortName>Land use right, net</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="tmb-20201231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>11101 - Disclosure - Goodwill</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tuniu.com/role/DisclosureGoodwill</Role>
      <ShortName>Goodwill</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="tmb-20201231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>11201 - Disclosure - Other non-current assets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tuniu.com/role/DisclosureOtherNonCurrentAssets</Role>
      <ShortName>Other non-current assets</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="tmb-20201231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>11301 - Disclosure - Short-term and long-term borrowings</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tuniu.com/role/DisclosureShortTermAndLongTermBorrowings</Role>
      <ShortName>Short-term and long-term borrowings</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="tmb-20201231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>11401 - Disclosure - Leases</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tuniu.com/role/DisclosureLeases</Role>
      <ShortName>Leases</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="tmb-20201231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>11501 - Disclosure - Accrued expenses and other current liabilities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tuniu.com/role/DisclosureAccruedExpensesAndOtherCurrentLiabilities</Role>
      <ShortName>Accrued expenses and other current liabilities</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="tmb-20201231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>11601 - Disclosure - Income Taxes</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tuniu.com/role/DisclosureIncomeTaxes</Role>
      <ShortName>Income Taxes</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>23</Position>
    </Report>
    <Report instance="tmb-20201231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>11701 - Disclosure - Redeemable noncontrolling interests</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tuniu.com/role/DisclosureRedeemableNoncontrollingInterests</Role>
      <ShortName>Redeemable noncontrolling interests</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>24</Position>
    </Report>
    <Report instance="tmb-20201231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>11801 - Disclosure - Ordinary Shares</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tuniu.com/role/DisclosureOrdinaryShares</Role>
      <ShortName>Ordinary Shares</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>25</Position>
    </Report>
    <Report instance="tmb-20201231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>11901 - Disclosure - Share-based Compensation Expenses</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tuniu.com/role/DisclosureShareBasedCompensationExpenses</Role>
      <ShortName>Share-based Compensation Expenses</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>26</Position>
    </Report>
    <Report instance="tmb-20201231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>12001 - Disclosure - Loss Per Share</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tuniu.com/role/DisclosureLossPerShare</Role>
      <ShortName>Loss Per Share</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>27</Position>
    </Report>
    <Report instance="tmb-20201231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>12101 - Disclosure - Restricted Net Assets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tuniu.com/role/DisclosureRestrictedNetAssets</Role>
      <ShortName>Restricted Net Assets</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>28</Position>
    </Report>
    <Report instance="tmb-20201231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>12201 - Disclosure - Commitments and Contingencies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tuniu.com/role/DisclosureCommitmentsAndContingencies</Role>
      <ShortName>Commitments and Contingencies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>29</Position>
    </Report>
    <Report instance="tmb-20201231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>12301 - Disclosure - Related party transactions and balances</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tuniu.com/role/DisclosureRelatedPartyTransactionsAndBalances</Role>
      <ShortName>Related party transactions and balances</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>30</Position>
    </Report>
    <Report instance="tmb-20201231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>12401 - Disclosure - Subsequent events</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tuniu.com/role/DisclosureSubsequentEvents</Role>
      <ShortName>Subsequent events</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>31</Position>
    </Report>
    <Report instance="tmb-20201231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>12501 - Disclosure - CONDENSED FINANCIAL INFORMATION OF THE PARENT COMPANY</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tuniu.com/role/DisclosureCondensedFinancialInformationOfParentCompany</Role>
      <ShortName>CONDENSED FINANCIAL INFORMATION OF THE PARENT COMPANY</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>32</Position>
    </Report>
    <Report instance="tmb-20201231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>20202 - Disclosure - Principal Accounting Policies (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tuniu.com/role/DisclosurePrincipalAccountingPoliciesPolicies</Role>
      <ShortName>Principal Accounting Policies (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://www.tuniu.com/role/DisclosurePrincipalAccountingPolicies</ParentRole>
      <Position>33</Position>
    </Report>
    <Report instance="tmb-20201231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>30103 - Disclosure - Organization and Principal Activities (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tuniu.com/role/DisclosureOrganizationAndPrincipalActivitiesTables</Role>
      <ShortName>Organization and Principal Activities (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.tuniu.com/role/DisclosureOrganizationAndPrincipalActivities</ParentRole>
      <Position>34</Position>
    </Report>
    <Report instance="tmb-20201231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>30203 - Disclosure - Principal Accounting Policies (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tuniu.com/role/DisclosurePrincipalAccountingPoliciesTables</Role>
      <ShortName>Principal Accounting Policies (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.tuniu.com/role/DisclosurePrincipalAccountingPolicies</ParentRole>
      <Position>35</Position>
    </Report>
    <Report instance="tmb-20201231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>30403 - Disclosure - Business acquisition (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tuniu.com/role/DisclosureBusinessAcquisitionTables</Role>
      <ShortName>Business acquisition (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.tuniu.com/role/DisclosureBusinessAcquisition</ParentRole>
      <Position>36</Position>
    </Report>
    <Report instance="tmb-20201231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>30503 - Disclosure - Transaction with JD.com, Inc. (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tuniu.com/role/DisclosureTransactionWithJdcomIncTables</Role>
      <ShortName>Transaction with JD.com, Inc. (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.tuniu.com/role/DisclosureTransactionWithJdcomInc</ParentRole>
      <Position>37</Position>
    </Report>
    <Report instance="tmb-20201231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>30603 - Disclosure - Prepayments and other current assets (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tuniu.com/role/DisclosurePrepaymentsAndOtherCurrentAssetsTables</Role>
      <ShortName>Prepayments and other current assets (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.tuniu.com/role/DisclosurePrepaymentsAndOtherCurrentAssets</ParentRole>
      <Position>38</Position>
    </Report>
    <Report instance="tmb-20201231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>30703 - Disclosure - Long-term investments (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tuniu.com/role/DisclosureLongTermInvestmentsTables</Role>
      <ShortName>Long-term investments (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.tuniu.com/role/DisclosureLongTermInvestments</ParentRole>
      <Position>39</Position>
    </Report>
    <Report instance="tmb-20201231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>30803 - Disclosure - Property and equipment, net (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tuniu.com/role/DisclosurePropertyAndEquipmentNetTables</Role>
      <ShortName>Property and equipment, net (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.tuniu.com/role/DisclosurePropertyAndEquipmentNet</ParentRole>
      <Position>40</Position>
    </Report>
    <Report instance="tmb-20201231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>30903 - Disclosure - Intangible assets, net (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tuniu.com/role/DisclosureIntangibleAssetsNetTables</Role>
      <ShortName>Intangible assets, net (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.tuniu.com/role/DisclosureIntangibleAssetsNet</ParentRole>
      <Position>41</Position>
    </Report>
    <Report instance="tmb-20201231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>31003 - Disclosure - Land use right, net (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tuniu.com/role/DisclosureLandUseRightNetTables</Role>
      <ShortName>Land use right, net (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.tuniu.com/role/DisclosureLandUseRightNet</ParentRole>
      <Position>42</Position>
    </Report>
    <Report instance="tmb-20201231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>31103 - Disclosure - Goodwill (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tuniu.com/role/DisclosureGoodwillTables</Role>
      <ShortName>Goodwill (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.tuniu.com/role/DisclosureGoodwill</ParentRole>
      <Position>43</Position>
    </Report>
    <Report instance="tmb-20201231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>31203 - Disclosure - Other non-current assets (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tuniu.com/role/DisclosureOtherNonCurrentAssetsTables</Role>
      <ShortName>Other non-current assets (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.tuniu.com/role/DisclosureOtherNonCurrentAssets</ParentRole>
      <Position>44</Position>
    </Report>
    <Report instance="tmb-20201231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>31303 - Disclosure - Short-term and long-term borrowings (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tuniu.com/role/DisclosureShortTermAndLongTermBorrowingsTables</Role>
      <ShortName>Short-term and long-term borrowings (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.tuniu.com/role/DisclosureShortTermAndLongTermBorrowings</ParentRole>
      <Position>45</Position>
    </Report>
    <Report instance="tmb-20201231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>31403 - Disclosure - Leases (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tuniu.com/role/DisclosureLeasesTables</Role>
      <ShortName>Leases (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.tuniu.com/role/DisclosureLeases</ParentRole>
      <Position>46</Position>
    </Report>
    <Report instance="tmb-20201231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>31503 - Disclosure - Accrued expenses and other current liabilities (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tuniu.com/role/DisclosureAccruedExpensesAndOtherCurrentLiabilitiesTables</Role>
      <ShortName>Accrued expenses and other current liabilities (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.tuniu.com/role/DisclosureAccruedExpensesAndOtherCurrentLiabilities</ParentRole>
      <Position>47</Position>
    </Report>
    <Report instance="tmb-20201231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>31603 - Disclosure - Income Taxes (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tuniu.com/role/DisclosureIncomeTaxesTables</Role>
      <ShortName>Income Taxes (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.tuniu.com/role/DisclosureIncomeTaxes</ParentRole>
      <Position>48</Position>
    </Report>
    <Report instance="tmb-20201231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>31703 - Disclosure - Redeemable noncontrolling interests (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tuniu.com/role/DisclosureRedeemableNoncontrollingInterestsTables</Role>
      <ShortName>Redeemable noncontrolling interests (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.tuniu.com/role/DisclosureRedeemableNoncontrollingInterests</ParentRole>
      <Position>49</Position>
    </Report>
    <Report instance="tmb-20201231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>31903 - Disclosure - Share-based Compensation Expenses (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tuniu.com/role/DisclosureShareBasedCompensationExpensesTables</Role>
      <ShortName>Share-based Compensation Expenses (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.tuniu.com/role/DisclosureShareBasedCompensationExpenses</ParentRole>
      <Position>50</Position>
    </Report>
    <Report instance="tmb-20201231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>32003 - Disclosure - Loss Per Share (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tuniu.com/role/DisclosureLossPerShareTables</Role>
      <ShortName>Loss Per Share (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.tuniu.com/role/DisclosureLossPerShare</ParentRole>
      <Position>51</Position>
    </Report>
    <Report instance="tmb-20201231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>32303 - Disclosure - Related party transactions and balances (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tuniu.com/role/DisclosureRelatedPartyTransactionsAndBalancesTables</Role>
      <ShortName>Related party transactions and balances (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.tuniu.com/role/DisclosureRelatedPartyTransactionsAndBalances</ParentRole>
      <Position>52</Position>
    </Report>
    <Report instance="tmb-20201231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>32503 - Disclosure - CONDENSED FINANCIAL INFORMATION OF THE PARENT COMPANY (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tuniu.com/role/DisclosureCondensedFinancialInformationOfParentCompanyTables</Role>
      <ShortName>CONDENSED FINANCIAL INFORMATION OF THE PARENT COMPANY (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.tuniu.com/role/DisclosureCondensedFinancialInformationOfParentCompany</ParentRole>
      <Position>53</Position>
    </Report>
    <Report instance="tmb-20201231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>40101 - Disclosure - Organization and Principal Activities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tuniu.com/role/DisclosureOrganizationAndPrincipalActivitiesDetails</Role>
      <ShortName>Organization and Principal Activities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.tuniu.com/role/DisclosureOrganizationAndPrincipalActivitiesTables</ParentRole>
      <Position>54</Position>
    </Report>
    <Report instance="tmb-20201231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>40201 - Disclosure - Principal Accounting Policies - Principles of Consolidation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tuniu.com/role/DisclosurePrincipalAccountingPoliciesPrinciplesOfConsolidationDetails</Role>
      <ShortName>Principal Accounting Policies - Principles of Consolidation (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>55</Position>
    </Report>
    <Report instance="tmb-20201231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>40202 - Disclosure - Principal Accounting Policies - Schedule of Consolidated Financial Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tuniu.com/role/DisclosurePrincipalAccountingPoliciesScheduleOfConsolidatedFinancialInformationDetails</Role>
      <ShortName>Principal Accounting Policies - Schedule of Consolidated Financial Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>56</Position>
    </Report>
    <Report instance="tmb-20201231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>40203 - Disclosure - Principal Accounting Policies - Schedule of Observable Short-term Investments And Long-term Investments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tuniu.com/role/DisclosurePrincipalAccountingPoliciesScheduleOfObservableShortTermInvestmentsAndLongTermInvestmentsDetails</Role>
      <ShortName>Principal Accounting Policies - Schedule of Observable Short-term Investments And Long-term Investments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>57</Position>
    </Report>
    <Report instance="tmb-20201231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>40204 - Disclosure - Principal Accounting Policies - Schedule of Unobservable Short-term Investments And Long-term Investments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tuniu.com/role/DisclosurePrincipalAccountingPoliciesScheduleOfUnobservableShortTermInvestmentsAndLongTermInvestmentsDetails</Role>
      <ShortName>Principal Accounting Policies - Schedule of Unobservable Short-term Investments And Long-term Investments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>58</Position>
    </Report>
    <Report instance="tmb-20201231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>40205 - Disclosure - Principal Accounting Policies - Schedule of Fair value Level 3 Investment (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tuniu.com/role/DisclosurePrincipalAccountingPoliciesScheduleOfFairValueLevel3InvestmentDetails</Role>
      <ShortName>Principal Accounting Policies - Schedule of Fair value Level 3 Investment (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>59</Position>
    </Report>
    <Report instance="tmb-20201231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>40206 - Disclosure - Principal Accounting Policies - The roll forward of contingent consideration for acquisition (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tuniu.com/role/DisclosurePrincipalAccountingPoliciesRollForwardOfContingentConsiderationForAcquisitionDetails</Role>
      <ShortName>Principal Accounting Policies - The roll forward of contingent consideration for acquisition (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>60</Position>
    </Report>
    <Report instance="tmb-20201231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>40207 - Disclosure - Principal Accounting Policies - cash equivalents and restricted cash (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tuniu.com/role/DisclosurePrincipalAccountingPoliciesCashEquivalentsAndRestrictedCashDetails</Role>
      <ShortName>Principal Accounting Policies - cash equivalents and restricted cash (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>61</Position>
    </Report>
    <Report instance="tmb-20201231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>40208 - Disclosure - Principal Accounting Policies - Schedule of Allowance For Doubtful Accounts (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tuniu.com/role/DisclosurePrincipalAccountingPoliciesScheduleOfAllowanceForDoubtfulAccountsDetails</Role>
      <ShortName>Principal Accounting Policies - Schedule of Allowance For Doubtful Accounts (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>62</Position>
    </Report>
    <Report instance="tmb-20201231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>40209 - Disclosure - Principal Accounting Policies - Liquidity, Functional Currency and Foreign Currency Translation, Short-term Investments, Accounts Receivable, Capitalized Software Development Cost (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tuniu.com/role/DisclosurePrincipalAccountingPoliciesLiquidityFunctionalCurrencyAndForeignCurrencyTranslationShortTermInvestmentsAccountsReceivableCapitalizedSoftwareDevelopmentCostDetails</Role>
      <ShortName>Principal Accounting Policies - Liquidity, Functional Currency and Foreign Currency Translation, Short-term Investments, Accounts Receivable, Capitalized Software Development Cost (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>63</Position>
    </Report>
    <Report instance="tmb-20201231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>40210 - Disclosure - Principal Accounting Policies - Schedule of Estimated Useful Lives of Property and Equipment (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tuniu.com/role/DisclosurePrincipalAccountingPoliciesScheduleOfEstimatedUsefulLivesOfPropertyAndEquipmentDetails</Role>
      <ShortName>Principal Accounting Policies - Schedule of Estimated Useful Lives of Property and Equipment (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>64</Position>
    </Report>
    <Report instance="tmb-20201231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R65.htm</HtmlFileName>
      <LongName>40211 - Disclosure - Principal Accounting Policies - Intangible Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tuniu.com/role/DisclosurePrincipalAccountingPoliciesIntangibleAssetsDetails</Role>
      <ShortName>Principal Accounting Policies - Intangible Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>65</Position>
    </Report>
    <Report instance="tmb-20201231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R66.htm</HtmlFileName>
      <LongName>40212 - Disclosure - Principal Accounting Policies - Goodwill, Impairment on non-financial assets, Revenue Recognition, Cost of Revenues, Leases, Share-based compensation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tuniu.com/role/DisclosurePrincipalAccountingPoliciesGoodwillImpairmentOnNonFinancialAssetsRevenueRecognitionCostOfRevenuesLeasesShareBasedCompensationDetails</Role>
      <ShortName>Principal Accounting Policies - Goodwill, Impairment on non-financial assets, Revenue Recognition, Cost of Revenues, Leases, Share-based compensation (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>66</Position>
    </Report>
    <Report instance="tmb-20201231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R67.htm</HtmlFileName>
      <LongName>40213 - Disclosure - Principal Accounting Policies - Employee Benefits, Government Subsidies, Segment Reporting, Deferred offering costs (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tuniu.com/role/DisclosurePrincipalAccountingPoliciesEmployeeBenefitsGovernmentSubsidiesSegmentReportingDeferredOfferingCostsDetails</Role>
      <ShortName>Principal Accounting Policies - Employee Benefits, Government Subsidies, Segment Reporting, Deferred offering costs (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>67</Position>
    </Report>
    <Report instance="tmb-20201231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R68.htm</HtmlFileName>
      <LongName>40401 - Disclosure - Business acquisition - Summary of Fair Values of Assets Acquired and Liabilities Assumed (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tuniu.com/role/DisclosureBusinessAcquisitionSummaryOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedDetails</Role>
      <ShortName>Business acquisition - Summary of Fair Values of Assets Acquired and Liabilities Assumed (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>68</Position>
    </Report>
    <Report instance="tmb-20201231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R69.htm</HtmlFileName>
      <LongName>40402 - Disclosure - Business acquisition - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tuniu.com/role/DisclosureBusinessAcquisitionAdditionalInformationDetails</Role>
      <ShortName>Business acquisition - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>69</Position>
    </Report>
    <Report instance="tmb-20201231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R70.htm</HtmlFileName>
      <LongName>40501 - Disclosure - Transaction with JD.com, Inc. - Summary of Fair Value About Acquired Intangible Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tuniu.com/role/DisclosureTransactionWithJdcomIncSummaryOfFairValueAboutAcquiredIntangibleAssetsDetails</Role>
      <ShortName>Transaction with JD.com, Inc. - Summary of Fair Value About Acquired Intangible Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>70</Position>
    </Report>
    <Report instance="tmb-20201231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R71.htm</HtmlFileName>
      <LongName>40502 - Disclosure - Transaction with JD.com, Inc. - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tuniu.com/role/DisclosureTransactionWithJdcomIncAdditionalInformationDetails</Role>
      <ShortName>Transaction with JD.com, Inc. - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>71</Position>
    </Report>
    <Report instance="tmb-20201231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R72.htm</HtmlFileName>
      <LongName>40601 - Disclosure - Prepayments and other current assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tuniu.com/role/DisclosurePrepaymentsAndOtherCurrentAssetsDetails</Role>
      <ShortName>Prepayments and other current assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.tuniu.com/role/DisclosurePrepaymentsAndOtherCurrentAssetsTables</ParentRole>
      <Position>72</Position>
    </Report>
    <Report instance="tmb-20201231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R73.htm</HtmlFileName>
      <LongName>40602 - Disclosure - Prepayments and other current assets - Summary of provision for other current assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tuniu.com/role/DisclosurePrepaymentsAndOtherCurrentAssetsSummaryOfProvisionForOtherCurrentAssetsDetails</Role>
      <ShortName>Prepayments and other current assets - Summary of provision for other current assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>73</Position>
    </Report>
    <Report instance="tmb-20201231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R74.htm</HtmlFileName>
      <LongName>40603 - Disclosure - Prepayments and other current assets - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tuniu.com/role/DisclosurePrepaymentsAndOtherCurrentAssetsAdditionalInformationDetails</Role>
      <ShortName>Prepayments and other current assets - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>74</Position>
    </Report>
    <Report instance="tmb-20201231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R75.htm</HtmlFileName>
      <LongName>40701 - Disclosure - Long-term investments - Held-to-maturity investments and other long-term investments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tuniu.com/role/DisclosureLongTermInvestmentsHeldToMaturityInvestmentsAndOtherLongTermInvestmentsDetails</Role>
      <ShortName>Long-term investments - Held-to-maturity investments and other long-term investments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>75</Position>
    </Report>
    <Report instance="tmb-20201231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R76.htm</HtmlFileName>
      <LongName>40702 - Disclosure - Long-term investments - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tuniu.com/role/DisclosureLongTermInvestmentsAdditionalInformationDetails</Role>
      <ShortName>Long-term investments - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>76</Position>
    </Report>
    <Report instance="tmb-20201231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R77.htm</HtmlFileName>
      <LongName>40801 - Disclosure - Property and equipment, net (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tuniu.com/role/DisclosurePropertyAndEquipmentNetDetails</Role>
      <ShortName>Property and equipment, net (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.tuniu.com/role/DisclosurePropertyAndEquipmentNetTables</ParentRole>
      <Position>77</Position>
    </Report>
    <Report instance="tmb-20201231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R78.htm</HtmlFileName>
      <LongName>40901 - Disclosure - Intangible assets, net - Schedule of Intangible assets, Net (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tuniu.com/role/DisclosureIntangibleAssetsNetScheduleOfIntangibleAssetsNetDetails</Role>
      <ShortName>Intangible assets, net - Schedule of Intangible assets, Net (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>78</Position>
    </Report>
    <Report instance="tmb-20201231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R79.htm</HtmlFileName>
      <LongName>40902 - Disclosure - Intangible assets, net - Schedule of Annual Estimated Amortization Expense for Intangible Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tuniu.com/role/DisclosureIntangibleAssetsNetScheduleOfAnnualEstimatedAmortizationExpenseForIntangibleAssetsDetails</Role>
      <ShortName>Intangible assets, net - Schedule of Annual Estimated Amortization Expense for Intangible Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>79</Position>
    </Report>
    <Report instance="tmb-20201231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R80.htm</HtmlFileName>
      <LongName>41001 - Disclosure - Land use right, net (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tuniu.com/role/DisclosureLandUseRightNetDetails</Role>
      <ShortName>Land use right, net (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.tuniu.com/role/DisclosureLandUseRightNetTables</ParentRole>
      <Position>80</Position>
    </Report>
    <Report instance="tmb-20201231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R81.htm</HtmlFileName>
      <LongName>41002 - Disclosure - Land use right, net - Amortization (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tuniu.com/role/DisclosureLandUseRightNetAmortizationDetails</Role>
      <ShortName>Land use right, net - Amortization (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>81</Position>
    </Report>
    <Report instance="tmb-20201231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R82.htm</HtmlFileName>
      <LongName>41101 - Disclosure - Goodwill (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tuniu.com/role/DisclosureGoodwillDetails</Role>
      <ShortName>Goodwill (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.tuniu.com/role/DisclosureGoodwillTables</ParentRole>
      <Position>82</Position>
    </Report>
    <Report instance="tmb-20201231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R83.htm</HtmlFileName>
      <LongName>41201 - Disclosure - Other non-current assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tuniu.com/role/DisclosureOtherNonCurrentAssetsDetails</Role>
      <ShortName>Other non-current assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.tuniu.com/role/DisclosureOtherNonCurrentAssetsTables</ParentRole>
      <Position>83</Position>
    </Report>
    <Report instance="tmb-20201231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R84.htm</HtmlFileName>
      <LongName>41202 - Disclosure - Other non-current assets - Provision for other loans receivable (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tuniu.com/role/DisclosureOtherNonCurrentAssetsProvisionForOtherLoansReceivableDetails</Role>
      <ShortName>Other non-current assets - Provision for other loans receivable (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>84</Position>
    </Report>
    <Report instance="tmb-20201231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R85.htm</HtmlFileName>
      <LongName>41301 - Disclosure - Short-term and long-term borrowings (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tuniu.com/role/DisclosureShortTermAndLongTermBorrowingsDetails</Role>
      <ShortName>Short-term and long-term borrowings (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.tuniu.com/role/DisclosureShortTermAndLongTermBorrowingsTables</ParentRole>
      <Position>85</Position>
    </Report>
    <Report instance="tmb-20201231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R86.htm</HtmlFileName>
      <LongName>41302 - Disclosure - Short-term and long-term borrowings - Repayments of principal amounts (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tuniu.com/role/DisclosureShortTermAndLongTermBorrowingsRepaymentsOfPrincipalAmountsDetails</Role>
      <ShortName>Short-term and long-term borrowings - Repayments of principal amounts (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>86</Position>
    </Report>
    <Report instance="tmb-20201231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R87.htm</HtmlFileName>
      <LongName>41401 - Disclosure - Leases (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tuniu.com/role/DisclosureLeasesDetails</Role>
      <ShortName>Leases (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.tuniu.com/role/DisclosureLeasesTables</ParentRole>
      <Position>87</Position>
    </Report>
    <Report instance="tmb-20201231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R88.htm</HtmlFileName>
      <LongName>41402 - Disclosure - Leases - Consolidated balance sheet, cash flow and other information related to leases (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tuniu.com/role/DisclosureLeasesConsolidatedBalanceSheetCashFlowAndOtherInformationRelatedToLeasesDetails</Role>
      <ShortName>Leases - Consolidated balance sheet, cash flow and other information related to leases (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>88</Position>
    </Report>
    <Report instance="tmb-20201231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R89.htm</HtmlFileName>
      <LongName>41403 - Disclosure - Leases - Maturities of lease liabilities under ASC 842 (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tuniu.com/role/DisclosureLeasesMaturitiesOfLeaseLiabilitiesUnderAsc842Details</Role>
      <ShortName>Leases - Maturities of lease liabilities under ASC 842 (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>89</Position>
    </Report>
    <Report instance="tmb-20201231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R90.htm</HtmlFileName>
      <LongName>41501 - Disclosure - Accrued expenses and other current liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tuniu.com/role/DisclosureAccruedExpensesAndOtherCurrentLiabilitiesDetails</Role>
      <ShortName>Accrued expenses and other current liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.tuniu.com/role/DisclosureAccruedExpensesAndOtherCurrentLiabilitiesTables</ParentRole>
      <Position>90</Position>
    </Report>
    <Report instance="tmb-20201231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R91.htm</HtmlFileName>
      <LongName>41502 - Disclosure - Accrued expenses and other current liabilities - Summary of Accrued Expenses and Other Current Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tuniu.com/role/DisclosureAccruedExpensesAndOtherCurrentLiabilitiesSummaryOfAccruedExpensesAndOtherCurrentLiabilitiesDetails</Role>
      <ShortName>Accrued expenses and other current liabilities - Summary of Accrued Expenses and Other Current Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>91</Position>
    </Report>
    <Report instance="tmb-20201231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R92.htm</HtmlFileName>
      <LongName>41601 - Disclosure - Income Taxes (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tuniu.com/role/DisclosureIncomeTaxesDetails</Role>
      <ShortName>Income Taxes (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.tuniu.com/role/DisclosureIncomeTaxesTables</ParentRole>
      <Position>92</Position>
    </Report>
    <Report instance="tmb-20201231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R93.htm</HtmlFileName>
      <LongName>41602 - Disclosure - Income Taxes - Schedule of Reconciliation between Effective Income Tax Rate and PRC Statutory Income tax Rate (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tuniu.com/role/DisclosureIncomeTaxesScheduleOfReconciliationBetweenEffectiveIncomeTaxRateAndPrcStatutoryIncomeTaxRateDetails</Role>
      <ShortName>Income Taxes - Schedule of Reconciliation between Effective Income Tax Rate and PRC Statutory Income tax Rate (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>93</Position>
    </Report>
    <Report instance="tmb-20201231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R94.htm</HtmlFileName>
      <LongName>41603 - Disclosure - Income Taxes - Schedule of Aggregate Amount and Per Share Effect of Tax Holidays (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tuniu.com/role/DisclosureIncomeTaxesScheduleOfAggregateAmountAndPerShareEffectOfTaxHolidaysDetails</Role>
      <ShortName>Income Taxes - Schedule of Aggregate Amount and Per Share Effect of Tax Holidays (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>94</Position>
    </Report>
    <Report instance="tmb-20201231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R95.htm</HtmlFileName>
      <LongName>41604 - Disclosure - Income Taxes - Schedule of Significant Components of Deferred Tax Assets and Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tuniu.com/role/DisclosureIncomeTaxesScheduleOfSignificantComponentsOfDeferredTaxAssetsAndLiabilitiesDetails</Role>
      <ShortName>Income Taxes - Schedule of Significant Components of Deferred Tax Assets and Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>95</Position>
    </Report>
    <Report instance="tmb-20201231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R96.htm</HtmlFileName>
      <LongName>41605 - Disclosure - Income Taxes - Schedule of Movement of Valuation Allowance (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tuniu.com/role/DisclosureIncomeTaxesScheduleOfMovementOfValuationAllowanceDetails</Role>
      <ShortName>Income Taxes - Schedule of Movement of Valuation Allowance (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>96</Position>
    </Report>
    <Report instance="tmb-20201231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R97.htm</HtmlFileName>
      <LongName>41701 - Disclosure - Redeemable noncontrolling interests (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tuniu.com/role/DisclosureRedeemableNoncontrollingInterestsDetails</Role>
      <ShortName>Redeemable noncontrolling interests (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.tuniu.com/role/DisclosureRedeemableNoncontrollingInterestsTables</ParentRole>
      <Position>97</Position>
    </Report>
    <Report instance="tmb-20201231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R98.htm</HtmlFileName>
      <LongName>41702 - Disclosure - Redeemable noncontrolling interests - Schedule of carrying amount of redeemable noncontrolling interests (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tuniu.com/role/DisclosureRedeemableNoncontrollingInterestsScheduleOfCarryingAmountOfRedeemableNoncontrollingInterestsDetails</Role>
      <ShortName>Redeemable noncontrolling interests - Schedule of carrying amount of redeemable noncontrolling interests (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>98</Position>
    </Report>
    <Report instance="tmb-20201231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R99.htm</HtmlFileName>
      <LongName>41801 - Disclosure - Ordinary Shares (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tuniu.com/role/DisclosureOrdinarySharesDetails</Role>
      <ShortName>Ordinary Shares (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.tuniu.com/role/DisclosureOrdinaryShares</ParentRole>
      <Position>99</Position>
    </Report>
    <Report instance="tmb-20201231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R100.htm</HtmlFileName>
      <LongName>41901 - Disclosure - Share-based Compensation Expenses (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tuniu.com/role/DisclosureShareBasedCompensationExpensesDetails</Role>
      <ShortName>Share-based Compensation Expenses (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.tuniu.com/role/DisclosureShareBasedCompensationExpensesTables</ParentRole>
      <Position>100</Position>
    </Report>
    <Report instance="tmb-20201231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R101.htm</HtmlFileName>
      <LongName>41902 - Disclosure - Share-based Compensation Expenses - Summary of Company's Option Activity under 2008 Plan (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tuniu.com/role/DisclosureShareBasedCompensationExpensesSummaryOfCompanySOptionActivityUnder2008PlanDetails</Role>
      <ShortName>Share-based Compensation Expenses - Summary of Company's Option Activity under 2008 Plan (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>101</Position>
    </Report>
    <Report instance="tmb-20201231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R102.htm</HtmlFileName>
      <LongName>41903 - Disclosure - Share-based Compensation Expenses - Schedule of Assumptions Used to Estimate Fair Value of Option Grant on Date of Grant (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tuniu.com/role/DisclosureShareBasedCompensationExpensesScheduleOfAssumptionsUsedToEstimateFairValueOfOptionGrantOnDateOfGrantDetails</Role>
      <ShortName>Share-based Compensation Expenses - Schedule of Assumptions Used to Estimate Fair Value of Option Grant on Date of Grant (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>102</Position>
    </Report>
    <Report instance="tmb-20201231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R103.htm</HtmlFileName>
      <LongName>41904 - Disclosure - Share-based Compensation Expenses - Summary of Restricted Shares Activity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tuniu.com/role/DisclosureShareBasedCompensationExpensesSummaryOfRestrictedSharesActivityDetails</Role>
      <ShortName>Share-based Compensation Expenses - Summary of Restricted Shares Activity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>103</Position>
    </Report>
    <Report instance="tmb-20201231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R104.htm</HtmlFileName>
      <LongName>42001 - Disclosure - Loss Per Share - Schedule of Computation of Basic and Diluted Net Loss Per Share (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tuniu.com/role/DisclosureLossPerShareScheduleOfComputationOfBasicAndDilutedNetLossPerShareDetails</Role>
      <ShortName>Loss Per Share - Schedule of Computation of Basic and Diluted Net Loss Per Share (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>104</Position>
    </Report>
    <Report instance="tmb-20201231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R105.htm</HtmlFileName>
      <LongName>42002 - Disclosure - Loss Per Share - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tuniu.com/role/DisclosureLossPerShareAdditionalInformationDetails</Role>
      <ShortName>Loss Per Share - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>105</Position>
    </Report>
    <Report instance="tmb-20201231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R106.htm</HtmlFileName>
      <LongName>42101 - Disclosure - Restricted Net Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tuniu.com/role/DisclosureRestrictedNetAssetsDetails</Role>
      <ShortName>Restricted Net Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.tuniu.com/role/DisclosureRestrictedNetAssets</ParentRole>
      <Position>106</Position>
    </Report>
    <Report instance="tmb-20201231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R107.htm</HtmlFileName>
      <LongName>42201 - Disclosure - Commitments and Contingencies (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tuniu.com/role/DisclosureCommitmentsAndContingenciesDetails</Role>
      <ShortName>Commitments and Contingencies (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.tuniu.com/role/DisclosureCommitmentsAndContingencies</ParentRole>
      <Position>107</Position>
    </Report>
    <Report instance="tmb-20201231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R108.htm</HtmlFileName>
      <LongName>42301 - Disclosure - Related party transactions and balances (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tuniu.com/role/DisclosureRelatedPartyTransactionsAndBalancesDetails</Role>
      <ShortName>Related party transactions and balances (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.tuniu.com/role/DisclosureRelatedPartyTransactionsAndBalancesTables</ParentRole>
      <Position>108</Position>
    </Report>
    <Report instance="tmb-20201231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R109.htm</HtmlFileName>
      <LongName>42302 - Disclosure - Related party transactions and balances - Schedule of Balance with Related Parties (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tuniu.com/role/DisclosureRelatedPartyTransactionsAndBalancesScheduleOfBalanceWithRelatedPartiesDetails</Role>
      <ShortName>Related party transactions and balances - Schedule of Balance with Related Parties (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>109</Position>
    </Report>
    <Report instance="tmb-20201231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R110.htm</HtmlFileName>
      <LongName>42501 - Disclosure - CONDENSED FINANCIAL INFORMATION OF THE PARENT COMPANY - CONDENSED BALANCE SHEETS (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tuniu.com/role/DisclosureCondensedFinancialInformationOfParentCompanyCondensedBalanceSheetsDetails</Role>
      <ShortName>CONDENSED FINANCIAL INFORMATION OF THE PARENT COMPANY - CONDENSED BALANCE SHEETS (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>110</Position>
    </Report>
    <Report instance="tmb-20201231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R111.htm</HtmlFileName>
      <LongName>42502 - Disclosure - CONDENSED FINANCIAL INFORMATION OF THE PARENT COMPANY - CONDENSED STATEMENTS OF COMPREHENSIVE LOSS (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tuniu.com/role/DisclosureCondensedFinancialInformationOfParentCompanyCondensedStatementsOfComprehensiveLossDetails</Role>
      <ShortName>CONDENSED FINANCIAL INFORMATION OF THE PARENT COMPANY - CONDENSED STATEMENTS OF COMPREHENSIVE LOSS (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>111</Position>
    </Report>
    <Report instance="tmb-20201231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R112.htm</HtmlFileName>
      <LongName>42503 - Disclosure - CONDENSED FINANCIAL INFORMATION OF THE PARENT COMPANY - CONDENSED STATEMENTS OF CASH FLOWS (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tuniu.com/role/DisclosureCondensedFinancialInformationOfParentCompanyCondensedStatementsOfCashFlowsDetails</Role>
      <ShortName>CONDENSED FINANCIAL INFORMATION OF THE PARENT COMPANY - CONDENSED STATEMENTS OF CASH FLOWS (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>112</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <InputFiles>
    <File doctype="20-F" original="tmb-20201231x20f.htm">tmb-20201231x20f.htm</File>
    <File>tmb-20201231.xsd</File>
    <File>tmb-20201231_cal.xml</File>
    <File>tmb-20201231_def.xml</File>
    <File>tmb-20201231_lab.xml</File>
    <File>tmb-20201231_pre.xml</File>
    <File>tmb-20201231xex12d1.htm</File>
    <File>tmb-20201231xex12d2.htm</File>
    <File>tmb-20201231xex13d1.htm</File>
    <File>tmb-20201231xex13d2.htm</File>
    <File>tmb-20201231xex15d1.htm</File>
    <File>tmb-20201231xex15d2.htm</File>
    <File>tmb-20201231xex15d3.htm</File>
    <File>tmb-20201231xex2d4.htm</File>
    <File>tmb-20201231xex4d10.htm</File>
    <File>tmb-20201231xex4d5.htm</File>
    <File>tmb-20201231xex4d6.htm</File>
    <File>tmb-20201231xex4d7.htm</File>
    <File>tmb-20201231xex4d8.htm</File>
    <File>tmb-20201231xex4d9.htm</File>
    <File>tmb-20201231xex8d1.htm</File>
  </InputFiles>
  <SupplementalFiles>
    <File>tmb-20201231x20f001.jpg</File>
    <File>tmb-20201231x20f002.jpg</File>
    <File>tmb-20201231x20f003.jpg</File>
    <File>tmb-20201231x20f004.jpg</File>
    <File>tmb-20201231x20f005.jpg</File>
  </SupplementalFiles>
  <BaseTaxonomies>
    <BaseTaxonomy>http://xbrl.sec.gov/country/2020-01-31</BaseTaxonomy>
    <BaseTaxonomy>http://xbrl.sec.gov/dei/2020-01-31</BaseTaxonomy>
    <BaseTaxonomy>http://fasb.org/srt/2020-01-31</BaseTaxonomy>
    <BaseTaxonomy>http://fasb.org/us-gaap/2020-01-31</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
