<?xml version="1.0" encoding="UTF-8"?>

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2026 Workiva-->
<!--r:019c9232-4f0a-7e8e-b527-4e75fc6b16ec,g:d5eac6ec-a73e-4865-b294-7bda8359ece7-->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:hpq="http://www.hp.com/20260430" xmlns:xbrli="http://www.xbrl.org/2003/instance" xmlns:dtr-types="http://www.xbrl.org/dtr/type/2024-01-31" xmlns:xbrldt="http://xbrl.org/2005/xbrldt" attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://www.hp.com/20260430">
  <xs:import namespace="http://fasb.org/srt/2025" schemaLocation="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd"/>
  <xs:import namespace="http://fasb.org/us-gaap/2025" schemaLocation="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd"/>
  <xs:import namespace="http://www.xbrl.org/2003/instance" schemaLocation="http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd"/>
  <xs:import namespace="http://www.xbrl.org/2003/linkbase" schemaLocation="http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd"/>
  <xs:import namespace="http://www.xbrl.org/dtr/type/2024-01-31" schemaLocation="https://www.xbrl.org/dtr/type/2024-01-31/types.xsd"/>
  <xs:import namespace="http://xbrl.org/2005/xbrldt" schemaLocation="http://www.xbrl.org/2005/xbrldt-2005.xsd"/>
  <xs:import namespace="http://xbrl.sec.gov/dei/2025" schemaLocation="https://xbrl.sec.gov/dei/2025/dei-2025.xsd"/>
  <xs:import namespace="http://xbrl.sec.gov/ecd/2025" schemaLocation="https://xbrl.sec.gov/ecd/2025/ecd-2025.xsd"/>
  <xs:annotation>
    <xs:appinfo>
      <link:linkbaseRef xmlns:xlink="http://www.w3.org/1999/xlink" xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase" xlink:href="hpq-20260430_pre.xml" xlink:role="http://www.xbrl.org/2003/role/presentationLinkbaseRef" xlink:type="simple"/>
      <link:linkbaseRef xmlns:xlink="http://www.w3.org/1999/xlink" xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase" xlink:href="hpq-20260430_def.xml" xlink:role="http://www.xbrl.org/2003/role/definitionLinkbaseRef" xlink:type="simple"/>
      <link:linkbaseRef xmlns:xlink="http://www.w3.org/1999/xlink" xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase" xlink:href="hpq-20260430_lab.xml" xlink:role="http://www.xbrl.org/2003/role/labelLinkbaseRef" xlink:type="simple"/>
      <link:linkbaseRef xmlns:xlink="http://www.w3.org/1999/xlink" xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase" xlink:href="hpq-20260430_cal.xml" xlink:role="http://www.xbrl.org/2003/role/calculationLinkbaseRef" xlink:type="simple"/>
      <link:roleType id="CoverPage" roleURI="http://www.hp.com/role/CoverPage">
        <link:definition>0000001 - Document - Cover Page</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="CondensedConsolidatedStatementsofEarningsUnaudited" roleURI="http://www.hp.com/role/CondensedConsolidatedStatementsofEarningsUnaudited">
        <link:definition>9952151 - Statement - Condensed Consolidated Statements of Earnings (Unaudited)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="CondensedConsolidatedStatementsofComprehensiveIncomeLossUnaudited" roleURI="http://www.hp.com/role/CondensedConsolidatedStatementsofComprehensiveIncomeLossUnaudited">
        <link:definition>9952152 - Statement - Condensed Consolidated Statements of Comprehensive Income (Loss) (Unaudited)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="CondensedConsolidatedBalanceSheetsUnaudited" roleURI="http://www.hp.com/role/CondensedConsolidatedBalanceSheetsUnaudited">
        <link:definition>9952153 - Statement - Condensed Consolidated Balance Sheets (Unaudited)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="CondensedConsolidatedBalanceSheetsUnauditedParenthetical" roleURI="http://www.hp.com/role/CondensedConsolidatedBalanceSheetsUnauditedParenthetical">
        <link:definition>9952154 - Statement - Condensed Consolidated Balance Sheets (Unaudited) (Parenthetical)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="CondensedConsolidatedStatementsofCashFlowsUnaudited" roleURI="http://www.hp.com/role/CondensedConsolidatedStatementsofCashFlowsUnaudited">
        <link:definition>9952155 - Statement - Condensed Consolidated Statements of Cash Flows (Unaudited)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="CondensedConsolidatedStatementsofStockholdersDeficitUnaudited" roleURI="http://www.hp.com/role/CondensedConsolidatedStatementsofStockholdersDeficitUnaudited">
        <link:definition>9952156 - Statement - Condensed Consolidated Statements of Stockholders&#8217; Deficit (Unaudited)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="CondensedConsolidatedStatementsofStockholdersDeficitUnauditedParenthetical" roleURI="http://www.hp.com/role/CondensedConsolidatedStatementsofStockholdersDeficitUnauditedParenthetical">
        <link:definition>9952157 - Statement - Condensed Consolidated Statements of Stockholders&#8217; Deficit (Unaudited) (Parenthetical)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="CondensedConsolidatedStatementsofCashFlowsUnauditedParenthetical" roleURI="http://www.hp.com/role/CondensedConsolidatedStatementsofCashFlowsUnauditedParenthetical">
        <link:definition>9952158 - Statement - Condensed Consolidated Statements of Cash Flows (Unaudited) (Parenthetical)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="BasisofPresentation" roleURI="http://www.hp.com/role/BasisofPresentation">
        <link:definition>9952159 - Disclosure - Basis of Presentation</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="SegmentInformation" roleURI="http://www.hp.com/role/SegmentInformation">
        <link:definition>9952160 - Disclosure - Segment Information</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="RestructuringandOtherCharges" roleURI="http://www.hp.com/role/RestructuringandOtherCharges">
        <link:definition>9952161 - Disclosure - Restructuring and Other Charges</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="TaxesonEarnings" roleURI="http://www.hp.com/role/TaxesonEarnings">
        <link:definition>9952162 - Disclosure - Taxes on Earnings</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="SupplementaryFinancialInformation" roleURI="http://www.hp.com/role/SupplementaryFinancialInformation">
        <link:definition>9952163 - Disclosure - Supplementary Financial Information</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="FairValue" roleURI="http://www.hp.com/role/FairValue">
        <link:definition>9952164 - Disclosure - Fair Value</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="FinancialInstruments" roleURI="http://www.hp.com/role/FinancialInstruments">
        <link:definition>9952165 - Disclosure - Financial Instruments</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="Borrowings" roleURI="http://www.hp.com/role/Borrowings">
        <link:definition>9952166 - Disclosure - Borrowings</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="StockholdersDeficit" roleURI="http://www.hp.com/role/StockholdersDeficit">
        <link:definition>9952167 - Disclosure - Stockholders' Deficit</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="EarningsPerShare" roleURI="http://www.hp.com/role/EarningsPerShare">
        <link:definition>9952168 - Disclosure - Earnings Per Share</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="LitigationandContingencies" roleURI="http://www.hp.com/role/LitigationandContingencies">
        <link:definition>9952169 - Disclosure - Litigation and Contingencies</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="GuaranteesIndemnificationsandWarranties" roleURI="http://www.hp.com/role/GuaranteesIndemnificationsandWarranties">
        <link:definition>9952170 - Disclosure - Guarantees, Indemnifications and Warranties</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="Commitments" roleURI="http://www.hp.com/role/Commitments">
        <link:definition>9952171 - Disclosure - Commitments</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="BasisofPresentationPolicies" roleURI="http://www.hp.com/role/BasisofPresentationPolicies">
        <link:definition>9955511 - Disclosure - Basis of Presentation (Policies)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="SegmentInformationTables" roleURI="http://www.hp.com/role/SegmentInformationTables">
        <link:definition>9955512 - Disclosure - Segment Information (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="RestructuringandOtherChargesTables" roleURI="http://www.hp.com/role/RestructuringandOtherChargesTables">
        <link:definition>9955513 - Disclosure - Restructuring and Other Charges (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="SupplementaryFinancialInformationTables" roleURI="http://www.hp.com/role/SupplementaryFinancialInformationTables">
        <link:definition>9955514 - Disclosure - Supplementary Financial Information (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="FairValueTables" roleURI="http://www.hp.com/role/FairValueTables">
        <link:definition>9955515 - Disclosure - Fair Value (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="FinancialInstrumentsTables" roleURI="http://www.hp.com/role/FinancialInstrumentsTables">
        <link:definition>9955516 - Disclosure - Financial Instruments (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="BorrowingsTables" roleURI="http://www.hp.com/role/BorrowingsTables">
        <link:definition>9955517 - Disclosure - Borrowings (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="StockholdersDeficitTables" roleURI="http://www.hp.com/role/StockholdersDeficitTables">
        <link:definition>9955518 - Disclosure - Stockholders' Deficit (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="EarningsPerShareTables" roleURI="http://www.hp.com/role/EarningsPerShareTables">
        <link:definition>9955519 - Disclosure - Earnings Per Share (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="GuaranteesIndemnificationsandWarrantiesTables" roleURI="http://www.hp.com/role/GuaranteesIndemnificationsandWarrantiesTables">
        <link:definition>9955520 - Disclosure - Guarantees, Indemnifications and Warranties (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="CommitmentsTables" roleURI="http://www.hp.com/role/CommitmentsTables">
        <link:definition>9955521 - Disclosure - Commitments (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="SegmentInformationNarrativeDetails" roleURI="http://www.hp.com/role/SegmentInformationNarrativeDetails">
        <link:definition>9955522 - Disclosure - Segment Information - Narrative (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="SegmentInformationScheduleofReconciliationofSegmentOperatingResultstoHPConsolidatedResultsDetails" roleURI="http://www.hp.com/role/SegmentInformationScheduleofReconciliationofSegmentOperatingResultstoHPConsolidatedResultsDetails">
        <link:definition>9955523 - Disclosure - Segment Information - Schedule of Reconciliation of Segment Operating Results to HP Consolidated Results (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="RestructuringandOtherChargesScheduleofRestructuringandOtherChargesDetails" roleURI="http://www.hp.com/role/RestructuringandOtherChargesScheduleofRestructuringandOtherChargesDetails">
        <link:definition>9955524 - Disclosure - Restructuring and Other Charges - Schedule of Restructuring and Other Charges (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="RestructuringandOtherChargesScheduleofRestructuringActivitiesbyPlanDetails" roleURI="http://www.hp.com/role/RestructuringandOtherChargesScheduleofRestructuringActivitiesbyPlanDetails">
        <link:definition>9955525 - Disclosure - Restructuring and Other Charges - Schedule of Restructuring Activities by Plan (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="RestructuringandOtherChargesNarrativeDetails" roleURI="http://www.hp.com/role/RestructuringandOtherChargesNarrativeDetails">
        <link:definition>9955526 - Disclosure - Restructuring and Other Charges - Narrative (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="TaxesonEarningsDetails" roleURI="http://www.hp.com/role/TaxesonEarningsDetails">
        <link:definition>9955527 - Disclosure - Taxes on Earnings (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="SupplementaryFinancialInformationScheduleofCashCashEquivalentsandRestrictedCashDetails" roleURI="http://www.hp.com/role/SupplementaryFinancialInformationScheduleofCashCashEquivalentsandRestrictedCashDetails">
        <link:definition>9955528 - Disclosure - Supplementary Financial Information - Schedule of Cash, Cash Equivalents and Restricted Cash (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="SupplementaryFinancialInformationScheduleofAllowanceforCreditLossesRelatedtoAccountsReceivableandChangesDetails" roleURI="http://www.hp.com/role/SupplementaryFinancialInformationScheduleofAllowanceforCreditLossesRelatedtoAccountsReceivableandChangesDetails">
        <link:definition>9955529 - Disclosure - Supplementary Financial Information - Schedule of Allowance for Credit Losses Related to Accounts Receivable and Changes (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="SupplementaryFinancialInformationScheduleofTradeReceivablesSoldandCashReceivedDetails" roleURI="http://www.hp.com/role/SupplementaryFinancialInformationScheduleofTradeReceivablesSoldandCashReceivedDetails">
        <link:definition>9955530 - Disclosure - Supplementary Financial Information - Schedule of Trade Receivables Sold and Cash Received (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="SupplementaryFinancialInformationScheduleofInventoryDetails" roleURI="http://www.hp.com/role/SupplementaryFinancialInformationScheduleofInventoryDetails">
        <link:definition>9955531 - Disclosure - Supplementary Financial Information - Schedule of Inventory (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="SupplementaryFinancialInformationScheduleofOtherCurrentAssetsDetails" roleURI="http://www.hp.com/role/SupplementaryFinancialInformationScheduleofOtherCurrentAssetsDetails">
        <link:definition>9955532 - Disclosure - Supplementary Financial Information - Schedule of Other Current Assets (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="SupplementaryFinancialInformationScheduleofPropertyPlantandEquipmentNetDetails" roleURI="http://www.hp.com/role/SupplementaryFinancialInformationScheduleofPropertyPlantandEquipmentNetDetails">
        <link:definition>9955533 - Disclosure - Supplementary Financial Information - Schedule of Property, Plant and Equipment, Net (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="SupplementaryFinancialInformationScheduleofOtherNonCurrentAssetsDetails" roleURI="http://www.hp.com/role/SupplementaryFinancialInformationScheduleofOtherNonCurrentAssetsDetails">
        <link:definition>9955534 - Disclosure - Supplementary Financial Information - Schedule of Other Non-Current Assets (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="SupplementaryFinancialInformationScheduleofOtherCurrentLiabilitiesDetails" roleURI="http://www.hp.com/role/SupplementaryFinancialInformationScheduleofOtherCurrentLiabilitiesDetails">
        <link:definition>9955535 - Disclosure - Supplementary Financial Information - Schedule of Other Current Liabilities (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="SupplementaryFinancialInformationScheduleofOtherNonCurrentLiabilitiesDetails" roleURI="http://www.hp.com/role/SupplementaryFinancialInformationScheduleofOtherNonCurrentLiabilitiesDetails">
        <link:definition>9955536 - Disclosure - Supplementary Financial Information - Schedule of Other Non-Current Liabilities (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="SupplementaryFinancialInformationScheduleofInterestandOtherNetDetails" roleURI="http://www.hp.com/role/SupplementaryFinancialInformationScheduleofInterestandOtherNetDetails">
        <link:definition>9955537 - Disclosure - Supplementary Financial Information - Schedule of Interest and Other, Net (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="SupplementaryFinancialInformationScheduleofNetRevenuebyRegionDetails" roleURI="http://www.hp.com/role/SupplementaryFinancialInformationScheduleofNetRevenuebyRegionDetails">
        <link:definition>9955538 - Disclosure - Supplementary Financial Information - Schedule of Net Revenue by Region (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="SupplementaryFinancialInformationValueofRemainingPerformanceObligationsNarrativeDetails" roleURI="http://www.hp.com/role/SupplementaryFinancialInformationValueofRemainingPerformanceObligationsNarrativeDetails">
        <link:definition>9955539 - Disclosure - Supplementary Financial Information - Value of Remaining Performance Obligations (Narrative) (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="SupplementaryFinancialInformationValueofRemainingPerformanceObligationsNarrativeDetails_1" roleURI="http://www.hp.com/role/SupplementaryFinancialInformationValueofRemainingPerformanceObligationsNarrativeDetails_1">
        <link:definition>9955539 - Disclosure - Supplementary Financial Information - Value of Remaining Performance Obligations (Narrative) (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="SupplementaryFinancialInformationContractLiabilitiesNarrativeDetails" roleURI="http://www.hp.com/role/SupplementaryFinancialInformationContractLiabilitiesNarrativeDetails">
        <link:definition>9955540 - Disclosure - Supplementary Financial Information - Contract Liabilities (Narrative) (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="SupplementaryFinancialInformationSupplierFinanceProgramsNarrativeDetails" roleURI="http://www.hp.com/role/SupplementaryFinancialInformationSupplierFinanceProgramsNarrativeDetails">
        <link:definition>9955541 - Disclosure - Supplementary Financial Information - Supplier Finance Programs (Narrative) (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="FairValueScheduleofAssetsandLiabilitiesMeasuredatFairValueonaRecurringBasisDetails" roleURI="http://www.hp.com/role/FairValueScheduleofAssetsandLiabilitiesMeasuredatFairValueonaRecurringBasisDetails">
        <link:definition>9955542 - Disclosure - Fair Value - Schedule of Assets and Liabilities Measured at Fair Value on a Recurring Basis (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="FairValueNarrativeDetails" roleURI="http://www.hp.com/role/FairValueNarrativeDetails">
        <link:definition>9955543 - Disclosure - Fair Value - Narrative (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="FinancialInstrumentsScheduleofCashEquivalentsandAvailableforSaleInvestmentsDetails" roleURI="http://www.hp.com/role/FinancialInstrumentsScheduleofCashEquivalentsandAvailableforSaleInvestmentsDetails">
        <link:definition>9955544 - Disclosure - Financial Instruments - Schedule of Cash Equivalents and Available-for-Sale Investments (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="FinancialInstrumentsScheduleofCashEquivalentsandAvailableforSaleInvestmentsDetails_1" roleURI="http://www.hp.com/role/FinancialInstrumentsScheduleofCashEquivalentsandAvailableforSaleInvestmentsDetails_1">
        <link:definition>9955544 - Disclosure - Financial Instruments - Schedule of Cash Equivalents and Available-for-Sale Investments (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="FinancialInstrumentsScheduleofContractualMaturitiesofInvestmentsinAvailableforSaleDebtSecuritiesDetails" roleURI="http://www.hp.com/role/FinancialInstrumentsScheduleofContractualMaturitiesofInvestmentsinAvailableforSaleDebtSecuritiesDetails">
        <link:definition>9955545 - Disclosure - Financial Instruments - Schedule of Contractual Maturities of Investments in Available-for-Sale Debt Securities (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="FinancialInstrumentsNarrativeDetails" roleURI="http://www.hp.com/role/FinancialInstrumentsNarrativeDetails">
        <link:definition>9955546 - Disclosure - Financial Instruments - Narrative (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="FinancialInstrumentsScheduleofGrossNotionalandFairValueofDerivativeFinancialInstrumentsintheConsolidatedCondensedBalanceSheetsDetails" roleURI="http://www.hp.com/role/FinancialInstrumentsScheduleofGrossNotionalandFairValueofDerivativeFinancialInstrumentsintheConsolidatedCondensedBalanceSheetsDetails">
        <link:definition>9955547 - Disclosure - Financial Instruments - Schedule of Gross Notional and Fair Value of Derivative Financial Instruments in the Consolidated Condensed Balance Sheets (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="FinancialInstrumentsScheduleofInformationRelatedtothePotentialEffectofEntitysMasterNettingAgreementsandCollateralSecurityAgreementsDetails" roleURI="http://www.hp.com/role/FinancialInstrumentsScheduleofInformationRelatedtothePotentialEffectofEntitysMasterNettingAgreementsandCollateralSecurityAgreementsDetails">
        <link:definition>9955548 - Disclosure - Financial Instruments - Schedule of Information Related to the Potential Effect of Entity's Master Netting Agreements and Collateral Security Agreements (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="FinancialInstrumentsScheduleofPreTaxEffectofDerivativeInstrumentsandRelatedHedgedItemsinaFairValueHedgingRelationshipDetails" roleURI="http://www.hp.com/role/FinancialInstrumentsScheduleofPreTaxEffectofDerivativeInstrumentsandRelatedHedgedItemsinaFairValueHedgingRelationshipDetails">
        <link:definition>9955549 - Disclosure - Financial Instruments - Schedule of Pre-Tax Effect of Derivative Instruments and Related Hedged Items in a Fair Value Hedging Relationship (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="FinancialInstrumentsScheduleofPreTaxEffectofDerivativeInstrumentsinCashFlowHedgingRelationshipsIncludedinAccumulatedOtherComprehensiveLossIncomeDetails" roleURI="http://www.hp.com/role/FinancialInstrumentsScheduleofPreTaxEffectofDerivativeInstrumentsinCashFlowHedgingRelationshipsIncludedinAccumulatedOtherComprehensiveLossIncomeDetails">
        <link:definition>9955550 - Disclosure - Financial Instruments - Schedule of Pre-Tax Effect of Derivative Instruments in Cash Flow Hedging Relationships Included in Accumulated Other Comprehensive (Loss) Income (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="FinancialInstrumentsScheduleofPreTaxEffectofDerivativeInstrumentsinCashFlowHedgingRelationshipsIncludedinEarningsDetails" roleURI="http://www.hp.com/role/FinancialInstrumentsScheduleofPreTaxEffectofDerivativeInstrumentsinCashFlowHedgingRelationshipsIncludedinEarningsDetails">
        <link:definition>9955551 - Disclosure - Financial Instruments - Schedule of Pre-Tax Effect of Derivative Instruments in Cash Flow Hedging Relationships Included in Earnings (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="FinancialInstrumentsScheduleofPreTaxEffectofDerivativeInstrumentsNotDesignatedasHedgingInstrumentsRecognizedinInterestandOtherNetintheConsolidatedCondensedStatementsofEarningsDetails" roleURI="http://www.hp.com/role/FinancialInstrumentsScheduleofPreTaxEffectofDerivativeInstrumentsNotDesignatedasHedgingInstrumentsRecognizedinInterestandOtherNetintheConsolidatedCondensedStatementsofEarningsDetails">
        <link:definition>9955552 - Disclosure - Financial Instruments - 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 (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="BorrowingsScheduleofNotesPayableandShortTermBorrowingsDetails" roleURI="http://www.hp.com/role/BorrowingsScheduleofNotesPayableandShortTermBorrowingsDetails">
        <link:definition>9955553 - Disclosure - Borrowings - Schedule of Notes Payable and Short-Term Borrowings (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="BorrowingsScheduleofLongTermDebtDetails" roleURI="http://www.hp.com/role/BorrowingsScheduleofLongTermDebtDetails">
        <link:definition>9955554 - Disclosure - Borrowings - Schedule of Long-Term Debt (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="BorrowingsNarrativeDetails" roleURI="http://www.hp.com/role/BorrowingsNarrativeDetails">
        <link:definition>9955555 - Disclosure - Borrowings - Narrative (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="StockholdersDeficitNarrativeDetails" roleURI="http://www.hp.com/role/StockholdersDeficitNarrativeDetails">
        <link:definition>9955556 - Disclosure - Stockholders' Deficit - Narrative (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="StockholdersDeficitScheduleofTaxesRelatedtoOtherComprehensiveIncomeLossDetails" roleURI="http://www.hp.com/role/StockholdersDeficitScheduleofTaxesRelatedtoOtherComprehensiveIncomeLossDetails">
        <link:definition>9955557 - Disclosure - Stockholders' Deficit - Schedule of Taxes Related to Other Comprehensive Income (Loss) (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="EarningsPerShareDetails" roleURI="http://www.hp.com/role/EarningsPerShareDetails">
        <link:definition>9955558 - Disclosure - Earnings Per Share (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="LitigationandContingenciesDetails" roleURI="http://www.hp.com/role/LitigationandContingenciesDetails">
        <link:definition>9955559 - Disclosure - Litigation and Contingencies (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="GuaranteesIndemnificationsandWarrantiesDetails" roleURI="http://www.hp.com/role/GuaranteesIndemnificationsandWarrantiesDetails">
        <link:definition>9955560 - Disclosure - Guarantees, Indemnifications and Warranties (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="CommitmentsDetails" roleURI="http://www.hp.com/role/CommitmentsDetails">
        <link:definition>9955561 - Disclosure - Commitments (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="CommitmentsNarrativeDetails" roleURI="http://www.hp.com/role/CommitmentsNarrativeDetails">
        <link:definition>9955562 - Disclosure - Commitments - Narrative (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
    </xs:appinfo>
  </xs:annotation>
  <xs:element id="hpq_RestructuringandOtherCharges" abstract="false" name="RestructuringandOtherCharges" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="hpq_IncreaseDecreaseInRestructuringAndOther" abstract="false" name="IncreaseDecreaseInRestructuringAndOther" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="hpq_IncreaseDecreaseInNetInvestmentInLeases" abstract="false" name="IncreaseDecreaseInNetInvestmentInLeases" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="hpq_CollateralPostedReturnedForDerivatives" abstract="false" name="CollateralPostedReturnedForDerivatives" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="hpq_NetPaymentsProceedsRelatedToStockBasedAwardActivities" abstract="false" name="NetPaymentsProceedsRelatedToStockBasedAwardActivities" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="hpq_DividendsCommonStockCashNet" abstract="false" name="DividendsCommonStockCashNet" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="hpq_CashHeldForSale" abstract="false" name="CashHeldForSale" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="hpq_ScheduleOfAllowanceForDoubtfulAccountsReceivableCurrentRollforwardTableTextBlock" abstract="false" name="ScheduleOfAllowanceForDoubtfulAccountsReceivableCurrentRollforwardTableTextBlock" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:textBlockItemType"/>
  <xs:element id="hpq_ScheduleOfTradeReceivablesSoldAndCashReceivedTableTextBlock" abstract="false" name="ScheduleOfTradeReceivablesSoldAndCashReceivedTableTextBlock" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:textBlockItemType"/>
  <xs:element id="hpq_ScheduleOfCashEquivalentsAndAvailableForSaleInvestmentsReconciliationTableTextBlock" abstract="false" name="ScheduleOfCashEquivalentsAndAvailableForSaleInvestmentsReconciliationTableTextBlock" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:textBlockItemType"/>
  <xs:element id="hpq_ScheduleOfDerivativeInstrumentsEffectOnOtherComprehensiveIncomeLossPreTaxTableTextBlock" abstract="false" name="ScheduleOfDerivativeInstrumentsEffectOnOtherComprehensiveIncomeLossPreTaxTableTextBlock" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:textBlockItemType"/>
  <xs:element id="hpq_PrintingMember" abstract="true" name="PrintingMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="hpq_CorporateInvestmentsMember" abstract="true" name="CorporateInvestmentsMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="hpq_CommercialPSMember" abstract="true" name="CommercialPSMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="hpq_ConsumerPSMember" abstract="true" name="ConsumerPSMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="hpq_SuppliesMember" abstract="true" name="SuppliesMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="hpq_CommercialPrintingMember" abstract="true" name="CommercialPrintingMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="hpq_ConsumerPrintingMember" abstract="true" name="ConsumerPrintingMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="hpq_PersonalSystemsMember" abstract="true" name="PersonalSystemsMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="hpq_SegmentReportingInformationCorporateAndUnallocatedCostsGainsAndEliminations" abstract="false" name="SegmentReportingInformationCorporateAndUnallocatedCostsGainsAndEliminations" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="hpq_EmployeeSeveranceAndEnhancedEarlyRetirementProgramMember" abstract="true" name="EmployeeSeveranceAndEnhancedEarlyRetirementProgramMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="hpq_NonLaborMember" abstract="true" name="NonLaborMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="hpq_OtherChargesMember" abstract="true" name="OtherChargesMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="hpq_Fiscal2026PlanMember" abstract="true" name="Fiscal2026PlanMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="hpq_OtherPlanMember" abstract="true" name="OtherPlanMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="hpq_Fiscal2023PlanMember" abstract="true" name="Fiscal2023PlanMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="hpq_EnhancedEarlyRetirementMember" abstract="true" name="EnhancedEarlyRetirementMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="hpq_LaborAndNonLaborActionsMember" abstract="true" name="LaborAndNonLaborActionsMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="hpq_LaborCostsMember" abstract="true" name="LaborCostsMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="hpq_SeveranceCostsMember" abstract="true" name="SeveranceCostsMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="hpq_InfrastructureCostsMember" abstract="true" name="InfrastructureCostsMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="hpq_EligibleAgeWithTenYearsOfServiceForEnhancedEarlyRetirementProgram" abstract="false" name="EligibleAgeWithTenYearsOfServiceForEnhancedEarlyRetirementProgram" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:durationItemType"/>
  <xs:element id="hpq_HealthCareCoverageExtensionEnhancedEarlyRetirementProgramPeriod" abstract="false" name="HealthCareCoverageExtensionEnhancedEarlyRetirementProgramPeriod" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:durationItemType"/>
  <xs:element id="hpq_OtherCountriesWithIncomeTaxJurisdictionNumber" abstract="false" name="OtherCountriesWithIncomeTaxJurisdictionNumber" nillable="true" xbrli:periodType="instant" substitutionGroup="xbrli:item" type="xbrli:integerItemType"/>
  <xs:element id="hpq_AllowanceForDoubtfulAccountsReceivableDeductionsNetOfRecoveries" abstract="false" name="AllowanceForDoubtfulAccountsReceivableDeductionsNetOfRecoveries" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="hpq_TradeReceivablesSoldAndCashReceivedRollForward" abstract="true" name="TradeReceivablesSoldAndCashReceivedRollForward" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:stringItemType"/>
  <xs:element id="hpq_ReceivablesSoldButNotCollectedFromThirdParty" abstract="false" name="ReceivablesSoldButNotCollectedFromThirdParty" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="hpq_TradeReceivablesSold" abstract="false" name="TradeReceivablesSold" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="hpq_CashReceipts" abstract="false" name="CashReceipts" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="hpq_FxAndOther" abstract="false" name="FxAndOther" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="hpq_CustomerContractsCustomerListsDistributionAgreementsAndTechnologyAndPatentsMember" abstract="true" name="CustomerContractsCustomerListsDistributionAgreementsAndTechnologyAndPatentsMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="hpq_PrepaidPensionAndPostRetirementBenefitAssetNonCurrent" abstract="false" name="PrepaidPensionAndPostRetirementBenefitAssetNonCurrent" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="hpq_TaxesPayableOtherThanIncomeCurrent" abstract="false" name="TaxesPayableOtherThanIncomeCurrent" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="hpq_TaxesPayableNoncurrent" abstract="false" name="TaxesPayableNoncurrent" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="hpq_FactoringCosts" abstract="false" name="FactoringCosts" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="hpq_NonOperatingRetirementRelatedCredits" abstract="false" name="NonOperatingRetirementRelatedCredits" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="hpq_SupplierFinanceProgramObligationElectedToSell" abstract="false" name="SupplierFinanceProgramObligationElectedToSell" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="hpq_FinancialInstitutionInstrumentMember" abstract="true" name="FinancialInstitutionInstrumentMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="hpq_MarketableEquitySecuritiesandMutualFundsMember" abstract="true" name="MarketableEquitySecuritiesandMutualFundsMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="hpq_ScheduleOfCashEquivalentsAndAvailableForSaleInvestmentsTable" abstract="true" name="ScheduleOfCashEquivalentsAndAvailableForSaleInvestmentsTable" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrldt:hypercubeItem" type="xbrli:stringItemType"/>
  <xs:element id="hpq_ScheduleOfCashEquivalentsAndAvailableForSaleInvestmentsLineItems" abstract="true" name="ScheduleOfCashEquivalentsAndAvailableForSaleInvestmentsLineItems" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:stringItemType"/>
  <xs:element id="hpq_CashAndCashEquivalentsGrossUnrealizedGains" abstract="false" name="CashAndCashEquivalentsGrossUnrealizedGains" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="hpq_CashAndCashEquivalentsGrossUnrealizedLosses" abstract="false" name="CashAndCashEquivalentsGrossUnrealizedLosses" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="hpq_EquitySecuritiesFVNIAccumulatedGrossUnrealizedGainbeforeTax" abstract="false" name="EquitySecuritiesFVNIAccumulatedGrossUnrealizedGainbeforeTax" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="hpq_EquitySecuritiesFVNIAccumulatedGrossUnrealizedLossbeforeTax" abstract="false" name="EquitySecuritiesFVNIAccumulatedGrossUnrealizedLossbeforeTax" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="hpq_DebtSecuritiesAvailableForSaleExcludingAccruedInterestAndEquitySecuritiesFVNIAmortizedCost" abstract="false" name="DebtSecuritiesAvailableForSaleExcludingAccruedInterestAndEquitySecuritiesFVNIAmortizedCost" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="hpq_DebtSecuritiesAvailableForSaleExcludingAccruedInterestAndEquitySecuritiesFVNIAccumulatedGrossUnrealizedGainBeforeTax" abstract="false" name="DebtSecuritiesAvailableForSaleExcludingAccruedInterestAndEquitySecuritiesFVNIAccumulatedGrossUnrealizedGainBeforeTax" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="hpq_DebtSecuritiesAvailableForSaleExcludingAccruedInterestAndEquitySecuritiesFVNIAccumulatedGrossUnrealizedLossBeforeTax" abstract="false" name="DebtSecuritiesAvailableForSaleExcludingAccruedInterestAndEquitySecuritiesFVNIAccumulatedGrossUnrealizedLossBeforeTax" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="hpq_DebtSecuritiesAvailableForSaleExcludingAccruedInterestAndEquitySecuritiesFVNI" abstract="false" name="DebtSecuritiesAvailableForSaleExcludingAccruedInterestAndEquitySecuritiesFVNI" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="hpq_CashEquivalentsAndAvailableForSaleSecuritiesAmortizedCostBasisExcludingAccruedInterest" abstract="false" name="CashEquivalentsAndAvailableForSaleSecuritiesAmortizedCostBasisExcludingAccruedInterest" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="hpq_CashEquivalentsandAvailableForSaleSecuritiesAccumulatedGrossUnrealizedGainbeforeTax" abstract="false" name="CashEquivalentsandAvailableForSaleSecuritiesAccumulatedGrossUnrealizedGainbeforeTax" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="hpq_CashEquivalentsandAvailableForSaleSecuritiesAccumulatedGrossUnrealizedLossbeforeTax" abstract="false" name="CashEquivalentsandAvailableForSaleSecuritiesAccumulatedGrossUnrealizedLossbeforeTax" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="hpq_CashEquivalentsAndAvailableForSaleSecuritiesFairValueExcludingAccruedInterest" abstract="false" name="CashEquivalentsAndAvailableForSaleSecuritiesFairValueExcludingAccruedInterest" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="hpq_EquitySecuritiesCostMethodandOtherEquityInvestments" abstract="false" name="EquitySecuritiesCostMethodandOtherEquityInvestments" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="hpq_DerivativePeriodtoCollateralize" abstract="false" name="DerivativePeriodtoCollateralize" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:durationItemType"/>
  <xs:element id="hpq_DerivativeLiabilityIncludingNotSubjectToMasterNettingArrangementAfterOffsetAndDeductionNet" abstract="false" name="DerivativeLiabilityIncludingNotSubjectToMasterNettingArrangementAfterOffsetAndDeductionNet" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="hpq_InterestAndOtherIncomeExpenseMember" abstract="false" name="InterestAndOtherIncomeExpenseMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="hpq_InterestAndOtherExpenseNetMember" abstract="true" name="InterestAndOtherExpenseNetMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="hpq_NotesPayableToBanksLinesOfCreditAndOtherNotesPayablesMember" abstract="true" name="NotesPayableToBanksLinesOfCreditAndOtherNotesPayablesMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="hpq_DebtInstrumentInterestRateWeightedAverageInterestRateAbstract" abstract="true" name="DebtInstrumentInterestRateWeightedAverageInterestRateAbstract" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:stringItemType"/>
  <xs:element id="hpq_USDollarGlobalNotesMember" abstract="true" name="USDollarGlobalNotesMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="hpq_USDollarGlobalNotesDueJune2026Member" abstract="true" name="USDollarGlobalNotesDueJune2026Member" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="hpq_USDollarGlobalNotesDueJune2027Member" abstract="true" name="USDollarGlobalNotesDueJune2027Member" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="hpq_USDollarGlobalNotesDueJanuary2028Member" abstract="true" name="USDollarGlobalNotesDueJanuary2028Member" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="hpq_USDollarGlobalNotesDueApril2029Member" abstract="true" name="USDollarGlobalNotesDueApril2029Member" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="hpq_U.S.DollarGlobalNotesDueApril2030Member" abstract="true" name="U.S.DollarGlobalNotesDueApril2030Member" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="hpq_USDollarGlobalNotesDueJune2030Member" abstract="true" name="USDollarGlobalNotesDueJune2030Member" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="hpq_USDollarGlobalNotesDueJune2031Member" abstract="true" name="USDollarGlobalNotesDueJune2031Member" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="hpq_USDollarGlobalNotesDueApril2032Member" abstract="true" name="USDollarGlobalNotesDueApril2032Member" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="hpq_USDollarGlobalNotesDueJanuary2033Member" abstract="true" name="USDollarGlobalNotesDueJanuary2033Member" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="hpq_U.S.DollarGlobalNotesDueApril2035Member" abstract="true" name="U.S.DollarGlobalNotesDueApril2035Member" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="hpq_USDollarGlobalNotesDueSeptember2041Member" abstract="true" name="USDollarGlobalNotesDueSeptember2041Member" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="hpq_OtherLongTermDebtMember" abstract="true" name="OtherLongTermDebtMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="hpq_DebtInstrumentDiscountRateAtIssuance" abstract="false" name="DebtInstrumentDiscountRateAtIssuance" nillable="true" xbrli:periodType="instant" substitutionGroup="xbrli:item" type="dtr-types:percentItemType"/>
  <xs:element id="hpq_DebtInstrumentChangeInFairValueOfHedgedDebt" abstract="false" name="DebtInstrumentChangeInFairValueOfHedgedDebt" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="hpq_NewRevolvingFacilityMember" abstract="true" name="NewRevolvingFacilityMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="hpq_StockRepurchasesExecutedDuringPeriodSettlementInSubsequentPeriodShares" abstract="false" name="StockRepurchasesExecutedDuringPeriodSettlementInSubsequentPeriodShares" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:sharesItemType"/>
  <xs:element id="hpq_AccumulatedDefinedBenefitPlansAdjustmentActuarialGainLossAndNetPriorServiceCostCreditMember" abstract="true" name="AccumulatedDefinedBenefitPlansAdjustmentActuarialGainLossAndNetPriorServiceCostCreditMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="hpq_AccumulatedDefinedBenefitPlansAdjustmentCurtailmentsSettlementsAndOtherMember" abstract="true" name="AccumulatedDefinedBenefitPlansAdjustmentCurtailmentsSettlementsAndOtherMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="hpq_IndiaDirectorateOfRevenueIntelligenceProceedingsMember" abstract="true" name="IndiaDirectorateOfRevenueIntelligenceProceedingsMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="hpq_AutonomyRelatedLegalMattersMember" abstract="true" name="AutonomyRelatedLegalMattersMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="hpq_PhilipsPatentLitigationMember" abstract="true" name="PhilipsPatentLitigationMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="hpq_AcquisitionOfAutonomyMember" abstract="true" name="AcquisitionOfAutonomyMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="hpq_LossContingencyNumberofDefendantsCurrentEmployee" abstract="false" name="LossContingencyNumberofDefendantsCurrentEmployee" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:integerItemType"/>
  <xs:element id="hpq_LossContingencyNumberofDefendantsFormerEmployee" abstract="false" name="LossContingencyNumberofDefendantsFormerEmployee" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:integerItemType"/>
  <xs:element id="hpq_LossContingencyDepositToPreventInterruptionOfBusiness" abstract="false" name="LossContingencyDepositToPreventInterruptionOfBusiness" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="hpq_DutiesPenaltiesAffirmedUnderShowCauseNotices" abstract="false" name="DutiesPenaltiesAffirmedUnderShowCauseNotices" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="hpq_AmountDepositedUnderProductsShowCauseNotice" abstract="false" name="AmountDepositedUnderProductsShowCauseNotice" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="hpq_AdditionalDepositAgainstProductsRelatedShowCauseNotice" abstract="false" name="AdditionalDepositAgainstProductsRelatedShowCauseNotice" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="hpq_AdditionalDepositAgainstPartsRelatedShowCauseNotice" abstract="false" name="AdditionalDepositAgainstPartsRelatedShowCauseNotice" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="hpq_AdditionalDepositAgainstProductOrder" abstract="false" name="AdditionalDepositAgainstProductOrder" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="hpq_LossContingencyPatentsWithdrawn" abstract="false" name="LossContingencyPatentsWithdrawn" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:integerItemType"/>
  <xs:element id="hpq_NumberOfSubsidiaries" abstract="false" name="NumberOfSubsidiaries" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:integerItemType"/>
  <xs:element id="hpq_NumberOfMembers" abstract="false" name="NumberOfMembers" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:integerItemType"/>
  <xs:element id="hpq_UnrecordedUnconditionalPurchaseObligationToBePaidAfterYearFour" abstract="false" name="UnrecordedUnconditionalPurchaseObligationToBePaidAfterYearFour" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="hpq_DavidMcQuarrieMember" abstract="true" name="DavidMcQuarrieMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="hpq_DavidMcQuarrieTradingArrangementCommonStockUnderlyingEmployeeStockOptionMember" abstract="true" name="DavidMcQuarrieTradingArrangementCommonStockUnderlyingEmployeeStockOptionMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
</xs:schema>
