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

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2026 Workiva-->
<!--r:019dbb5a-2d42-78b3-9f3f-db89629fe72d,g:cdf4c2ff-1a0e-4e53-a44b-f648d7e5b8e2-->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:hpq="http://www.hp.com/20260609" xmlns:xbrli="http://www.xbrl.org/2003/instance" xmlns:dtr-types="http://www.xbrl.org/dtr/type/2024-01-31" attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://www.hp.com/20260609">
  <xs:import namespace="http://fasb.org/srt/2026" schemaLocation="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd"/>
  <xs:import namespace="http://fasb.org/us-gaap-ebp/2026" schemaLocation="https://xbrl.fasb.org/us-gaap/2026/ebp/elts/us-gaap-ebp-2026.xsd"/>
  <xs:import namespace="http://fasb.org/us-gaap/2026" schemaLocation="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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.sec.gov/dei/2026" schemaLocation="https://xbrl.sec.gov/dei/2026/dei-2026.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-20260609_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-20260609_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-20260609_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-20260609_cal.xml" xlink:role="http://www.xbrl.org/2003/role/calculationLinkbaseRef" xlink:type="simple"/>
      <link:roleType id="Cover" roleURI="http://www.hp.com/role/Cover">
        <link:definition>0000001 - Document - Cover</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="StatementsofNetAssetsAvailableforBenefits" roleURI="http://www.hp.com/role/StatementsofNetAssetsAvailableforBenefits">
        <link:definition>0000002 - Statement - Statements of Net Assets Available for Benefits</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="StatementofChangesinNetAssetsAvailableforBenefits" roleURI="http://www.hp.com/role/StatementofChangesinNetAssetsAvailableforBenefits">
        <link:definition>0000003 - Statement - Statement of Changes in Net Assets Available for Benefits</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="DescriptionofthePlan" roleURI="http://www.hp.com/role/DescriptionofthePlan">
        <link:definition>0000004 - Disclosure - Description of the Plan</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="SummaryofSignificantAccountingPolicies" roleURI="http://www.hp.com/role/SummaryofSignificantAccountingPolicies">
        <link:definition>0000005 - Disclosure - Summary of Significant Accounting 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="FairValueMeasurements" roleURI="http://www.hp.com/role/FairValueMeasurements">
        <link:definition>0000006 - Disclosure - Fair Value Measurements</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="IncomeTaxStatus" roleURI="http://www.hp.com/role/IncomeTaxStatus">
        <link:definition>0000007 - Disclosure - Income Tax Status</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="RelatedPartyandPartyinInterestTransactions" roleURI="http://www.hp.com/role/RelatedPartyandPartyinInterestTransactions">
        <link:definition>0000008 - Disclosure - Related-Party and Party-in-Interest Transactions</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="RiskandUncertainties" roleURI="http://www.hp.com/role/RiskandUncertainties">
        <link:definition>0000009 - Disclosure - Risk and Uncertainties</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="ReconciliationofFinancialStatementstoForm5500" roleURI="http://www.hp.com/role/ReconciliationofFinancialStatementstoForm5500">
        <link:definition>0000010 - Disclosure - Reconciliation of Financial Statements to Form 5500</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="SubsequentEvents" roleURI="http://www.hp.com/role/SubsequentEvents">
        <link:definition>0000011 - Disclosure - Subsequent Events</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="ScheduleHLine4iScheduleofAssetsHeldAtEndofYear" roleURI="http://www.hp.com/role/ScheduleHLine4iScheduleofAssetsHeldAtEndofYear">
        <link:definition>0000012 - Disclosure - Schedule H, Line 4i &#8211; Schedule of Assets (Held At End of Year)</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="SummaryofSignificantAccountingPoliciesPolicies" roleURI="http://www.hp.com/role/SummaryofSignificantAccountingPoliciesPolicies">
        <link:definition>0000013 - Disclosure - Summary of Significant Accounting Policies (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="FairValueMeasurementsTables" roleURI="http://www.hp.com/role/FairValueMeasurementsTables">
        <link:definition>0000014 - Disclosure - Fair Value Measurements (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="ReconciliationofFinancialStatementstoForm5500Tables" roleURI="http://www.hp.com/role/ReconciliationofFinancialStatementstoForm5500Tables">
        <link:definition>0000015 - Disclosure - Reconciliation of Financial Statements to Form 5500 (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="DescriptionofthePlanDetails" roleURI="http://www.hp.com/role/DescriptionofthePlanDetails">
        <link:definition>0000016 - Disclosure - Description of the 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="SummaryofSignificantAccountingPoliciesDetails" roleURI="http://www.hp.com/role/SummaryofSignificantAccountingPoliciesDetails">
        <link:definition>0000017 - Disclosure - Summary of Significant Accounting Policies (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="FairValueMeasurementsDetails" roleURI="http://www.hp.com/role/FairValueMeasurementsDetails">
        <link:definition>0000018 - Disclosure - Fair Value Measurements (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="RelatedPartyandPartyinInterestTransactionsDetails" roleURI="http://www.hp.com/role/RelatedPartyandPartyinInterestTransactionsDetails">
        <link:definition>0000019 - Disclosure - Related-Party and Party-in-Interest Transactions (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="RelatedPartyandPartyinInterestTransactionsDetails_1" roleURI="http://www.hp.com/role/RelatedPartyandPartyinInterestTransactionsDetails_1">
        <link:definition>0000019 - Disclosure - Related-Party and Party-in-Interest Transactions (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="ReconciliationofFinancialStatementstoForm5500ReconciliationofNetAssetsAvailableforBenefitDetails" roleURI="http://www.hp.com/role/ReconciliationofFinancialStatementstoForm5500ReconciliationofNetAssetsAvailableforBenefitDetails">
        <link:definition>0000020 - Disclosure - Reconciliation of Financial Statements to Form 5500 - Reconciliation of Net Assets Available for Benefit (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="ReconciliationofFinancialStatementstoForm5500ReconciliationofBenefitsPaidtoParticipantsDetails" roleURI="http://www.hp.com/role/ReconciliationofFinancialStatementstoForm5500ReconciliationofBenefitsPaidtoParticipantsDetails">
        <link:definition>0000021 - Disclosure - Reconciliation of Financial Statements to Form 5500 - Reconciliation of Benefits Paid to Participants (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="ScheduleHLine4iScheduleofAssetsHeldAtEndofYearDetails" roleURI="http://www.hp.com/role/ScheduleHLine4iScheduleofAssetsHeldAtEndofYearDetails">
        <link:definition>0000022 - Disclosure - Schedule H, Line 4i &#8211; Schedule of Assets (Held At End of Year) (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="ScheduleHLine4iScheduleofAssetsHeldAtEndofYearDetails_1" roleURI="http://www.hp.com/role/ScheduleHLine4iScheduleofAssetsHeldAtEndofYearDetails_1">
        <link:definition>0000022 - Disclosure - Schedule H, Line 4i &#8211; Schedule of Assets (Held At End of Year) (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_EBP004Member" abstract="true" name="EBP004Member" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="hpq_EBPParticipantContributionsMaximumPlanBalancePercentInCommonStockFund" abstract="false" name="EBPParticipantContributionsMaximumPlanBalancePercentInCommonStockFund" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:percentItemType"/>
  <xs:element id="hpq_BPParticipantContributionAfterTaxMaximumAnnualCompensationToTotalCompensationPercentage" abstract="false" name="BPParticipantContributionAfterTaxMaximumAnnualCompensationToTotalCompensationPercentage" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:percentItemType"/>
  <xs:element id="hpq_EBPEmployerContributionMinimumVestingAge" abstract="false" name="EBPEmployerContributionMinimumVestingAge" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:integerItemType"/>
  <xs:element id="hpq_EBPEmployerRequisiteVestingServicePeriod" abstract="false" name="EBPEmployerRequisiteVestingServicePeriod" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:durationItemType"/>
  <xs:element id="hpq_EBPEmployerContributionVestingServicePeriod" abstract="false" name="EBPEmployerContributionVestingServicePeriod" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:durationItemType"/>
  <xs:element id="hpq_EBPEmployerContributionVestingPercentage" abstract="false" name="EBPEmployerContributionVestingPercentage" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:percentItemType"/>
  <xs:element id="hpq_EBPEmployerContributionMaximumVestingAge" abstract="false" name="EBPEmployerContributionMaximumVestingAge" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:integerItemType"/>
  <xs:element id="hpq_EBPNoteReceivableFromParticipantGeneralLoanMaximumBorrowingTerm" abstract="false" name="EBPNoteReceivableFromParticipantGeneralLoanMaximumBorrowingTerm" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:durationItemType"/>
  <xs:element id="hpq_EBPNoteReceivableFromParticipantAccountPrimaryResidenceMaximumBorrowingTerm" abstract="false" name="EBPNoteReceivableFromParticipantAccountPrimaryResidenceMaximumBorrowingTerm" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:durationItemType"/>
  <xs:element id="hpq_EBPParticipantLoanBasisSpreadOnVariableRate" abstract="false" name="EBPParticipantLoanBasisSpreadOnVariableRate" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:percentItemType"/>
  <xs:element id="hpq_BPAdministrativeExpensePerAccount" abstract="false" name="BPAdministrativeExpensePerAccount" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="hpq_EBPRevenueSharingAmountToOffsetPlanExpenses" abstract="false" name="EBPRevenueSharingAmountToOffsetPlanExpenses" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="hpq_EBPUndistributedAdministrativeRevenue" abstract="false" name="EBPUndistributedAdministrativeRevenue" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="hpq_EBPVanguardGroupMember" abstract="true" name="EBPVanguardGroupMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="hpq_EBPBlackrockInc.Member" abstract="true" name="EBPBlackrockInc.Member" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="hpq_EBPRelatedPartyEmployerStockOwnedPercentage" abstract="false" name="EBPRelatedPartyEmployerStockOwnedPercentage" nillable="true" xbrli:periodType="instant" substitutionGroup="xbrli:item" type="dtr-types:percentItemType"/>
  <xs:element id="hpq_CommonCollectiveTrustFairValueMember" abstract="true" name="CommonCollectiveTrustFairValueMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="hpq_CommonInvestmentTrustFairValueMember" abstract="true" name="CommonInvestmentTrustFairValueMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
</xs:schema>
