Exhibit 23.1
Consent of Independent Registered Public Accounting Firm
We consent to the reference to our firm under the caption “Experts” in the Amendment No. 1 to the Post-Effective Registration Statement (Form S-1 No. 333-161804) and related Prospectus and Prospectus Supplements of Alexza Pharmaceuticals, Inc. for the registration of 15,000,000 shares of its common stock and to the incorporation of our reports dated March 9, 2010, with respect to the consolidated financial statements of Alexza Pharmaceuticals, Inc. and the effectiveness of internal control over financial reporting of Alexza Pharmaceuticals, Inc. included in its Annual Report (Form 10-K) for the year ended December 31, 2009, filed with the Securities and Exchange Commission.
/s/ Ernst & Young LLP
Palo Alto, California
March 9, 2010