v3.25.3

Retirement and Post-Retirement Benefit Plans - Defined Benefit Plans (Narrative) (Details) - USD ($) $ in Millions | Oct. 31, 2025 | Oct. 31, 2024
--- | --- | ---
DPSP |  |
Defined Benefit Plans and Other Postretirement Benefit Plans Table Text Block [Line Items] |  |
Fair value of plan assets | $ 278 | $ 297

X
- Definition Assets, usually stocks, bonds, and other investments, that have been segregated and restricted (usually in a trust) to provide benefits under both defined benefit and deferred profit sharing plans, at their fair value as of the measurement date. Plan assets include amounts contributed by the employer (and by employees for a contributory plan) and amounts earned from investing the contributions, less benefits paid. If a plan has liabilities other than for benefits, those non-benefit obligations may be considered as reductions of plan assets. + References No definition available. + Details
Name: | hpq_DefinedContributionPlanandDeferredProfitSharingPlanFairValueofPlanAssets
Namespace Prefix: | hpq_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_DefinedBenefitPlansAndOtherPostretirementBenefitPlansTableTextBlockLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_RetirementPlanNameAxis=hpq_DeferredProfitSharingPlanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |