v3.25.3

Financial Instruments (Tables) | 12 Months Ended
--- | ---
Oct. 31, 2025
Investments, All Other Investments [Abstract] |
Schedule of Cash Equivalents and Available-for-Sale Investments | Cash Equivalents and Available-for-Sale Investments
| As of October 31, 2025 |  | As of October 31, 2024
| Cost |  | Gross Unrealized Gain |  | Gross Unrealized Loss |  | Fair Value |  | Cost |  | Gross Unrealized Gain |  | Gross Unrealized Loss |  | Fair Value
| In millions
Cash Equivalents: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Government debt(1) | 1,878 |  |  | — |  |  | — |  |  | 1,878 |  |  | 1,332 |  |  | — |  |  | — |  |  | $ | 1,332 |
Total cash equivalents | 1,878 |  |  | — |  |  | — |  |  | 1,878 |  |  | 1,332 |  |  | — |  |  | — |  |  | 1,332 |
Available-for-Sale Investments: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Financial institution instruments | 3 |  |  | — |  |  | — |  |  | 3 |  |  | 3 |  |  | — |  |  | — |  |  | 3 |
Marketable securities and mutual funds(2) | 104 |  |  | 27 |  |  | — |  |  | 131 |  |  | 115 |  |  | 69 |  |  | — |  |  | 184 |
Total available-for-sale investments | 107 |  |  | 27 |  |  | — |  |  | 134 |  |  | 118 |  |  | 69 |  |  | — |  |  | 187 |
Total cash equivalents and available-for-sale investments | $ | 1,985 |  |  | $ | 27 |  |  | $ | — |  |  | $ | 2,012 |  |  | $ | 1,450 |  |  | $ | 69 |  |  | $ | — |  |  | $ | 1,519 |
(1) Money market funds invested in government debt and traded in active markets are included in Level 1. Government debt includes instruments such as U.S. treasury notes, U.S. agency securities and non-U.S. government bonds (2) As of October 31, 2025 and 2024, $63 million and $78 million, respectively, of debt securities were restricted to fund benefits received by qualifying employees under a sponsored defined benefit plan.
Schedule of Contractual Maturities of Investments in Available-for-Sale Debt Securities | Contractual maturities of investments in available-for-sale debt securities were as follows:
| As of October 31, 2025
| Amortized Cost |  | Fair Value
| In millions
Due in less than one year | $ | 15 |  |  | $ | 15 |
Due in one to five years | 49 |  |  | 51 |
| $ | 64 |  |  | $ | 66 |
Schedule of Gross Notional and Fair Value of Derivative Financial Instruments in the Consolidated Condensed Balance Sheets | The gross notional and fair value of derivative instruments in the Consolidated Balance Sheets were as follows:
| As of October 31, 2025 |  | As of October 31, 2024
| Outstanding Gross Notional |  | Other Current Assets |  | Other Non-Current Assets |  | Other Current Liabilities |  | Other Non-Current Liabilities |  | Outstanding Gross Notional |  | Other Current Assets |  | Other Non-Current Assets |  | Other Current Liabilities |  | Other Non-Current Liabilities
| In millions
Derivatives designated as hedging instruments |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Fair value hedges: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Interest rate contracts | $ | 250 |  |  | $ | — |  |  | $ | — |  |  | $ | 1 |  |  | $ | — |  |  | $ | 750 |  |  | $ | — |  |  | $ | — |  |  | $ | 11 |  |  | $ | 10 |
Cash flow hedges: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Foreign currency contracts | 14,492 |  |  | 141 |  |  | 27 |  |  | 174 |  |  | 54 |  |  | 14,563 |  |  | 169 |  |  | 36 |  |  | 117 |  |  | 34 |
Interest rate contracts | — |  |  | — |  |  | — |  |  | — |  |  | — |  |  | 500 |  |  | — |  |  | 4 |  |  | — |  |  | 1 |
Total derivatives designated as hedging instruments | 14,742 |  |  | 141 |  |  | 27 |  |  | 175 |  |  | 54 |  |  | 15,813 |  |  | 169 |  |  | 40 |  |  | 128 |  |  | 45 |
Derivatives not designated as hedging instruments |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Foreign currency contracts | 4,389 |  |  | 14 |  |  | — |  |  | 14 |  |  | — |  |  | 4,284 |  |  | 20 |  |  | — |  |  | 7 |  |  | — |
Other derivatives | 168 |  |  | 1 |  |  | — |  |  | 1 |  |  | — |  |  | 156 |  |  | — |  |  | — |  |  | 2 |  |  | — |
Total derivatives not designated as hedging instruments | 4,557 |  |  | 15 |  |  | — |  |  | 15 |  |  | — |  |  | 4,440 |  |  | 20 |  |  | — |  |  | 9 |  |  | — |
Total derivatives | $ | 19,299 |  |  | $ | 156 |  |  | $ | 27 |  |  | $ | 190 |  |  | $ | 54 |  |  | $ | 20,253 |  |  | $ | 189 |  |  | $ | 40 |  |  | $ | 137 |  |  | $ | 45 |
Schedule of Information Related to the Potential Effect of Entity's Master Netting Agreements and Collateral Security Agreements, Offsetting Assets | As of October 31, 2025 and 2024, information related to the potential effect of HP’s master netting agreements and collateral security agreements was as follows:
| In the Consolidated Balance Sheets |  |  |  |
| (i) |  | (ii) |  | (iii) = (i)–(ii) |  | (iv) |  | (v) |  |  |  | (vi) = (iii)–(iv)–(v)
| Gross Amount Recognized |  | Gross Amount Offset |  | Net Amount Presented |  | Gross Amounts Not Offset |  |  |  |
|  |  |  | Derivatives |  | Financial Collateral |  |  |  | Net Amount
| In millions
As of October 31, 2025 |  |  |  |  |  |  |  |  |  |  |  |  |
Derivative assets | $ | 183 |  |  | $ | — |  |  | $ | 183 |  |  | $ | 143 |  |  | $ | 15 |  |  | (1) |  | $ | 25 |
Derivative liabilities | $ | 244 |  |  | $ | — |  |  | $ | 244 |  |  | $ | 143 |  |  | $ | 279 |  |  | (2) |  | $ | (178) |
As of October 31, 2024 |  |  |  |  |  |  |  |  |  |  |  |  |
Derivative assets | $ | 229 |  |  | $ | — |  |  | $ | 229 |  |  | $ | 113 |  |  | $ | 88 |  |  | (1) |  | $ | 28 |
Derivative liabilities | $ | 182 |  |  | $ | — |  |  | $ | 182 |  |  | $ | 113 |  |  | $ | 61 |  |  | (2) |  | $ | 8 |
(1)Represents the cash collateral posted by counterparties as of the respective reporting date for HP’s asset position, net of derivative amounts that could be offset, as of, generally, two business days prior to the respective reporting date. (2)Represents the collateral posted by HP including any excess or re-use of counterparty cash collateral as of the respective reporting date for HP’s liability position, net of derivative amounts that could be offset, as of, generally, two business days prior to the respective reporting date.
Schedule of Information Related to the Potential Effect of Entity's Master Netting Agreements and Collateral Security Agreements, Offsetting Liabilities | As of October 31, 2025 and 2024, information related to the potential effect of HP’s master netting agreements and collateral security agreements was as follows:
| In the Consolidated Balance Sheets |  |  |  |
| (i) |  | (ii) |  | (iii) = (i)–(ii) |  | (iv) |  | (v) |  |  |  | (vi) = (iii)–(iv)–(v)
| Gross Amount Recognized |  | Gross Amount Offset |  | Net Amount Presented |  | Gross Amounts Not Offset |  |  |  |
|  |  |  | Derivatives |  | Financial Collateral |  |  |  | Net Amount
| In millions
As of October 31, 2025 |  |  |  |  |  |  |  |  |  |  |  |  |
Derivative assets | $ | 183 |  |  | $ | — |  |  | $ | 183 |  |  | $ | 143 |  |  | $ | 15 |  |  | (1) |  | $ | 25 |
Derivative liabilities | $ | 244 |  |  | $ | — |  |  | $ | 244 |  |  | $ | 143 |  |  | $ | 279 |  |  | (2) |  | $ | (178) |
As of October 31, 2024 |  |  |  |  |  |  |  |  |  |  |  |  |
Derivative assets | $ | 229 |  |  | $ | — |  |  | $ | 229 |  |  | $ | 113 |  |  | $ | 88 |  |  | (1) |  | $ | 28 |
Derivative liabilities | $ | 182 |  |  | $ | — |  |  | $ | 182 |  |  | $ | 113 |  |  | $ | 61 |  |  | (2) |  | $ | 8 |
(1)Represents the cash collateral posted by counterparties as of the respective reporting date for HP’s asset position, net of derivative amounts that could be offset, as of, generally, two business days prior to the respective reporting date. (2)Represents the collateral posted by HP including any excess or re-use of counterparty cash collateral as of the respective reporting date for HP’s liability position, net of derivative amounts that could be offset, as of, generally, two business days prior to the respective reporting date.
Schedule of Pre-Tax Effect of Derivative Instruments and Related Hedged Items in a Fair Value Hedging Relationship | The pre-tax effect of derivative instruments and related hedged items in a fair value hedging relationship were as follows:
Derivative Instrument |  | Hedged Item |  | Location |  | For the fiscal years ended October 31 |  |  |  | Gain/(loss) recognized in earnings on derivative instruments |  | Gain/(loss) recognized in earnings on hedged item
|  |  |  |  |  |  |  |  |  | In millions
Interest rate contracts |  | Fixed-rate debt |  | Interest and other, net |  | 2025 |  |  |  | $ | 20 |  |  | $ | (20) |
|  |  |  |  |  | 2024 |  |  |  | $ | 36 |  |  | $ | (36) |
|  |  |  |  |  | 2023 |  |  |  | $ | 20 |  |  | $ | (20) |
Schedule of Pre-Tax Effect of Derivative Instruments in Cash Flow Hedging Relationships Included in Accumulated Other Comprehensive (Loss) Income | The pre-tax effect of derivative instruments in cash flow hedging relationships included in Accumulated other comprehensive income (loss) was as follows:
| For the fiscal years ended October 31
| 2025 |  | 2024 |  | 2023
| In millions
Gain/(loss) recognized in Accumulated other comprehensive income (loss) on derivatives: |  |  |  |  |
Foreign currency contracts | $ | (214) |  |  | $ | 47 |  |  | $ | (427) |
Interest rate contracts | $ | 3 |  |  | $ | 4 |  |  | $ | — |
Schedule of Pre-Tax Effect of Derivative Instruments in Cash Flow Hedging Relationships Included in Earnings | The pre-tax effect of derivative instruments in cash flow hedging relationships included in earnings were as follows:
|  |  | Gain/ (loss) reclassified from Accumulated other comprehensive loss into earnings
|  |  | For the fiscal years ended October 31
|  |  |  |  |  |  | 2025 |  | 2024 |  | 2023
|  |  | In millions
Products net revenue |  |  |  |  |  |  | $ | (32) |  |  | $ | 408 |  |  | $ | 243 |
Cost of products net revenue |  |  |  |  |  |  | (81) |  |  | (142) |  |  | (167) |
Operating expenses |  |  |  |  |  |  | 2 |  |  | (4) |  |  | (4) |
Interest and other, net |  |  |  |  |  |  | 13 |  |  | 12 |  |  | 12 |
Total |  |  |  |  |  |  | $ | (98) |  |  | $ | 274 |  |  | $ | 84 |
Schedule of Pre-Tax Effect of Derivative Instruments Not Designated as Hedging Instruments Recognized in Interest and Other, Net in the Consolidated Condensed Statements of Earnings | The pre-tax effect of derivative instruments not designated as hedging instruments recognized in Interest and other, net in the Consolidated Statements of Earnings was as follows:
| Gain/(loss) recognized in earnings on derivative instrument
| Location |  | 2025 |  | 2024 |  | 2023
|  |  | In millions
Foreign currency contracts | Interest and other, net |  | $ | (11) |  |  | $ | 44 |  |  | $ | (65) |
Other derivatives | Interest and other, net |  | 3 |  |  | — |  |  | (3) |
Total |  |  | $ | (8) |  |  | $ | 44 |  |  | $ | (68) |

