v3.25.3

Taxes on Earnings - Uncertain Tax Positions (Narrative) (Details) $ in Millions | 12 Months Ended |  |  |
--- | --- | --- | --- | ---
Oct. 31, 2025 USD ($) country | Oct. 31, 2024 USD ($) | Oct. 31, 2023 USD ($) | Oct. 31, 2022 USD ($)
Income Tax Disclosure [Abstract] |  |  |  |
Unrecognized tax benefits | $ 865 | $ 1,217 | $ 1,137 | $ 1,045
Unrecognized tax benefits that would affect effective tax rate if realized | 656 |  |  |
Increase in gross unrecognized tax benefits | (352) |  |  |
Accrued income tax for interest and penalties | $ 122 | $ 135 | $ 102 |
Likelihood of no resolution period | 12 months |  |  |
Reasonably possible decrease in existing unrecognized tax benefits within the next 12 months | $ 42 |  |  |
Number of other countries in which HP is subject to income taxes | country | 60 |  |  |
Undistributed earnings from non-U.S. operations | $ 5,100 |  |  |

X
- Definition The period of likelihood that the uncertain tax position will not be resolved. + References No definition available. + Details
Name: | hpq_IncomeTaxExaminationLikelihoodOfNoResolutionPeriod
Namespace Prefix: | hpq_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Represents the number of other countries in which the entity is subject to income taxes. + References No definition available. + Details
Name: | hpq_OtherCountriesWithIncomeTaxJurisdictionNumber
Namespace Prefix: | hpq_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition Amount of decrease reasonably possible in the next twelve months for the unrecognized tax benefit. + References Reference 1: http://fasb.org/us-gaap/role/ref/otherTransitionRef -Topic 740 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 15 -Subparagraph (d)(3) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482685/740-10-50-15 + Details
Name: | us-gaap_DecreaseInUnrecognizedTaxBenefitsIsReasonablyPossible
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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 The amount of estimated penalties and interest accrued as of the balance sheet date arising from income tax examinations. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 740 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 15 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482685/740-10-50-15 + Details
Name: | us-gaap_IncomeTaxExaminationPenaltiesAndInterestAccrued
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of undistributed earnings of foreign subsidiaries intended to be permanently reinvested outside the country of domicile. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 944 -SubTopic 740 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478822/944-740-50-1 Reference 2: http://fasb.org/us-gaap/role/ref/otherTransitionRef -Topic 740 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482603/740-30-50-2 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 740 -SubTopic 10 -Name Accounting Standards Codification -Section 25 -Paragraph 3 -Subparagraph (a)(1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482620/740-10-25-3 + Details
Name: | us-gaap_UndistributedEarningsOfForeignSubsidiaries
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of unrecognized tax benefits. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 740 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 217 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482663/740-10-55-217 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 740 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 15A -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482685/740-10-50-15A Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 740 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 10B -Publisher FASB -URI https://asc.fasb.org/1943274/2147482525/740-10-45-10B + Details
Name: | us-gaap_UnrecognizedTaxBenefits
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of increase (decrease) in unrecognized tax benefits attributable to uncertain tax positions taken in tax returns. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 740 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 15A -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482685/740-10-50-15A + Details
Name: | us-gaap_UnrecognizedTaxBenefitsPeriodIncreaseDecrease
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | duration

X
- Definition The total amount of unrecognized tax benefits that, if recognized, would affect the effective tax rate. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 740 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 217 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482663/740-10-55-217 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 740 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 15A -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482685/740-10-50-15A + Details
Name: | us-gaap_UnrecognizedTaxBenefitsThatWouldImpactEffectiveTaxRate
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant