EX-23 14 a2148694zex-23.htm EXHIBIT 23
QuickLinks -- Click here to rapidly navigate through this document


Exhibit 23


Consent of Independent Registered Public Accounting Firm

We consent to the incorporation by reference in the Registration Statements on Form S-3 (Nos. 333-30786, 333-83346 and 333-86378) and in the related Prospectuses, and the Registration Statements on Form S-8 (Nos. 2-90239, 2-92331, 2-96361, 33-30769, 33-31496, 33-31500, 33-38579, 33-50699, 33-52291, 33-58447, 33-65179, 333-22947, 333-30459, 333-45231, 333-35836, 333-70232, 333-85136, 333-87742, 333-87788, 333-113148, 333-114253, 333-114254, 333-114255 and 333-114346) of Hewlett-Packard Company, of our report dated November 16, 2004, with respect to the consolidated financial statements and schedule of Hewlett-Packard Company included in this Annual Report (Form 10-K) for the year ended October 31, 2004.

/s/  ERNST & YOUNG LLP      

San Jose, California
January 12, 2005




QuickLinks

Consent of Independent Registered Public Accounting Firm