v3.25.3

Taxes on Earnings - Schedule of Deferred Tax Asset Valuation Allowance and Changes (Details) - USD ($) $ in Millions | 12 Months Ended
--- | ---
Oct. 31, 2025 | Oct. 31, 2024 | Oct. 31, 2023
Movement in Valuation Allowances and Reserves |  |  |
Balance at beginning of year | $ 6,688 | $ 6,994 | $ 7,592
Income tax (benefit) expense | (230) | (300) | (650)
Goodwill, other comprehensive loss (income), currency translation and charges to other accounts | 21 | (6) | 52
Balance at end of year | $ 6,479 | $ 6,688 | $ 6,994

X
- Definition Valuation Allowance, Deferred Tax Asset, Increase (Decrease) for Income Tax Expense (Benefit), Amount + References No definition available. + Details
Name: | hpq_ValuationAllowanceDeferredTaxAssetIncreaseDecreaseforIncomeTaxExpenseBenefitAmount
Namespace Prefix: | hpq_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Total of allowances and reserves, the valuation and qualifying accounts that are either netted against the cost of an asset (in order to value it at its carrying value) or that reflect a liability established to represent expected future costs related to currency translation and other. + References No definition available. + Details
Name: | hpq_ValuationAllowancesAndReservesCurrencyTranslationGoodwillAndOther
Namespace Prefix: | hpq_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of deferred tax assets for which it is more likely than not that a tax benefit will not be realized. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 740 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482685/740-10-50-2 + Details
Name: | us-gaap_DeferredTaxAssetsValuationAllowance
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period. + References No definition available. + Details
Name: | us-gaap_MovementInValuationAllowancesAndReservesRollForward
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration