v3.25.3

Retirement and Post-Retirement Benefit Plans - Retirement Incentive Program (Narrative) (Details) - USD ($) $ in Thousands | 1 Months Ended | 12 Months Ended
--- | --- | ---
Jan. 31, 2023 | Oct. 31, 2025 | Oct. 31, 2024 | Oct. 31, 2023
Defined Benefit Plan Disclosure [Line Items] |  |  |  |
Eligible age with 10 years of service | 55 years |  |  |
EER benefit, minimum |  | 91 days |  |
EER benefit, maximum |  | 364 days |  |
Restructuring charges |  | $ 327,000 | $ 233,000 | $ 444,000
Health care coverage extension period | 36 months |  |  |
Maximum employer credits | $ 12 |  |  |
Other charges |  | $ 78,000 | $ 68,000 | 83,000
Special Termination Benefits | Fiscal 2023 Plan |  |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |  |
Restructuring charges |  |  |  | 105,000
Other charges |  |  |  | $ 34,000

X
- Definition Eligible Age with Ten Years of Service for Enhanced Early Retirement Program + References No definition available. + Details
Name: | hpq_EligibleAgeWithTenYearsOfServiceForEnhancedEarlyRetirementProgram
Namespace Prefix: | hpq_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Enhanced Early Retirement Program Benefit, Weeks of Pay, Maximum + References No definition available. + Details
Name: | hpq_EnhancedEarlyRetirementProgramBenefitWeeksofPayMaximum
Namespace Prefix: | hpq_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Enhanced Early Retirement Program Benefit, Weeks of Pay, Minimum + References No definition available. + Details
Name: | hpq_EnhancedEarlyRetirementProgramBenefitWeeksofPayMinimum
Namespace Prefix: | hpq_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Health Care Coverage Extension, Enhanced Early Retirement Program, Period + References No definition available. + Details
Name: | hpq_HealthCareCoverageExtensionEnhancedEarlyRetirementProgramPeriod
Namespace Prefix: | hpq_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Maximum Retirement Medical Savings Account Employer Credits + References No definition available. + Details
Name: | hpq_MaximumRetirementMedicalSavingsAccountEmployerCredits
Namespace Prefix: | hpq_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
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 Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Subparagraph (k) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480506/715-20-50-5 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Subparagraph (d) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480506/715-20-50-5 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Subparagraph (i) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480506/715-20-50-5 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Subparagraph (l) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480506/715-20-50-5 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Subparagraph (g) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480506/715-20-50-5 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Subparagraph (j)(1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480506/715-20-50-5 Reference 7: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Subparagraph (j)(2) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480506/715-20-50-5 Reference 8: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Subparagraph (j)(4) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480506/715-20-50-5 Reference 9: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Subparagraph (j)(3) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480506/715-20-50-5 Reference 10: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480506/715-20-50-5 Reference 11: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480506/715-20-50-5 Reference 12: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Subparagraph (c)(iv)(02) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480506/715-20-50-5 Reference 13: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Subparagraph (c)(ii) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480506/715-20-50-5 Reference 14: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 7 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480506/715-20-50-7 Reference 15: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Subparagraph (q) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480506/715-20-50-5 Reference 16: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Subparagraph (m) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480506/715-20-50-5 Reference 17: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Subparagraph (h) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480506/715-20-50-5 Reference 18: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Subparagraph (f) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480506/715-20-50-5 Reference 19: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Subparagraph (e) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480506/715-20-50-5 Reference 20: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480506/715-20-50-5 + Details
Name: | us-gaap_DefinedBenefitPlanDisclosureLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of other expenses associated with exit or disposal activities pursuant to an authorized plan. Excludes expenses associated with a discontinued operation or an asset retirement obligation. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section 45 -Paragraph 28 -Subparagraph (b) -SubTopic 10 -Topic 230 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482740/230-10-45-28 + Details
Name: | us-gaap_OtherRestructuringCosts
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of expenses associated with exit or disposal activities pursuant to an authorized plan. Excludes expenses related to a discontinued operation or an asset retirement obligation. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section 45 -Paragraph 28 -Subparagraph (b) -SubTopic 10 -Topic 230 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482740/230-10-45-28 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Topic 220 -SubTopic 40 -Name Accounting Standards Codification -Section 55 -Paragraph 18 -Publisher FASB -URI https://asc.fasb.org/1943274/2147476153/220-40-55-18 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 420 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 2 -Subparagraph (SAB Topic 5.P.4.b.1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479823/420-10-S99-2 Reference 4: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 420 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 3 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482047/420-10-45-3 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Topic 420 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SAB Topic 5.P.3) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479823/420-10-S99-1 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Topic 220 -SubTopic 40 -Name Accounting Standards Codification -Section 50 -Paragraph 21 -Subparagraph (e) -Publisher FASB -URI https://asc.fasb.org/1943274/2147476148/220-40-50-21 Reference 7: http://www.xbrl.org/2003/role/disclosureRef -Topic 220 -SubTopic 40 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147476148/220-40-50-6 + Details
Name: | us-gaap_RestructuringCharges
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | us-gaap_RestructuringCostAndReserveAxis=us-gaap_SpecialTerminationBenefitsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RestructuringPlanAxis=hpq_Fiscal2023RestructuringPlanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |