XML 73 R63.htm IDEA: XBRL DOCUMENT
v3.25.2

Borrowings - Schedule of Long-Term Debt (Details) - USD ($) | Jul. 31, 2025 | Oct. 31, 2024
--- | --- | ---
Long-term debt |  |
Fair value adjustment related to hedged debt | $ (3,000,000) | $ (21,000,000)
Unamortized debt issuance cost | (47,000,000) | (47,000,000)
Current portion of long-term debt | (772,000,000) | (1,358,000,000)
Total long-term debt | 8,782,000,000 | 8,263,000,000
U.S. Dollar Global Notes |  |
Long-term debt |  |
Long-term debt | 8,893,000,000 | 9,044,000,000
$1,150 issued at discount to par at a price of 99.769% at 2.20%, due June 2025 |  |
Long-term debt |  |
Face amount of debt instrument | $ 1,150,000,000 |
Discount to par (percent) | 99.769% |
Interest rate (percent) | 2.20% |
Long-term debt | $ 0 | 1,150,000,000
$1,000 issued at discount to par at a price of 99.808% at 1.45%, due June 2026 |  |
Long-term debt |  |
Face amount of debt instrument | $ 1,000,000,000 |
Discount to par (percent) | 99.808% |
Interest rate (percent) | 1.45% |
Long-term debt | $ 522,000,000 | 521,000,000
$1,000 issued at discount to par at a price of 99.718% at 3.00%, due June 2027 |  |
Long-term debt |  |
Face amount of debt instrument | $ 1,000,000,000 |
Discount to par (percent) | 99.718% |
Interest rate (percent) | 3.00% |
Long-term debt | $ 999,000,000 | 999,000,000
$900 issued at discount to par at a price of 99.841% at 4.75%, due January 2028 |  |
Long-term debt |  |
Face amount of debt instrument | $ 900,000,000 |
Discount to par (percent) | 99.841% |
Interest rate (percent) | 4.75% |
Long-term debt | $ 899,000,000 | 899,000,000
$1,000 issued at discount to par at a price of 99.767% at 4.00%, due April 2029 |  |
Long-term debt |  |
Face amount of debt instrument | $ 1,000,000,000 |
Discount to par (percent) | 99.767% |
Interest rate (percent) | 4.00% |
Long-term debt | $ 999,000,000 | 999,000,000
$500 issued at discount to par at a price of 99.732% at 5.40%, due April 2030 |  |
Long-term debt |  |
Face amount of debt instrument | $ 500,000,000 |
Discount to par (percent) | 99.732% |
Interest rate (percent) | 5.40% |
Long-term debt | $ 499,000,000 | 0
$850 issued at discount to par at a price of 99.790% at 3.40%, due June 2030 |  |
Long-term debt |  |
Face amount of debt instrument | $ 850,000,000 |
Discount to par (percent) | 99.79% |
Interest rate (percent) | 3.40% |
Long-term debt | $ 503,000,000 | 503,000,000
$1,000 issued at discount to par at a price of 99.573% at 2.65%, due June 2031 |  |
Long-term debt |  |
Face amount of debt instrument | $ 1,000,000,000 |
Discount to par (percent) | 99.573% |
Interest rate (percent) | 2.65% |
Long-term debt | $ 997,000,000 | 997,000,000
$1,000 issued at discount to par at a price of 99.966% at 4.20%, due April 2032 |  |
Long-term debt |  |
Face amount of debt instrument | $ 1,000,000,000 |
Discount to par (percent) | 99.966% |
Interest rate (percent) | 4.20% |
Long-term debt | $ 676,000,000 | 676,000,000
$1,100 issued at discount to par at a price of 99.725% at 5.50%, due January 2033 |  |
Long-term debt |  |
Face amount of debt instrument | $ 1,100,000,000 |
Discount to par (percent) | 99.725% |
Interest rate (percent) | 5.50% |
Long-term debt | $ 1,098,000,000 | 1,098,000,000
$500 issued at discount to par at a price of 99.778% at 6.10%, due April 2035 |  |
Long-term debt |  |
Face amount of debt instrument | $ 500,000,000 |
Discount to par (percent) | 99.778% |
Interest rate (percent) | 6.10% |
Long-term debt | $ 499,000,000 | 0
$1,200 issued at discount to par at a price of 99.863% at 6.00%, due September 2041 |  |
Long-term debt |  |
Face amount of debt instrument | $ 1,200,000,000 |
Discount to par (percent) | 99.863% |
Interest rate (percent) | 6.00% |
Long-term debt | $ 1,199,000,000 | 1,199,000,000
$500 issued at par at a price of 100% at 4.75%, due March 2029 |  |
Long-term debt |  |
Face amount of debt instrument | $ 500,000,000 |
Issuance rate (percent) | 100.00% |
Interest rate (percent) | 4.75% |
Long-term debt | $ 3,000,000 | 3,000,000
Other borrowings at 1.46%-7.46%, due in fiscal years 2025-2032 |  |
Long-term debt |  |
Other borrowings at 1.46%-7.46%, due in fiscal years 2025-2032 | $ 711,000,000 | $ 645,000,000
Other borrowings at 1.46%-7.46%, due in fiscal years 2025-2032 | Minimum |  |
Long-term debt |  |
Interest rate (percent) | 1.46% |
Other borrowings at 1.46%-7.46%, due in fiscal years 2025-2032 | Maximum |  |
Long-term debt |  |
Interest rate (percent) | 7.46% |

X
- Definition Debt Instrument, Change In Fair Value Of Hedged Debt + References No definition available. + Details
Name: | hpq_DebtInstrumentChangeInFairValueOfHedgedDebt
Namespace Prefix: | hpq_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The discount to par at which a debt instrument was issued. + References No definition available. + Details
Name: | hpq_DebtInstrumentDiscountRateAtIssuance
Namespace Prefix: | hpq_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Debt Instrument, Rate At Issuance + References No definition available. + Details
Name: | hpq_DebtInstrumentRateAtIssuance
Namespace Prefix: | hpq_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Face (par) amount of debt instrument at time of issuance. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 835 -SubTopic 30 -Name Accounting Standards Codification -Section 55 -Paragraph 8 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482949/835-30-55-8 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1B -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1B Reference 3: http://www.xbrl.org/2003/role/exampleRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 69B -Publisher FASB -URI https://asc.fasb.org/1943274/2147481568/470-20-55-69B Reference 4: http://www.xbrl.org/2003/role/exampleRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 69C -Publisher FASB -URI https://asc.fasb.org/1943274/2147481568/470-20-55-69C Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Topic 835 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482900/835-30-50-1 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Topic 835 -SubTopic 30 -Name Accounting Standards Codification -Section 45 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482925/835-30-45-2 + Details
Name: | us-gaap_DebtInstrumentFaceAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Contractual interest rate for funds borrowed, under the debt agreement. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(22)(a)(1)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1B -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1B + Details
Name: | us-gaap_DebtInstrumentInterestRateStatedPercentage
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

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 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 8A -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-8A Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 942 -SubTopic 235 -Name Accounting Standards Codification -Section S99 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org/1943274/2147477314/942-235-S99-2 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 235 -SubTopic 10 -Name Accounting Standards Codification -Section S50 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480738/235-10-S50-1 Reference 4: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 235 -SubTopic 10 -Name Accounting Standards Codification -Section S50 -Paragraph 4 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480738/235-10-S50-4 Reference 5: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 235 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.12-04(a)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480678/235-10-S99-3 Reference 6: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 235 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08(f)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480678/235-10-S99-1 Reference 7: http://www.xbrl.org/2003/role/exampleRef -Topic 835 -SubTopic 30 -Name Accounting Standards Codification -Section 55 -Paragraph 8 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482949/835-30-55-8 Reference 8: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1B -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1B Reference 9: http://www.xbrl.org/2003/role/exampleRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 69B -Publisher FASB -URI https://asc.fasb.org/1943274/2147481568/470-20-55-69B Reference 10: http://www.xbrl.org/2003/role/exampleRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 69C -Publisher FASB -URI https://asc.fasb.org/1943274/2147481568/470-20-55-69C Reference 11: http://www.xbrl.org/2003/role/exampleRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 69E -Publisher FASB -URI https://asc.fasb.org/1943274/2147481568/470-20-55-69E Reference 12: http://www.xbrl.org/2003/role/exampleRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 69F -Publisher FASB -URI https://asc.fasb.org/1943274/2147481568/470-20-55-69F Reference 13: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1B -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1B Reference 14: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1B -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1B Reference 15: http://www.xbrl.org/2003/role/exampleRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1B -Subparagraph (d) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1B Reference 16: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1B -Subparagraph (e) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1B Reference 17: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1B -Subparagraph (f) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1B Reference 18: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1B -Subparagraph (h) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1B Reference 19: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1D -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1D Reference 20: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1D -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1D Reference 21: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1D -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1D Reference 22: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1E -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1E Reference 23: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1E -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1E Reference 24: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1E -Subparagraph (d) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1E Reference 25: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1F -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1F Reference 26: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1F -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1F Reference 27: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1F -Subparagraph (b)(1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1F Reference 28: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1F -Subparagraph (b)(2) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1F Reference 29: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1I -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1I Reference 30: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 835 -SubTopic 30 -Name Accounting Standards Codification -Section 45 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482925/835-30-45-2 Reference 31: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 835 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482900/835-30-50-1 + Details
Name: | us-gaap_DebtInstrumentLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount, after accumulated amortization, of debt issuance costs. Includes, but is not limited to, legal, accounting, underwriting, printing, and registration costs. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 835 -SubTopic 30 -Name Accounting Standards Codification -Section 45 -Paragraph 1A -Publisher FASB -URI https://asc.fasb.org/1943274/2147482925/835-30-45-1A Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 835 -SubTopic 30 -Name Accounting Standards Codification -Section 45 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482925/835-30-45-2 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 835 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482900/835-30-50-1 Reference 4: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1D -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1D + Details
Name: | us-gaap_DeferredFinanceCostsNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount, after deduction of unamortized premium (discount) and debt issuance cost, of long-term debt. Excludes lease obligation. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(22)) -SubTopic 10 -Topic 210 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 942 -SubTopic 235 -Name Accounting Standards Codification -Section S99 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org/1943274/2147477314/942-235-S99-2 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 235 -SubTopic 10 -Name Accounting Standards Codification -Section S50 -Paragraph 4 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480738/235-10-S50-4 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 235 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.12-04(a)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480678/235-10-S99-3 Reference 5: http://www.xbrl.org/2003/role/exampleRef -Topic 835 -SubTopic 30 -Name Accounting Standards Codification -Section 55 -Paragraph 8 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482949/835-30-55-8 Reference 6: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 942 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(16)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478546/942-210-S99-1 Reference 7: http://www.xbrl.org/2003/role/exampleRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 69B -Publisher FASB -URI https://asc.fasb.org/1943274/2147481568/470-20-55-69B Reference 8: http://www.xbrl.org/2003/role/exampleRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 69C -Publisher FASB -URI https://asc.fasb.org/1943274/2147481568/470-20-55-69C Reference 9: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1D -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1D Reference 10: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 944 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(a)(16)(a)(2)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478777/944-210-S99-1 Reference 11: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 4 -Subparagraph (b)(3) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-4 + Details
Name: | us-gaap_LongTermDebt
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount, after deduction of unamortized premium (discount) and debt issuance cost, of long-term debt classified as current. Excludes lease obligation. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(20)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_LongTermDebtCurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount, after deduction of unamortized premium (discount) and debt issuance cost, of long-term debt classified as noncurrent. Excludes lease obligation. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(22)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_LongTermDebtNoncurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The carrying amount as of the balance sheet date for the aggregate of other miscellaneous borrowings owed by the reporting entity. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 942 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(16)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478546/942-210-S99-1 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 942 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(13)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478546/942-210-S99-1 + Details
Name: | us-gaap_OtherBorrowings
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Details
Name: | us-gaap_DebtInstrumentAxis=hpq_USDollarGlobalNotesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=hpq_USDollarGlobalNotesDueJune2025Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=hpq_USDollarGlobalNotesDueJune2026Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=hpq_USDollarGlobalNotesDueJune2027Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=hpq_USDollarGlobalNotesDueJanuary2028Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=hpq_USDollarGlobalNotesDueApril2029Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=hpq_U.S.DollarGlobalNotesDueApril2030Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=hpq_USDollarGlobalNotesDueJune2030Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=hpq_USDollarGlobalNotesDueJune2031Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=hpq_USDollarGlobalNotesDueApril2032Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=hpq_USDollarGlobalNotesDueJanuary2033Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=hpq_U.S.DollarGlobalNotesDueApril2035Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=hpq_USDollarGlobalNotesDueSeptember2041Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=hpq_USDollarGlobalNotesDueMarch2029Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=hpq_OtherLongTermDebtMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |