EX-23.1 4 a2218319zex-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-189923) of Government Properties Income Trust and the Registration Statement (Form S-8 No. 333-191094) pertaining to the 2009 Incentive Share Award Plan of Government Properties Income Trust; of our reports dated February 19, 2014, with respect to the consolidated financial statements and schedule of Government Properties Income Trust and the effectiveness of internal control over financial reporting of Government Properties Income Trust included in this Annual Report (Form 10-K) of Government Properties Income Trust for the year ended December 31, 2013.

    /s/ Ernst & Young LLP

Boston, Massachusetts
February 19, 2014




QuickLinks

Consent of Independent Registered Public Accounting Firm