X
- Definition Tabular disclosure of the reconciliation of cash equivalents and available-for-sale securities from cost basis to fair value. + References No definition available. + Details
Name: | hpq_ScheduleOfCashEquivalentsAndAvailableForSaleInvestmentsReconciliationTableTextBlock
Namespace Prefix: | hpq_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Schedule of Derivative Instruments, Effect on Other Comprehensive Income (Loss), Pre-Tax + References No definition available. + Details
Name: | hpq_ScheduleOfDerivativeInstrumentsEffectOnOtherComprehensiveIncomeLossPreTaxTableTextBlock
Namespace Prefix: | hpq_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

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

X
- Definition Tabular disclosure of maturities of an entity's investments as well as any other information pertinent to the investments. + References No definition available. + Details
Name: | us-gaap_InvestmentsClassifiedByContractualMaturityDateTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of derivative and other financial assets that are subject to offsetting, including master netting arrangements. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 7A -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-7A Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 210 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 10 -Publisher FASB -URI https://asc.fasb.org/1943274/2147483444/210-20-55-10 Reference 3: http://www.xbrl.org/2003/role/exampleRef -Topic 210 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 22 -Publisher FASB -URI https://asc.fasb.org/1943274/2147483444/210-20-55-22 Reference 4: http://www.xbrl.org/2003/role/exampleRef -Topic 210 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 21 -Publisher FASB -URI https://asc.fasb.org/1943274/2147483444/210-20-55-21 Reference 5: http://www.xbrl.org/2003/role/exampleRef -Topic 210 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 20 -Publisher FASB -URI https://asc.fasb.org/1943274/2147483444/210-20-55-20 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Topic 210 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Publisher FASB -URI https://asc.fasb.org/1943274/2147483466/210-20-50-3 Reference 7: http://www.xbrl.org/2003/role/disclosureRef -Topic 210 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 4 -Publisher FASB -URI https://asc.fasb.org/1943274/2147483466/210-20-50-4 + Details
Name: | us-gaap_OffsettingAssetsTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of derivative and other financial liabilities that are subject to offsetting, including master netting arrangements. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 7A -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-7A Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 210 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 10 -Publisher FASB -URI https://asc.fasb.org/1943274/2147483444/210-20-55-10 Reference 3: http://www.xbrl.org/2003/role/exampleRef -Topic 210 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 22 -Publisher FASB -URI https://asc.fasb.org/1943274/2147483444/210-20-55-22 Reference 4: http://www.xbrl.org/2003/role/exampleRef -Topic 210 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 21 -Publisher FASB -URI https://asc.fasb.org/1943274/2147483444/210-20-55-21 Reference 5: http://www.xbrl.org/2003/role/exampleRef -Topic 210 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 20 -Publisher FASB -URI https://asc.fasb.org/1943274/2147483444/210-20-55-20 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Topic 210 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Publisher FASB -URI https://asc.fasb.org/1943274/2147483466/210-20-50-3 Reference 7: http://www.xbrl.org/2003/role/disclosureRef -Topic 210 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 4 -Publisher FASB -URI https://asc.fasb.org/1943274/2147483466/210-20-50-4 + Details
Name: | us-gaap_OffsettingLiabilitiesTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of the location and fair value amounts of derivative instruments (and nonderivative instruments that are designated and qualify as hedging instruments) reported in the statement of financial position. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 182 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480401/815-10-55-182 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4A -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-4A Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4E -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-4E Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4B -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-4B + Details
Name: | us-gaap_ScheduleOfDerivativeInstrumentsInStatementOfFinancialPositionFairValueTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of derivative instruments (including nonderivative instruments that are designated and qualify as hedging instruments) of (a) the location and amount of gains and losses reported in the statement of financial performance and (b) the location and fair value amounts of the instruments reported in the statement of financial position. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4E -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-4E Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4C -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-4C + Details
Name: | us-gaap_ScheduleOfDerivativesInstrumentsStatementsOfFinancialPerformanceAndFinancialPositionLocationTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure for fair value hedging instruments of (a) the location and amount of gains and losses reported in the statement of financial performance and (b) the location and fair value amounts of the instruments reported in the statement of financial position. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4E -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-4E Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4C -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-4C Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4A -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-4A Reference 4: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4B -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-4B + Details
Name: | us-gaap_ScheduleOfFairValueHedgingInstrumentsStatementsOfFinancialPerformanceAndFinancialPositionLocationTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of derivative instrument not designated or qualifying as hedging instrument. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4CC -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-4CC Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4E -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-4E Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4A -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-4A Reference 4: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4B -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-4B + Details
Name: | us-gaap_ScheduleOfOtherDerivativesNotDesignatedAsHedgingInstrumentsStatementsOfFinancialPerformanceAndFinancialPositionLocationTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration