EX-23.1 5 d292521dex231.htm CONSENT OF INDEPENDENT REGISTERED PUBLIC ACCOUNTING FIRM Consent of Independent Registered Public Accounting Firm

Exhibit 23.1

Consent of Independent Registered Public Accounting Firm

We consent to the reference to our firm under the caption “Experts” in the Registration Statement (Form S-3) and related Prospectus of Zogenix, Inc. for the registration of $75,000,000 of debt securities, preferred stock, common stock, debt warrants, equity warrants and units and to the incorporation by reference therein of our report dated March 4, 2011, with respect to the consolidated financial statements and schedule of Zogenix, Inc. included in its Annual Report (Form 10-K) for the year ended December 31, 2010, filed with the Securities and Exchange Commission.

/s/ Ernst & Young LLP

San Diego, California

February 2, 2012