EX-23.1 8 a2201807zex-23_1.htm EX-23.1
QuickLinks -- Click here to rapidly navigate through this document


EXHIBIT 23.1

Consent of Independent Registered Public Accounting Firm

        We consent to the incorporation by reference in the Registration Statement (Form S-3 No. 333-161594) of Hospitality Properties Trust and in the related Prospectus of our reports dated February 22, 2011, with respect to the consolidated financial statements and schedule of Hospitality Properties Trust and the effectiveness of internal control over financial reporting of Hospitality Properties Trust, included in this Annual Report (Form 10-K) for the year ended December 31, 2010.

                        /s/ Ernst & Young LLP

Boston, Massachusetts
February 22, 2011




QuickLinks

Consent of Independent Registered Public Accounting Firm