v3.25.3

Retirement and Post-Retirement Benefit Plans - Post-Retirement Benefit Plans (Narrative) (Details) | 12 Months Ended
--- | ---
Oct. 31, 2025
Post-Retirement Benefit Plans |
Defined Benefit Plans and Other Postretirement Benefit Plans Table Text Block [Line Items] |
Eligible age for HP retirement medical savings account plan | 45 years

X
- Definition This element represents the age for eligibility under HP Retirement Medical Savings Account Plan. + References No definition available. + Details
Name: | hpq_EligibleAgeForHPRetirementMedicalSavingsAccountPlan
Namespace Prefix: | hpq_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

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_RetirementPlanTypeAxis=us-gaap_OtherPostretirementBenefitPlansDefinedBenefitMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |