XML 18 R8.htm IDEA: XBRL DOCUMENT
v3.22.2.2

Condensed Consolidated Statements of Changes in Stockholders' Equity (Parenthetical) $ in Millions | 9 Months Ended
--- | ---
Sep. 30, 2021 USD ($)
Statement of Stockholders' Equity [Abstract] |
Net of tax from purchase of capped calls | $ 9

X
- Definition Deferred tax asset recorded in connection with purchase of capped calls. + References No definition available. + Details
Name: | trip_NetOfTaxFromPurchaseOfCappedCalls
Namespace Prefix: | trip_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

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