Attached files

file filename
10-K - 10-K - Anacor Pharmaceuticals, Inc.a2203077z10-k.htm
EX-4.7 - EX-4.7 - Anacor Pharmaceuticals, Inc.a2203077zex-4_7.htm
EX-4.8 - EX-4.8 - Anacor Pharmaceuticals, Inc.a2203077zex-4_8.htm
EX-31.1 - EX-31.1 - Anacor Pharmaceuticals, Inc.a2203077zex-31_1.htm
EX-32.1 - EX-32.1 - Anacor Pharmaceuticals, Inc.a2203077zex-32_1.htm
EX-31.2 - EX-31.2 - Anacor Pharmaceuticals, Inc.a2203077zex-31_2.htm

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-8 No. 333-171264) pertaining to the 2001 Equity Incentive Plan, 2010 Equity Incentive Plan, and 2010 Employee Stock Purchase Plan of Anacor Pharmaceuticals, Inc. of our report dated March 29, 2011, with respect to the financial statements of Anacor Pharmaceuticals, Inc. included in this Annual Report (Form 10-K) for the year ended December 31, 2010.

    /s/ ERNST & YOUNG LLP  

Palo Alto, California
March 29, 2011

 

 



QuickLinks

Consent of Independent Registered Public Accounting Firm