Exhibit 5

Graphic

O’Melveny & Myers LLP
303 Colorado Street
Suite 2750
Austin, TX 78701-4653

T: +1 737 261 8600
F: +1 737 261 8601
omm.com

March 8, 2023

Liberty TripAdvisor Holdings, Inc.

12300 Liberty Boulevard

Englewood, Colorado 80112

Re:

Registration of Securities of Liberty TripAdvisor Holdings, Inc.

Ladies and Gentlemen

In connection with the registration of up to 35,000 shares of Series A common stock of Liberty TripAdvisor Holdings, Inc., a Delaware corporation (the “Company”), par value $0.01 per share, and up to 165,000 shares of Series B common stock of the Company, par value $0.01 per share (collectively, the “Shares”), under the Securities Act of 1933, as amended, pursuant to a Registration Statement on Form S-8 (the “Registration Statement”), filed with the Securities and Exchange Commission on or about the date hereof, such Shares to be issued or delivered pursuant to the Liberty TripAdvisor Holdings, Inc. 2019 Omnibus Incentive Plan (the “Plan”), you have requested our opinion set forth below.

In our capacity as counsel, we have examined originals or copies of those corporate and other records of the Company we considered appropriate.

On the basis of such examination and our consideration of those questions of law we considered relevant, and subject to the limitations and qualifications in this opinion, we are of the opinion that the Shares have been duly authorized by all necessary corporate action on the part of the Company and, when issued in accordance with such authorization, the provisions of the Plan and relevant agreements duly authorized by and in accordance with the terms of the Plan, and upon payment for and delivery of the Shares as contemplated in accordance with the Plan, and either (a) the countersigning of the certificate or certificates representing the Shares by a duly authorized signatory of the registrar for the Company’s common stock, or (b) the book-entry of the Shares by the transfer agent for the Company’s common stock in the name of The Depository Trust Company or its nominee, the Shares will be validly issued, fully paid and non-assessable.

I consent to your filing this opinion as an exhibit to the Registration Statement.

Respectfully submitted,

/s/ O’Melveny & Myers LLP

Austin • Century City • Dallas • Houston • Los Angeles • Newport Beach • New York • San Francisco • Silicon Valley • Washington, DC
Beijing • Brussels • Hong Kong • London • Seoul • Shanghai • Singapore • Tokyo