v3.25.3

Consolidated Statements of Cash Flows (Parenthetical) $ in Millions | Oct. 31, 2025 USD ($)
--- | ---
Statement of Cash Flows [Abstract] |
Cash, held-for-sale | $ 8

X
- Definition Cash, Held-For-Sale + References No definition available. + Details
Name: | hpq_CashHeldForSale
Namespace Prefix: | hpq_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- References No definition available. + Details
Name: | us-gaap_StatementOfCashFlowsAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration