QuickLinks -- Click here to rapidly navigate through this document
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 Amendment No. 2 to the Registration Statement (Form S-1 Registration No. 333-149846) and related Prospectus of Zogenix, Inc. to be filed with the Securities and Exchange Commission for the registration of its shares of common stock.
/s/ Ernst & Young LLP |
San Diego, California
June 13, 2008