v3.25.3

Taxes on Earnings - Provision for Taxes (Narrative) (Details) - USD ($) $ / shares in Units, $ in Millions | 12 Months Ended
--- | ---
Oct. 31, 2025 | Oct. 31, 2024 | Oct. 31, 2023
Income Tax Disclosure [Abstract] |  |  |
Net income tax charges (benefits) | $ (415) | $ (214) | $ (1,100)
Uncertain tax positions | 273 | (39) | 27
Restructuring benefits | 80 | 60 | 101
Net valuation allowance release | 44 | 198 | 255
Filing of tax returns in various jurisdictions | 28 | 14 | 58
Audit settlements in various jurisdictions | 22 |  | (60)
Litigation charges | 16 |  |
Chnages in tax rate | 69 | 25 |
Tax benefit related to acquisition charges |  | 11 | 42
Internal reorganization |  |  | 726
Tax charges for extinguishment of debt |  |  | 25
Income tax benefits, reduced rates for subsidiaries in certain countries | $ 153 | $ 217 | $ 190
Income tax benefits, reduced rates for subsidiaries in certain countries (in dollars per share) | $ 0.16 | $ 0.22 | $ 0.19

X
- Definition Effective Income Tax Rate Reconciliation, Business Combination, Amount + References No definition available. + Details
Name: | hpq_EffectiveIncomeTaxRateReconciliationBusinessCombinationAmount
Namespace Prefix: | hpq_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Effective Income Tax Rate Reconciliation, Debt Extinguishment, Amount + References No definition available. + Details
Name: | hpq_EffectiveIncomeTaxRateReconciliationDebtExtinguishmentAmount
Namespace Prefix: | hpq_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Effective Income Tax Rate Reconciliation, Filing Of Tax Returns In Various Jurisdictions, Amount + References No definition available. + Details
Name: | hpq_EffectiveIncomeTaxRateReconciliationFilingOfTaxReturnsInVariousJurisdictionsAmount
Namespace Prefix: | hpq_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Effective Income Tax Rate Reconciliation, Internal Reorganization, Amount + References No definition available. + Details
Name: | hpq_EffectiveIncomeTaxRateReconciliationInternalReorganizationAmount
Namespace Prefix: | hpq_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Effective Income Tax Rate Reconciliation, Litigation Charges, Amount + References No definition available. + Details
Name: | hpq_EffectiveIncomeTaxRateReconciliationLitigationChargesAmount
Namespace Prefix: | hpq_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Effective Income Tax Rate Reconciliation, Restructuring Charges, Amount + References No definition available. + Details
Name: | hpq_EffectiveIncomeTaxRateReconciliationRestructuringChargesAmount
Namespace Prefix: | hpq_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Effective Income Tax Rate Reconciliation, Uncertain Tax Position Charges, Amount + References No definition available. + Details
Name: | hpq_EffectiveIncomeTaxRateReconciliationUncertainTaxPositionChargesAmount
Namespace Prefix: | hpq_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Income Tax Reconciliation Other Discrete Items Tax Charges (Credits) + References No definition available. + Details
Name: | hpq_IncomeTaxReconciliationOtherDiscreteItemsTaxChargesCredits
Namespace Prefix: | hpq_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations attributable to reduced rates for subsidiaries in certain countries resulting from certain employment actions and capital investments undertaken by the entity. + References No definition available. + Details
Name: | hpq_IncomeTaxReconciliationReducedRatesForIncomeFromManufacturingAndServices
Namespace Prefix: | hpq_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Per share amount of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations attributable to reduced rates for subsidiaries in certain countries resulting from certain employment actions and capital investments undertaken by the entity. + References No definition available. + Details
Name: | hpq_IncomeTaxReconciliationReducedRatesForIncomeFromManufacturingAndServicesPerShare
Namespace Prefix: | hpq_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | duration

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

X
- Definition Amount of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations attributable to increase (decrease) in the valuation allowance for deferred tax assets. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 740 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 231 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482663/740-10-55-231 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 740 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 12A -Subparagraph (a)(6) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482685/740-10-50-12A Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 740 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 12 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482685/740-10-50-12 + Details
Name: | us-gaap_IncomeTaxReconciliationChangeInDeferredTaxAssetsValuationAllowance
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations, attributable to increase (decrease) in the income tax rates. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 740 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 12 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482685/740-10-50-12 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Topic 740 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 231 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482663/740-10-55-231 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 740 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 12A -Subparagraph (a)(3) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482685/740-10-50-12A Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 740 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 15 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482525/740-10-45-15 + Details
Name: | us-gaap_IncomeTaxReconciliationChangeInEnactedTaxRate
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations attributable to income tax settlements. Including, but not limited to, domestic tax settlement, foreign tax settlement, state and local tax settlement, and other tax settlements. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 740 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 12 -Subparagraph (b)(3) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482685/740-10-50-12 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 740 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 12 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482685/740-10-50-12 + Details
Name: | us-gaap_IncomeTaxReconciliationTaxSettlements
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration