EX-23.1 14 a2183293zex-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 reference to our firm under the caption "Experts" and to the use of our report dated March 3, 2008, in the Registration Statement (Form S-1) and related Prospectus of Zogenix, Inc. to be filed with the Securities and Exchange Commission on or about March 20, 2008 for the registration of its shares of common stock.

    /s/ Ernst & Young LLP

San Diego, California
March 18, 2008




QuickLinks