EX-23.1 5 a12-1329_1ex23d1.htm EX-23.1

Exhibit 23.1

 

Consent of Independent Registered Public Accounting Firm

 

We consent to the incorporation by reference in the Registration Statements (Form S-8 Nos. 333-179131, 333-174836, 333-173442, 333-171645, 333-157897 and 333-140739 Form S-3 Nos. 333-177709, and 333-147706) of Optimer Pharmaceuticals, Inc  and related prospectus of our reports dated March 8, 2012, with respect to the consolidated financial statements of Optimer Pharmaceuticals, Inc., and the effectiveness of internal control over financial reporting of Optimer Pharmaceuticals, Inc. included in this Annual Report (Form 10-K) for the year ended December 31, 2011.

 

 

 

/s/ Ernst & Young LLP

 

 

San Diego, California

 

March 8, 2012