EX-23.1 5 a2182915zex-23_1.htm EXHIBIT 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 Statements on Form S-8 (No. 333-119559, No. 333-123716, No. 333-129669 and No. 333-142707) and Form S-3 (No. 333-148677) of our reports dated February 25, 2008, with respect to the consolidated financial statements of Theravance, Inc. and the effectiveness of internal control over financial reporting of Theravance, Inc., included in this Annual Report (Form 10-K) for the year ended December 31, 2007.

    /s/ Ernst & Young LLP

Palo Alto, California
February 25, 2008




QuickLinks

CONSENT OF INDEPENDENT REGISTERED PUBLIC ACCOUNTING FIRM