<?xml version="1.0" encoding="US-ASCII"?>
<!-- DFIN New ActiveDisclosure (SM) XBRL Schema Document - http://www.dfinsolutions.com/ -->
<!-- Creation Date :2022-08-04T10:21:18.8661+00:00 -->
<!-- Copyright (c) 2022 Donnelly Financial Solutions, Inc. All Rights Reserved. -->
<xsd:schema targetNamespace="http://www.hubspot.com/20220630" attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:dtr-types="http://www.xbrl.org/dtr/type/2020-01-21" xmlns:enum2="http://xbrl.org/2020/extensible-enumerations-2.0" xmlns:srt="http://fasb.org/srt/2022" xmlns:stpr="http://xbrl.sec.gov/stpr/2022" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:us-gaap="http://fasb.org/us-gaap/2022" xmlns:dei="http://xbrl.sec.gov/dei/2022" xmlns:xbrldt="http://xbrl.org/2005/xbrldt" xmlns:xbrli="http://www.xbrl.org/2003/instance" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:hubs="http://www.hubspot.com/20220630">
  <xsd:import schemaLocation="http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd" namespace="http://www.xbrl.org/2003/instance"/>
  <xsd:import schemaLocation="http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd" namespace="http://www.xbrl.org/2003/linkbase"/>
  <xsd:import schemaLocation="http://www.xbrl.org/2005/xbrldt-2005.xsd" namespace="http://xbrl.org/2005/xbrldt"/>
  <xsd:import schemaLocation="https://xbrl.sec.gov/stpr/2022/stpr-2022.xsd" namespace="http://xbrl.sec.gov/stpr/2022"/>
  <xsd:import schemaLocation="https://www.xbrl.org/2020/extensible-enumerations-2.0.xsd" namespace="http://xbrl.org/2020/extensible-enumerations-2.0"/>
  <xsd:import schemaLocation="https://xbrl.sec.gov/dei/2022/dei-2022.xsd" namespace="http://xbrl.sec.gov/dei/2022"/>
  <xsd:import schemaLocation="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd" namespace="http://fasb.org/us-gaap/2022"/>
  <xsd:import schemaLocation="https://www.xbrl.org/dtr/type/2020-01-21/types.xsd" namespace="http://www.xbrl.org/dtr/type/2020-01-21"/>
  <xsd:import schemaLocation="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd" namespace="http://fasb.org/srt/2022"/>
  <xsd:annotation>
    <xsd:appinfo>
      <link:linkbaseRef xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase" xlink:href="hubs-20220630_lab.xml" xlink:role="http://www.xbrl.org/2003/role/labelLinkbaseRef" xlink:title="Labels link" xlink:type="simple"/>
      <link:linkbaseRef xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase" xlink:href="hubs-20220630_pre.xml" xlink:role="http://www.xbrl.org/2003/role/presentationLinkbaseRef" xlink:title="Presentation link" xlink:type="simple"/>
      <link:linkbaseRef xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase" xlink:href="hubs-20220630_def.xml" xlink:role="http://www.xbrl.org/2003/role/definitionLinkbaseRef" xlink:title="Definition link" xlink:type="simple"/>
      <link:linkbaseRef xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase" xlink:href="hubs-20220630_cal.xml" xlink:role="http://www.xbrl.org/2003/role/calculationLinkbaseRef" xlink:title="Calculation link" xlink:type="simple"/>
      <link:roleType roleURI="http://www.hubspot.com/20220630/taxonomy/role/Role_DocumentDocumentAndEntityInformation" id="Role_DocumentDocumentAndEntityInformation">
        <link:definition>100000 - Document - Document and Entity 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 roleURI="http://www.hubspot.com/20220630/taxonomy/role/StatementUnauditedConsolidatedBalanceSheets" id="StatementUnauditedConsolidatedBalanceSheets">
        <link:definition>100010 - Statement - Unaudited Consolidated Balance Sheets</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.hubspot.com/20220630/taxonomy/role/DisclosureFairValueOfFinancialInstrumentsSummaryOfContractualMaturitiesOfShortAndLongTermInvestmentsDetail2" id="DisclosureFairValueOfFinancialInstrumentsSummaryOfContractualMaturitiesOfShortAndLongTermInvestmentsDetail2">
        <link:definition>100020 - Disclosure - Fair Value of Financial Instruments - Summary of Contractual Maturities of Short and Long Term Investments (Detail) 2</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.hubspot.com/20220630/taxonomy/role/StatementUnauditedConsolidatedBalanceSheetsParenthetical" id="StatementUnauditedConsolidatedBalanceSheetsParenthetical">
        <link:definition>100030 - Statement - Unaudited Consolidated Balance Sheets (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 roleURI="http://www.hubspot.com/20220630/taxonomy/role/StatementUnauditedConsolidatedStatementsOfOperations" id="StatementUnauditedConsolidatedStatementsOfOperations">
        <link:definition>100040 - Statement - Unaudited Consolidated Statements of Operations</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.hubspot.com/20220630/taxonomy/role/StatementUnauditedConsolidatedStatementsOfComprehensiveLoss" id="StatementUnauditedConsolidatedStatementsOfComprehensiveLoss">
        <link:definition>100050 - Statement - Unaudited Consolidated Statements of Comprehensive Loss</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.hubspot.com/20220630/taxonomy/role/StatementUnauditedConsolidatedStatementsOfComprehensiveLossParenthetical" id="StatementUnauditedConsolidatedStatementsOfComprehensiveLossParenthetical">
        <link:definition>100060 - Statement - Unaudited Consolidated Statements of Comprehensive Loss (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 roleURI="http://www.hubspot.com/20220630/taxonomy/role/StatementUnauditedConsolidatedStatementsOfStockholdersEquity" id="StatementUnauditedConsolidatedStatementsOfStockholdersEquity">
        <link:definition>100070 - Statement - Unaudited Consolidated Statements of Stockholders' Equity</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.hubspot.com/20220630/taxonomy/role/StatementUnauditedConsolidatedStatementsOfStockholdersEquityParenthetical" id="StatementUnauditedConsolidatedStatementsOfStockholdersEquityParenthetical">
        <link:definition>100080 - Statement - Unaudited Consolidated Statements of Stockholders' Equity (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 roleURI="http://www.hubspot.com/20220630/taxonomy/role/StatementUnauditedConsolidatedStatementsOfCashFlows" id="StatementUnauditedConsolidatedStatementsOfCashFlows">
        <link:definition>100090 - Statement - Unaudited Consolidated Statements of Cash Flows</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.hubspot.com/20220630/taxonomy/role/Role_DisclosureOrganizationAndOperations" id="Role_DisclosureOrganizationAndOperations">
        <link:definition>100100 - Disclosure - Organization and Operations</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.hubspot.com/20220630/taxonomy/role/Role_DisclosureRevenues" id="Role_DisclosureRevenues">
        <link:definition>100110 - Disclosure - Revenues</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.hubspot.com/20220630/taxonomy/role/Role_DisclosureNetLossPerShare" id="Role_DisclosureNetLossPerShare">
        <link:definition>100120 - Disclosure - Net Loss 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 roleURI="http://www.hubspot.com/20220630/taxonomy/role/Role_DisclosureFairValueOfFinancialInstruments" id="Role_DisclosureFairValueOfFinancialInstruments">
        <link:definition>100130 - Disclosure - Fair Value of 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 roleURI="http://www.hubspot.com/20220630/taxonomy/role/Role_DisclosureRestrictedCash" id="Role_DisclosureRestrictedCash">
        <link:definition>100140 - Disclosure - Restricted cash</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.hubspot.com/20220630/taxonomy/role/Role_DisclosurePropertyAndEquipmentNet" id="Role_DisclosurePropertyAndEquipmentNet">
        <link:definition>100150 - Disclosure - Property and Equipment, Net</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.hubspot.com/20220630/taxonomy/role/Role_DisclosureCapitalizedSoftwareDevelopmentCosts" id="Role_DisclosureCapitalizedSoftwareDevelopmentCosts">
        <link:definition>100160 - Disclosure - Capitalized Software Development Costs</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.hubspot.com/20220630/taxonomy/role/Role_DisclosureConvertibleSeniorNotes" id="Role_DisclosureConvertibleSeniorNotes">
        <link:definition>100170 - Disclosure - Convertible Senior Notes</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.hubspot.com/20220630/taxonomy/role/Role_DisclosureLeases" id="Role_DisclosureLeases">
        <link:definition>100180 - Disclosure - Leases</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.hubspot.com/20220630/taxonomy/role/Role_DisclosureCommitmentsAndContingencies" id="Role_DisclosureCommitmentsAndContingencies">
        <link:definition>100190 - Disclosure - Commitments 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 roleURI="http://www.hubspot.com/20220630/taxonomy/role/Role_DisclosureChangesInAccumulatedOtherComprehensiveLoss" id="Role_DisclosureChangesInAccumulatedOtherComprehensiveLoss">
        <link:definition>100200 - Disclosure - Changes in Accumulated Other Comprehensive Loss</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.hubspot.com/20220630/taxonomy/role/DisclosureIntangibleAssets1" id="DisclosureIntangibleAssets1">
        <link:definition>100210 - Disclosure - Intangible Assets</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.hubspot.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationExpense" id="Role_DisclosureStockBasedCompensationExpense">
        <link:definition>100220 - Disclosure - Stock-Based Compensation Expense</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.hubspot.com/20220630/taxonomy/role/Role_DisclosureSegmentInformationAndGeographicData" id="Role_DisclosureSegmentInformationAndGeographicData">
        <link:definition>100230 - Disclosure - Segment Information and Geographic Data</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.hubspot.com/20220630/taxonomy/role/Role_DisclosureOrganizationAndOperationsPolicies" id="Role_DisclosureOrganizationAndOperationsPolicies">
        <link:definition>100240 - Disclosure - Organization and Operations (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 roleURI="http://www.hubspot.com/20220630/taxonomy/role/Role_DisclosureNetLossPerShareTables" id="Role_DisclosureNetLossPerShareTables">
        <link:definition>100250 - Disclosure - Net Loss 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 roleURI="http://www.hubspot.com/20220630/taxonomy/role/Role_DisclosureFairValueOfFinancialInstrumentsTables" id="Role_DisclosureFairValueOfFinancialInstrumentsTables">
        <link:definition>100260 - Disclosure - Fair Value of 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 roleURI="http://www.hubspot.com/20220630/taxonomy/role/Role_DisclosureRestrictedCashTables" id="Role_DisclosureRestrictedCashTables">
        <link:definition>100270 - Disclosure - Restricted cash (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 roleURI="http://www.hubspot.com/20220630/taxonomy/role/Role_DisclosurePropertyAndEquipmentNetTables" id="Role_DisclosurePropertyAndEquipmentNetTables">
        <link:definition>100280 - Disclosure - Property and Equipment, Net (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 roleURI="http://www.hubspot.com/20220630/taxonomy/role/Role_DisclosureCapitalizedSoftwareDevelopmentCostsTables" id="Role_DisclosureCapitalizedSoftwareDevelopmentCostsTables">
        <link:definition>100290 - Disclosure - Capitalized Software Development Costs (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 roleURI="http://www.hubspot.com/20220630/taxonomy/role/Role_DisclosureConvertibleSeniorNotesTables" id="Role_DisclosureConvertibleSeniorNotesTables">
        <link:definition>100300 - Disclosure - Convertible Senior Notes (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 roleURI="http://www.hubspot.com/20220630/taxonomy/role/Role_DisclosureLeasesTables" id="Role_DisclosureLeasesTables">
        <link:definition>100310 - Disclosure - Leases (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 roleURI="http://www.hubspot.com/20220630/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesTables" id="Role_DisclosureCommitmentsAndContingenciesTables">
        <link:definition>100320 - Disclosure - Commitments and Contingencies (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 roleURI="http://www.hubspot.com/20220630/taxonomy/role/Role_DisclosureChangesInAccumulatedOtherComprehensiveLossTables" id="Role_DisclosureChangesInAccumulatedOtherComprehensiveLossTables">
        <link:definition>100330 - Disclosure - Changes in Accumulated Other Comprehensive Loss (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 roleURI="http://www.hubspot.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationExpenseTables" id="Role_DisclosureStockBasedCompensationExpenseTables">
        <link:definition>100340 - Disclosure - Stock-Based Compensation Expense (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 roleURI="http://www.hubspot.com/20220630/taxonomy/role/Role_DisclosureSegmentInformationAndGeographicDataTables" id="Role_DisclosureSegmentInformationAndGeographicDataTables">
        <link:definition>100350 - Disclosure - Segment Information and Geographic Data (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 roleURI="http://www.hubspot.com/20220630/taxonomy/role/Role_DisclosureRevenuesAdditionalInformationDetail" id="Role_DisclosureRevenuesAdditionalInformationDetail">
        <link:definition>100360 - Disclosure - Revenues - Additional Information (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.hubspot.com/20220630/taxonomy/role/Role_DisclosureRevenuesAdditionalInformation1Detail" id="Role_DisclosureRevenuesAdditionalInformation1Detail">
        <link:definition>100370 - Disclosure - Revenues - Additional Information1 (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.hubspot.com/20220630/taxonomy/role/Role_DisclosureNetLossPerShareSummaryOfReconciliationOfDenominatorUsedInCalculationOfBasicAndDilutedNetLossPerShareDetail" id="Role_DisclosureNetLossPerShareSummaryOfReconciliationOfDenominatorUsedInCalculationOfBasicAndDilutedNetLossPerShareDetail">
        <link:definition>100380 - Disclosure - Net Loss per Share - Summary of Reconciliation of Denominator Used in Calculation of Basic and Diluted Net Loss Per Share (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.hubspot.com/20220630/taxonomy/role/Role_DisclosureNetLossPerShareAdditionalInformationDetail" id="Role_DisclosureNetLossPerShareAdditionalInformationDetail">
        <link:definition>100390 - Disclosure - Net Loss per Share - Additional Information (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.hubspot.com/20220630/taxonomy/role/Role_DisclosureNetLossPerShareScheduleOfPotentiallyDilutiveCommonStockEquivalentsDetail" id="Role_DisclosureNetLossPerShareScheduleOfPotentiallyDilutiveCommonStockEquivalentsDetail">
        <link:definition>100400 - Disclosure - Net Loss per Share - Schedule of Potentially Dilutive Common Stock Equivalents (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.hubspot.com/20220630/taxonomy/role/Role_DisclosureFairValueOfFinancialInstrumentsScheduleOfFairValueOfFinancialAssetsAndLiabilitiesDetail" id="Role_DisclosureFairValueOfFinancialInstrumentsScheduleOfFairValueOfFinancialAssetsAndLiabilitiesDetail">
        <link:definition>100410 - Disclosure - Fair Value of Financial Instruments - Schedule of Fair Value of Financial Assets and Liabilities (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.hubspot.com/20220630/taxonomy/role/Role_DisclosureFairValueOfFinancialInstrumentsAdditionalInformationDetail" id="Role_DisclosureFairValueOfFinancialInstrumentsAdditionalInformationDetail">
        <link:definition>100420 - Disclosure - Fair Value of Financial Instruments - Additional Information (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.hubspot.com/20220630/taxonomy/role/Role_DisclosureFairValueOfFinancialInstrumentsSummaryOfCompositionOfShortAndLongTermInvestmentsDetail" id="Role_DisclosureFairValueOfFinancialInstrumentsSummaryOfCompositionOfShortAndLongTermInvestmentsDetail">
        <link:definition>100430 - Disclosure - Fair Value of Financial Instruments - Summary of Composition of Short and Long Term Investments (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.hubspot.com/20220630/taxonomy/role/Role_DisclosureFairValueOfFinancialInstrumentsSummaryOfContractualMaturitiesOfShortAndLongTermInvestmentsDetail" id="Role_DisclosureFairValueOfFinancialInstrumentsSummaryOfContractualMaturitiesOfShortAndLongTermInvestmentsDetail">
        <link:definition>100440 - Disclosure - Fair Value of Financial Instruments - Summary of Contractual Maturities of Short and Long Term Investments (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.hubspot.com/20220630/taxonomy/role/Role_DisclosureRestrictedCashSummaryOfReconciliationOfCashCashEquivalentsAndRestrictedCashDetail" id="Role_DisclosureRestrictedCashSummaryOfReconciliationOfCashCashEquivalentsAndRestrictedCashDetail">
        <link:definition>100450 - Disclosure - Restricted Cash - Summary of Reconciliation of Cash, Cash Equivalents and Restricted Cash (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.hubspot.com/20220630/taxonomy/role/Role_DisclosurePropertyAndEquipmentNetScheduleOfPropertyAndEquipmentNetDetail" id="Role_DisclosurePropertyAndEquipmentNetScheduleOfPropertyAndEquipmentNetDetail">
        <link:definition>100460 - Disclosure - Property and Equipment, Net - Schedule of Property and Equipment, Net (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.hubspot.com/20220630/taxonomy/role/Role_DisclosurePropertyAndEquipmentNetAdditionalInformationDetail" id="Role_DisclosurePropertyAndEquipmentNetAdditionalInformationDetail">
        <link:definition>100470 - Disclosure - Property and Equipment, Net - Additional Information (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.hubspot.com/20220630/taxonomy/role/Role_DisclosureCapitalizedSoftwareDevelopmentCostsSummaryOfCapitalizedSoftwareDevelopmentCostsExclusiveOfThoseRecordedWithinPropertyAndEquipmentDetail" id="Role_DisclosureCapitalizedSoftwareDevelopmentCostsSummaryOfCapitalizedSoftwareDevelopmentCostsExclusiveOfThoseRecordedWithinPropertyAndEquipmentDetail">
        <link:definition>100480 - Disclosure - Capitalized Software Development Costs - Summary of Capitalized Software Development Costs, Exclusive of those Recorded within Property and Equipment (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.hubspot.com/20220630/taxonomy/role/Role_DisclosureCapitalizedSoftwareDevelopmentCostsAdditionalInformationDetail" id="Role_DisclosureCapitalizedSoftwareDevelopmentCostsAdditionalInformationDetail">
        <link:definition>100490 - Disclosure - Capitalized Software Development Costs - Additional Information (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.hubspot.com/20220630/taxonomy/role/Role_DisclosureConvertibleSeniorNotesAdditionalInformationDetail" id="Role_DisclosureConvertibleSeniorNotesAdditionalInformationDetail">
        <link:definition>100500 - Disclosure - Convertible Senior Notes - Additional Information (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.hubspot.com/20220630/taxonomy/role/Role_DisclosureConvertibleSeniorNotesScheduleOfNetCarryingAmountOfLiabilityComponentDetail" id="Role_DisclosureConvertibleSeniorNotesScheduleOfNetCarryingAmountOfLiabilityComponentDetail">
        <link:definition>100510 - Disclosure - Convertible Senior Notes - Schedule of Net Carrying Amount of Liability Component (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.hubspot.com/20220630/taxonomy/role/Role_DisclosureConvertibleSeniorNotesScheduleOfInterestExpenseDetail" id="Role_DisclosureConvertibleSeniorNotesScheduleOfInterestExpenseDetail">
        <link:definition>100520 - Disclosure - Convertible Senior Notes - Schedule of Interest Expense (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.hubspot.com/20220630/taxonomy/role/Role_DisclosureLeasesAdditionalInformationDetail" id="Role_DisclosureLeasesAdditionalInformationDetail">
        <link:definition>100530 - Disclosure - Leases - Additional Information (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.hubspot.com/20220630/taxonomy/role/Role_DisclosureLeasesScheduleOfOperatingSubleaseIncomeGeneratedUnderOperatingLeaseAgreementsDetail" id="Role_DisclosureLeasesScheduleOfOperatingSubleaseIncomeGeneratedUnderOperatingLeaseAgreementsDetail">
        <link:definition>100540 - Disclosure - Leases - Schedule of Operating Sublease Income Generated under Operating Lease Agreements (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.hubspot.com/20220630/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesAdditionalInformationDetail" id="Role_DisclosureCommitmentsAndContingenciesAdditionalInformationDetail">
        <link:definition>100550 - Disclosure - Commitments and Contingencies - Additional Information (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.hubspot.com/20220630/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesScheduleOfFutureMinimumPaymentsDetail" id="Role_DisclosureCommitmentsAndContingenciesScheduleOfFutureMinimumPaymentsDetail">
        <link:definition>100560 - Disclosure - Commitments and Contingencies - Schedule of Future Minimum Payments (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.hubspot.com/20220630/taxonomy/role/DisclosureCommitmentsAndContingenciesScheduleOfFutureMinimumPaymentsUnderNoncancelableArrangementsDetails" id="DisclosureCommitmentsAndContingenciesScheduleOfFutureMinimumPaymentsUnderNoncancelableArrangementsDetails">
        <link:definition>100570 - Disclosure - Commitments and Contingencies - Schedule of Future Minimum Payments Under Non-Cancelable Arrangements (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 roleURI="http://www.hubspot.com/20220630/taxonomy/role/Role_DisclosureChangesInAccumulatedOtherComprehensiveLossChangesInAccumulatedOtherComprehensiveLossDetail" id="Role_DisclosureChangesInAccumulatedOtherComprehensiveLossChangesInAccumulatedOtherComprehensiveLossDetail">
        <link:definition>100580 - Disclosure - Changes in Accumulated Other Comprehensive Loss - Changes in Accumulated Other Comprehensive Loss (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.hubspot.com/20220630/taxonomy/role/DisclosureIntangibleAssetsAdditionalInformationDetails" id="DisclosureIntangibleAssetsAdditionalInformationDetails">
        <link:definition>100590 - Disclosure - Intangible Assets - Additional Information (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 roleURI="http://www.hubspot.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationExpenseScheduleOfStockBasedCompensationExpenseByAwardTypeDetail" id="Role_DisclosureStockBasedCompensationExpenseScheduleOfStockBasedCompensationExpenseByAwardTypeDetail">
        <link:definition>100600 - Disclosure - Stock-Based Compensation Expense - Schedule of Stock-Based Compensation Expense by Award Type (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.hubspot.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationExpenseEffectOfStockBasedCompensationOnIncomeByLineItemDetail" id="Role_DisclosureStockBasedCompensationExpenseEffectOfStockBasedCompensationOnIncomeByLineItemDetail">
        <link:definition>100610 - Disclosure - Stock-Based Compensation Expense - Effect of Stock-Based Compensation on Income by Line Item (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.hubspot.com/20220630/taxonomy/role/Role_DisclosureStockBasedCompensationExpenseAdditionalInformationDetail" id="Role_DisclosureStockBasedCompensationExpenseAdditionalInformationDetail">
        <link:definition>100620 - Disclosure - Stock-Based Compensation Expense - Additional Information (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.hubspot.com/20220630/taxonomy/role/Role_DisclosureSegmentInformationAndGeographicDataAdditionalInformationDetail" id="Role_DisclosureSegmentInformationAndGeographicDataAdditionalInformationDetail">
        <link:definition>100630 - Disclosure - Segment Information and Geographic Data - Additional Information (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.hubspot.com/20220630/taxonomy/role/Role_DisclosureSegmentInformationAndGeographicDataRevenuesByGeographicalRegionDetail" id="Role_DisclosureSegmentInformationAndGeographicDataRevenuesByGeographicalRegionDetail">
        <link:definition>100640 - Disclosure - Segment Information and Geographic Data - Revenues by Geographical Region (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.hubspot.com/20220630/taxonomy/role/Role_DisclosureSegmentInformationAndGeographicDataLongLivedAssetsByGeographicalRegionDetail" id="Role_DisclosureSegmentInformationAndGeographicDataLongLivedAssetsByGeographicalRegionDetail">
        <link:definition>100650 - Disclosure - Segment Information and Geographic Data - Long Lived Assets by Geographical Region (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
    </xsd:appinfo>
  </xsd:annotation>
  <xsd:element id="hubs_AccretionAmortizationOfDebtDiscountPremium" name="AccretionAmortizationOfDebtDiscountPremium" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false" xbrli:balance="credit"/>
  <xsd:element id="hubs_AdditionalInvoiceRecognized" name="AdditionalInvoiceRecognized" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false" xbrli:balance="credit"/>
  <xsd:element id="hubs_AdjustmentsToAdditionalPaidInCapitalConvertibleDebtWithConversionFeatureShares" name="AdjustmentsToAdditionalPaidInCapitalConvertibleDebtWithConversionFeatureShares" type="xbrli:sharesItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false"/>
  <xsd:element id="hubs_AdjustmentsToAdditionalPaidInCapitalIncomeTaxEffectFromShareBasedCompensationNet" name="AdjustmentsToAdditionalPaidInCapitalIncomeTaxEffectFromShareBasedCompensationNet" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false" xbrli:balance="credit"/>
  <xsd:element id="hubs_AmortizationPeriodOfDeferredSalesCommissions" name="AmortizationPeriodOfDeferredSalesCommissions" type="xbrli:durationItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false"/>
  <xsd:element id="hubs_AverageStockPrice" name="AverageStockPrice" type="dtr-types:perShareItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false"/>
  <xsd:element id="hubs_CommonStockSharesCoveredUnderCappedCallTransactions" name="CommonStockSharesCoveredUnderCappedCallTransactions" type="xbrli:sharesItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false"/>
  <xsd:element id="hubs_ContractWithCustomerLiabilityAdditions" name="ContractWithCustomerLiabilityAdditions" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false" xbrli:balance="debit"/>
  <xsd:element id="hubs_ConvertibleDebtHedgesSettlement" name="ConvertibleDebtHedgesSettlement" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false" xbrli:balance="credit"/>
  <xsd:element id="hubs_ConvertibleDebtHedgesSettlementShares" name="ConvertibleDebtHedgesSettlementShares" type="xbrli:sharesItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false"/>
  <xsd:element id="hubs_ConvertibleSeniorNotesNetOfCurrentPortion" name="ConvertibleSeniorNotesNetOfCurrentPortion" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="instant" nillable="true" abstract="false" xbrli:balance="credit"/>
  <xsd:element id="hubs_CostOfPurchasedCappedCallOptions" name="CostOfPurchasedCappedCallOptions" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false" xbrli:balance="debit"/>
  <xsd:element id="hubs_DebtInstrumentConvertibleConversionRatioDenominator" name="DebtInstrumentConvertibleConversionRatioDenominator" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="instant" nillable="true" abstract="false" xbrli:balance="credit"/>
  <xsd:element id="hubs_DebtInstrumentConvertibleToCommonStock" name="DebtInstrumentConvertibleToCommonStock" type="xbrli:sharesItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false"/>
  <xsd:element id="hubs_DerivativeOptionCapPrice" name="DerivativeOptionCapPrice" type="dtr-types:perShareItemType" substitutionGroup="xbrli:item" xbrli:periodType="instant" nillable="true" abstract="false"/>
  <xsd:element id="hubs_DerivativePriceRiskOptionsStrikePrice" name="DerivativePriceRiskOptionsStrikePrice" type="dtr-types:perShareItemType" substitutionGroup="xbrli:item" xbrli:periodType="instant" nillable="true" abstract="false"/>
  <xsd:element id="hubs_DescriptionOfPrincipalAmountSettlement" name="DescriptionOfPrincipalAmountSettlement" type="xbrli:stringItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false"/>
  <xsd:element id="hubs_HedgingOptionStrikePricePerCommonStock" name="HedgingOptionStrikePricePerCommonStock" type="dtr-types:perShareItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false"/>
  <xsd:element id="hubs_IncreaseDecreaseInAdditionalPaidInCapital" name="IncreaseDecreaseInAdditionalPaidInCapital" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false" xbrli:balance="credit"/>
  <xsd:element id="hubs_IncreaseDecreaseInConvertibleLongTermNotesPayable" name="IncreaseDecreaseInConvertibleLongTermNotesPayable" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false" xbrli:balance="credit"/>
  <xsd:element id="hubs_IncreaseDecreaseInConvertibleNotesPayable" name="IncreaseDecreaseInConvertibleNotesPayable" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false" xbrli:balance="credit"/>
  <xsd:element id="hubs_IncreaseDecreaseInConvertibleNotesPayableCurrent" name="IncreaseDecreaseInConvertibleNotesPayableCurrent" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false" xbrli:balance="credit"/>
  <xsd:element id="hubs_IncreaseDecreaseInDeferredSalesCommission" name="IncreaseDecreaseInDeferredSalesCommission" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false" xbrli:balance="debit"/>
  <xsd:element id="hubs_IncreaseDecreaseInOperatingLeaseLiabilities" name="IncreaseDecreaseInOperatingLeaseLiabilities" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false" xbrli:balance="credit"/>
  <xsd:element id="hubs_IncreaseDecreaseInRetainedEarnings" name="IncreaseDecreaseInRetainedEarnings" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false" xbrli:balance="credit"/>
  <xsd:element id="hubs_IncreaseDecreaseInRightOfUseAssets" name="IncreaseDecreaseInRightOfUseAssets" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false" xbrli:balance="debit"/>
  <xsd:element id="hubs_IncreaseInFutureLeaseCommitments" name="IncreaseInFutureLeaseCommitments" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false" xbrli:balance="debit"/>
  <xsd:element id="hubs_IncrementalCostsOfDeferredSalesCommission" name="IncrementalCostsOfDeferredSalesCommission" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false" xbrli:balance="debit"/>
  <xsd:element id="hubs_IncrementalRentOverLeaseTerm" name="IncrementalRentOverLeaseTerm" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false" xbrli:balance="debit"/>
  <xsd:element id="hubs_IssuanceOfCommonStockForRepaymentOfConvertibleNotes" name="IssuanceOfCommonStockForRepaymentOfConvertibleNotes" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false" xbrli:balance="credit"/>
  <xsd:element id="hubs_LesseeExtendedOperatingLeaseTermOfContract" name="LesseeExtendedOperatingLeaseTermOfContract" type="xbrli:durationItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false"/>
  <xsd:element id="hubs_LesseeOperatingLeaseCommencementPeriod" name="LesseeOperatingLeaseCommencementPeriod" type="xbrli:gYearMonthItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false"/>
  <xsd:element id="hubs_LesseeOperatingLeaseCommitmentsNotYetCommenced" name="LesseeOperatingLeaseCommitmentsNotYetCommenced" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false" xbrli:balance="debit"/>
  <xsd:element id="hubs_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFour" name="LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFour" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="instant" nillable="true" abstract="false" xbrli:balance="credit"/>
  <xsd:element id="hubs_NumberOfCommonSharesToBeRepurchasedUnderConvertibleNoteHedgeTransactions" name="NumberOfCommonSharesToBeRepurchasedUnderConvertibleNoteHedgeTransactions" type="xbrli:sharesItemType" substitutionGroup="xbrli:item" xbrli:periodType="instant" nillable="true" abstract="false"/>
  <xsd:element id="hubs_OperatingLeaseLiabilityNoncurrentAdditions" name="OperatingLeaseLiabilityNoncurrentAdditions" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="instant" nillable="true" abstract="false" xbrli:balance="credit"/>
  <xsd:element id="hubs_OperatingLeaseRightOfUseAssetAdditions" name="OperatingLeaseRightOfUseAssetAdditions" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="instant" nillable="true" abstract="false" xbrli:balance="debit"/>
  <xsd:element id="hubs_OtherComprehensiveIncomeCumulativeAdjustmentFromAdoptionOfConvertibleDebtStandardDuringPeriodNetOfTax" name="OtherComprehensiveIncomeCumulativeAdjustmentFromAdoptionOfConvertibleDebtStandardDuringPeriodNetOfTax" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false" xbrli:balance="credit"/>
  <xsd:element id="hubs_PaymentForPurchaseOfStrategicInvestments" name="PaymentForPurchaseOfStrategicInvestments" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false" xbrli:balance="credit"/>
  <xsd:element id="hubs_PaymentForSettlementOf2022ConvertibleNotes" name="PaymentForSettlementOf2022ConvertibleNotes" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false" xbrli:balance="credit"/>
  <xsd:element id="hubs_ProceedsFromSettlementOfConvertibleNotes" name="ProceedsFromSettlementOfConvertibleNotes" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false" xbrli:balance="debit"/>
  <xsd:element id="hubs_PurchaseObligationToBePaidAfterYearFour" name="PurchaseObligationToBePaidAfterYearFour" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="instant" nillable="true" abstract="false" xbrli:balance="credit"/>
  <xsd:element id="hubs_PurchaseOfRightsToDomainName" name="PurchaseOfRightsToDomainName" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false" xbrli:balance="credit"/>
  <xsd:element id="hubs_RepaymentOfConvertibleSeniorNotesAttributableToDebtDiscount" name="RepaymentOfConvertibleSeniorNotesAttributableToDebtDiscount" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false" xbrli:balance="credit"/>
  <xsd:element id="hubs_RestrictedCashFairValueDisclosure" name="RestrictedCashFairValueDisclosure" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="instant" nillable="true" abstract="false" xbrli:balance="debit"/>
  <xsd:element id="hubs_RevenueRemainingPerformanceObligationContractPeriod" name="RevenueRemainingPerformanceObligationContractPeriod" type="xbrli:durationItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false"/>
  <xsd:element id="hubs_RevenueRemainingPerformanceObligationPercentageRecognized" name="RevenueRemainingPerformanceObligationPercentageRecognized" type="dtr-types:percentItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false"/>
  <xsd:element id="hubs_RightOfUseAssetAndPropertyPlantAndEquipmentNet" name="RightOfUseAssetAndPropertyPlantAndEquipmentNet" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="instant" nillable="true" abstract="false" xbrli:balance="debit"/>
  <xsd:element id="hubs_SettlementPeriodOfWarrantsExcessPriceOverStrikePrice" name="SettlementPeriodOfWarrantsExcessPriceOverStrikePrice" type="xbrli:durationItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false"/>
  <xsd:element id="hubs_WarrantsExpectedToSettleCommencementDate" name="WarrantsExpectedToSettleCommencementDate" type="xbrli:dateItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false"/>
  <xsd:element id="hubs_WarrantsExpectedToSettleDescription" name="WarrantsExpectedToSettleDescription" type="xbrli:stringItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false"/>
  <xsd:element id="hubs_CommitmentsAndContingenciesLineItems" name="CommitmentsAndContingenciesLineItems" type="xbrli:stringItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="true"/>
  <xsd:element id="hubs_AccruedExpensesAndOtherCurrentLiabilitiesMember" name="AccruedExpensesAndOtherCurrentLiabilitiesMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="true"/>
  <xsd:element id="hubs_CapitalizedSoftwareAndPropertyPlantAndEquipmentMember" name="CapitalizedSoftwareAndPropertyPlantAndEquipmentMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="true"/>
  <xsd:element id="hubs_CappedCallOptionsMember" name="CappedCallOptionsMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="true"/>
  <xsd:element id="hubs_ComputerEquipmentAndPurchasedSoftwareMember" name="ComputerEquipmentAndPurchasedSoftwareMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="true"/>
  <xsd:element id="hubs_ConvertibleSeniorNotesDueTwoThousandTwentyFiveMember" name="ConvertibleSeniorNotesDueTwoThousandTwentyFiveMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="true"/>
  <xsd:element id="hubs_CostOfRevenueProfessionalServicesAndOtherMember" name="CostOfRevenueProfessionalServicesAndOtherMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="true"/>
  <xsd:element id="hubs_CostOfSubscriptionRevenuesMember" name="CostOfSubscriptionRevenuesMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="true"/>
  <xsd:element id="hubs_EmployeeRelatedComputerEquipmentMember" name="EmployeeRelatedComputerEquipmentMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="true"/>
  <xsd:element id="hubs_InboundEventObligationsMember" name="InboundEventObligationsMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="true"/>
  <xsd:element id="hubs_OutsideOfAmericasMember" name="OutsideOfAmericasMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="true"/>
  <xsd:element id="hubs_ProductRelatedObligationsMember" name="ProductRelatedObligationsMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="true"/>
  <xsd:element id="hubs_RestOfTheWorldMember" name="RestOfTheWorldMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="true"/>
  <xsd:element id="hubs_StrategicInvestmentsMember" name="StrategicInvestmentsMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="true"/>
  <xsd:element id="hubs_TwoThousandAndTwentyTwoNotesConvertibleNoteHedgesMember" name="TwoThousandAndTwentyTwoNotesConvertibleNoteHedgesMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="true"/>
  <xsd:element id="hubs_USTreasurySecuritiesExcludingCashAndCashEquivalentsMember" name="USTreasurySecuritiesExcludingCashAndCashEquivalentsMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="true"/>
  <xsd:element id="hubs_ZeroPointThreeSevenFivePercentConvertibleSeniorNotesDueTwoThousandTwentyFiveAsEquityComponentMember" name="ZeroPointThreeSevenFivePercentConvertibleSeniorNotesDueTwoThousandTwentyFiveAsEquityComponentMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="true"/>
  <xsd:element id="hubs_ZeroPointThreeSevenFivePercentConvertibleSeniorNotesDueTwoThousandTwentyFiveAsLiabilityComponentMember" name="ZeroPointThreeSevenFivePercentConvertibleSeniorNotesDueTwoThousandTwentyFiveAsLiabilityComponentMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="true"/>
  <xsd:element id="hubs_ZeroPointThreeSevenFivePercentConvertibleSeniorNotesDueTwoThousandTwentyFiveMember" name="ZeroPointThreeSevenFivePercentConvertibleSeniorNotesDueTwoThousandTwentyFiveMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="true"/>
  <xsd:element id="hubs_ZeroPointTwoFivePercentConvertibleSeniorNotesDueTwoThousandTwentyTwoAsEquityComponentMember" name="ZeroPointTwoFivePercentConvertibleSeniorNotesDueTwoThousandTwentyTwoAsEquityComponentMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="true"/>
  <xsd:element id="hubs_ZeroPointTwoFivePercentConvertibleSeniorNotesDueTwoThousandTwentyTwoAsLiabilityComponentMember" name="ZeroPointTwoFivePercentConvertibleSeniorNotesDueTwoThousandTwentyTwoAsLiabilityComponentMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="true"/>
  <xsd:element id="hubs_ZeroPointTwoFivePercentConvertibleSeniorNotesDueTwoThousandTwentyTwoMember" name="ZeroPointTwoFivePercentConvertibleSeniorNotesDueTwoThousandTwentyTwoMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="true"/>
  <xsd:element id="hubs_CommitmentsAndContingenciesTable" name="CommitmentsAndContingenciesTable" type="xbrli:stringItemType" substitutionGroup="xbrldt:hypercubeItem" xbrli:periodType="duration" nillable="true" abstract="true"/>
  <xsd:element id="hubs_ScheduleOfCashAndCashEquivalentsRestrictedCashAndCashEquivalentsTableTextBlock" name="ScheduleOfCashAndCashEquivalentsRestrictedCashAndCashEquivalentsTableTextBlock" type="dtr-types:textBlockItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false"/>
  <xsd:element id="hubs_ScheduleOfInterestExpenseTableTextBlock" name="ScheduleOfInterestExpenseTableTextBlock" type="dtr-types:textBlockItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false"/>
  <xsd:element id="hubs_ScheduleOfOperatingSubleaseIncomeTableTextBlock" name="ScheduleOfOperatingSubleaseIncomeTableTextBlock" type="dtr-types:textBlockItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false"/>
  <xsd:element id="hubs_SummaryOfCapitalizedSoftwareDevelopmentCostsTableTextBlock" name="SummaryOfCapitalizedSoftwareDevelopmentCostsTableTextBlock" type="dtr-types:textBlockItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false"/>
</xsd:schema>
