<?xml version="1.0" encoding="US-ASCII"?>
<!-- DFIN New ActiveDisclosure (SM) XBRL Schema Document - http://www.dfinsolutions.com/ -->
<!-- Creation Date :2023-02-16T11:46:58.7120+00:00 -->
<!-- Copyright (c) 2023 Donnelly Financial Solutions, Inc. All Rights Reserved. -->
<xsd:schema targetNamespace="http://www.hubspot.com/20221231" attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:country="http://xbrl.sec.gov/country/2022" xmlns:dtr-types="http://www.xbrl.org/dtr/type/2020-01-21" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:dei="http://xbrl.sec.gov/dei/2022" xmlns:xbrldt="http://xbrl.org/2005/xbrldt" xmlns:xbrli="http://www.xbrl.org/2003/instance" xmlns:hubs="http://www.hubspot.com/20221231" 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:us-gaap="http://fasb.org/us-gaap/2022" xmlns:xlink="http://www.w3.org/1999/xlink">
  <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://xbrl.sec.gov/country/2022/country-2022.xsd" namespace="http://xbrl.sec.gov/country/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-20221231_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-20221231_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-20221231_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-20221231_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/20221231/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/20221231/taxonomy/role/Role_StatementConsolidatedBalanceSheets" id="Role_StatementConsolidatedBalanceSheets">
        <link:definition>100010 - Statement - 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/20221231/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/20221231/taxonomy/role/Role_StatementConsolidatedBalanceSheetsParenthetical" id="Role_StatementConsolidatedBalanceSheetsParenthetical">
        <link:definition>100030 - Statement - 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/20221231/taxonomy/role/Role_StatementConsolidatedStatementsOfOperations" id="Role_StatementConsolidatedStatementsOfOperations">
        <link:definition>100040 - Statement - 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/20221231/taxonomy/role/Role_StatementConsolidatedStatementsOfComprehensiveLoss" id="Role_StatementConsolidatedStatementsOfComprehensiveLoss">
        <link:definition>100050 - Statement - 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/20221231/taxonomy/role/Role_StatementConsolidatedStatementsOfComprehensiveLossParenthetical" id="Role_StatementConsolidatedStatementsOfComprehensiveLossParenthetical">
        <link:definition>100060 - Statement - 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/20221231/taxonomy/role/Role_StatementConsolidatedStatementsOfStockholdersEquity" id="Role_StatementConsolidatedStatementsOfStockholdersEquity">
        <link:definition>100070 - Statement - 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/20221231/taxonomy/role/Role_StatementConsolidatedStatementsOfStockholdersEquityParenthetical" id="Role_StatementConsolidatedStatementsOfStockholdersEquityParenthetical">
        <link:definition>100080 - Statement - 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/20221231/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlows" id="Role_StatementConsolidatedStatementsOfCashFlows">
        <link:definition>100090 - Statement - 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/20221231/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlowsParenthetical" id="Role_StatementConsolidatedStatementsOfCashFlowsParenthetical">
        <link:definition>100100 - Statement - Consolidated Statements of Cash Flows (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/20221231/taxonomy/role/Role_DisclosureOrganizationAndOperations" id="Role_DisclosureOrganizationAndOperations">
        <link:definition>100110 - 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/20221231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPolicies" id="Role_DisclosureSummaryOfSignificantAccountingPolicies">
        <link:definition>100120 - 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 roleURI="http://www.hubspot.com/20221231/taxonomy/role/Role_DisclosureRevenues" id="Role_DisclosureRevenues">
        <link:definition>100130 - 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/20221231/taxonomy/role/Role_DisclosureLeases" id="Role_DisclosureLeases">
        <link:definition>100140 - 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/20221231/taxonomy/role/Role_DisclosureFairValueOfFinancialInstruments" id="Role_DisclosureFairValueOfFinancialInstruments">
        <link:definition>100150 - 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/20221231/taxonomy/role/Role_DisclosurePropertyAndEquipment" id="Role_DisclosurePropertyAndEquipment">
        <link:definition>100160 - Disclosure - Property and Equipment</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/20221231/taxonomy/role/Role_DisclosureBusinessAcquisitions" id="Role_DisclosureBusinessAcquisitions">
        <link:definition>100170 - Disclosure - Business Acquisitions</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/20221231/taxonomy/role/Role_DisclosureIntangibleAssetsAndGoodwill" id="Role_DisclosureIntangibleAssetsAndGoodwill">
        <link:definition>100180 - Disclosure - Intangible Assets and Goodwill</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/20221231/taxonomy/role/Role_DisclosureConvertibleSeniorNotes" id="Role_DisclosureConvertibleSeniorNotes">
        <link:definition>100190 - 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/20221231/taxonomy/role/Role_DisclosureSegmentInformationAndGeographicData" id="Role_DisclosureSegmentInformationAndGeographicData">
        <link:definition>100200 - 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/20221231/taxonomy/role/Role_DisclosureCommitmentsAndContingencies" id="Role_DisclosureCommitmentsAndContingencies">
        <link:definition>100210 - 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/20221231/taxonomy/role/DisclosureEquityMethodInvestment" id="DisclosureEquityMethodInvestment">
        <link:definition>100220 - Disclosure - Equity method investment</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/20221231/taxonomy/role/Role_DisclosureChangesInAccumulatedOtherComprehensiveLoss" id="Role_DisclosureChangesInAccumulatedOtherComprehensiveLoss">
        <link:definition>100230 - 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/20221231/taxonomy/role/Role_DisclosureStockholdersEquityAndStockBasedCompensation" id="Role_DisclosureStockholdersEquityAndStockBasedCompensation">
        <link:definition>100240 - Disclosure - Stockholders' Equity and Stock-Based Compensation</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/20221231/taxonomy/role/Role_DisclosureIncomeTaxes" id="Role_DisclosureIncomeTaxes">
        <link:definition>100250 - Disclosure - Income Taxes</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/20221231/taxonomy/role/Role_DisclosureEmployeeBenefitPlan" id="Role_DisclosureEmployeeBenefitPlan">
        <link:definition>100260 - Disclosure - Employee Benefit 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 roleURI="http://www.hubspot.com/20221231/taxonomy/role/DisclosureSubsequentEvents1" id="DisclosureSubsequentEvents1">
        <link:definition>100270 - 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 roleURI="http://www.hubspot.com/20221231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesPolicies" id="Role_DisclosureSummaryOfSignificantAccountingPoliciesPolicies">
        <link:definition>100280 - 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 roleURI="http://www.hubspot.com/20221231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesTables" id="Role_DisclosureSummaryOfSignificantAccountingPoliciesTables">
        <link:definition>100290 - Disclosure - Summary of Significant Accounting Policies (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/20221231/taxonomy/role/Role_DisclosureLeasesTables" id="Role_DisclosureLeasesTables">
        <link:definition>100300 - 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/20221231/taxonomy/role/Role_DisclosureFairValueOfFinancialInstrumentsTables" id="Role_DisclosureFairValueOfFinancialInstrumentsTables">
        <link:definition>100310 - 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/20221231/taxonomy/role/Role_DisclosurePropertyAndEquipmentTables" id="Role_DisclosurePropertyAndEquipmentTables">
        <link:definition>100320 - Disclosure - Property and Equipment (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/20221231/taxonomy/role/Role_DisclosureBusinessAcquisitionsTables" id="Role_DisclosureBusinessAcquisitionsTables">
        <link:definition>100330 - Disclosure - Business Acquisitions (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/20221231/taxonomy/role/Role_DisclosureIntangibleAssetsAndGoodwillTables" id="Role_DisclosureIntangibleAssetsAndGoodwillTables">
        <link:definition>100340 - Disclosure - Intangible Assets and Goodwill (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/20221231/taxonomy/role/Role_DisclosureConvertibleSeniorNotesTables" id="Role_DisclosureConvertibleSeniorNotesTables">
        <link:definition>100350 - 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/20221231/taxonomy/role/Role_DisclosureSegmentInformationAndGeographicDataTables" id="Role_DisclosureSegmentInformationAndGeographicDataTables">
        <link:definition>100360 - 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/20221231/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesTables" id="Role_DisclosureCommitmentsAndContingenciesTables">
        <link:definition>100370 - 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/20221231/taxonomy/role/Role_DisclosureChangesInAccumulatedOtherComprehensiveLossTables" id="Role_DisclosureChangesInAccumulatedOtherComprehensiveLossTables">
        <link:definition>100380 - 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/20221231/taxonomy/role/Role_DisclosureStockholdersEquityAndStockBasedCompensationTables" id="Role_DisclosureStockholdersEquityAndStockBasedCompensationTables">
        <link:definition>100390 - Disclosure - Stockholders' Equity and Stock-Based Compensation (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/20221231/taxonomy/role/Role_DisclosureIncomeTaxesTables" id="Role_DisclosureIncomeTaxesTables">
        <link:definition>100400 - Disclosure - Income Taxes (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/20221231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetail" id="Role_DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetail">
        <link:definition>100410 - Disclosure - Summary of Significant Accounting Policies - 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/20221231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesSummaryOfReconciliationOfDenominatorUsedInCalculationOfBasicAndDilutedLossPerShareDetail" id="Role_DisclosureSummaryOfSignificantAccountingPoliciesSummaryOfReconciliationOfDenominatorUsedInCalculationOfBasicAndDilutedLossPerShareDetail">
        <link:definition>100420 - Disclosure - Summary of Significant Accounting Policies - Summary of Reconciliation of Denominator Used in Calculation of Basic and Diluted 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/20221231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesScheduleOfPotentiallyDilutiveCommonStockEquivalentsDetail" id="Role_DisclosureSummaryOfSignificantAccountingPoliciesScheduleOfPotentiallyDilutiveCommonStockEquivalentsDetail">
        <link:definition>100430 - Disclosure - Summary of Significant Accounting Policies - 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/20221231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesScheduleOfRollForwardOfCompanySAllowanceForDoubtfulAccountsDetail" id="Role_DisclosureSummaryOfSignificantAccountingPoliciesScheduleOfRollForwardOfCompanySAllowanceForDoubtfulAccountsDetail">
        <link:definition>100440 - Disclosure - Summary of Significant Accounting Policies - Schedule of Roll Forward of Company's Allowance for Doubtful Accounts (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/20221231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesSummaryOfReconciliationOfCashCashEquivalentsAndRestrictedCashDetail" id="Role_DisclosureSummaryOfSignificantAccountingPoliciesSummaryOfReconciliationOfCashCashEquivalentsAndRestrictedCashDetail">
        <link:definition>100450 - Disclosure - Summary of Significant Accounting Policies - 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/20221231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesScheduleOfPropertyPlantAndEquipmentUsefulLifeDetail" id="Role_DisclosureSummaryOfSignificantAccountingPoliciesScheduleOfPropertyPlantAndEquipmentUsefulLifeDetail">
        <link:definition>100460 - Disclosure - Summary of Significant Accounting Policies - Schedule of Property Plant and Equipment Useful Life (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/20221231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesSummaryOfCapitalizedSoftwareDevelopmentCostsExclusiveOfThoseCostsRecordedWithinPropertyAndEquipmentDetail" id="Role_DisclosureSummaryOfSignificantAccountingPoliciesSummaryOfCapitalizedSoftwareDevelopmentCostsExclusiveOfThoseCostsRecordedWithinPropertyAndEquipmentDetail">
        <link:definition>100470 - Disclosure - Summary of Significant Accounting Policies - Summary of Capitalized Software Development Costs, Exclusive of those Costs 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/20221231/taxonomy/role/Role_DisclosureRevenuesAdditionalInformationDetail" id="Role_DisclosureRevenuesAdditionalInformationDetail">
        <link:definition>100480 - 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/20221231/taxonomy/role/Role_DisclosureRevenuesAdditionalInformation1Detail" id="Role_DisclosureRevenuesAdditionalInformation1Detail">
        <link:definition>100490 - 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/20221231/taxonomy/role/Role_DisclosureLeasesAdditionalInformationDetail" id="Role_DisclosureLeasesAdditionalInformationDetail">
        <link:definition>100500 - 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/20221231/taxonomy/role/Role_DisclosureLeasesScheduleOfOperatingSubleaseIncomeGeneratedUnderOperatingLeaseAgreementsDetail" id="Role_DisclosureLeasesScheduleOfOperatingSubleaseIncomeGeneratedUnderOperatingLeaseAgreementsDetail">
        <link:definition>100510 - 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/20221231/taxonomy/role/Role_DisclosureLeasesSummaryOfReconciliationBetweenNonCancelableLeaseCommitmentsAndLeaseLiabilitiesDetail" id="Role_DisclosureLeasesSummaryOfReconciliationBetweenNonCancelableLeaseCommitmentsAndLeaseLiabilitiesDetail">
        <link:definition>100520 - Disclosure - Leases - Summary of Reconciliation between Non-cancelable Lease Commitments and Lease 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/20221231/taxonomy/role/DisclosureLeasesSummaryOfWeightedAverageRemainingLeaseTermsAndWeightedAverageDiscountRateForOperatingLeasesDetail" id="DisclosureLeasesSummaryOfWeightedAverageRemainingLeaseTermsAndWeightedAverageDiscountRateForOperatingLeasesDetail">
        <link:definition>100530 - Disclosure - Leases - Summary of Weighted Average Remaining Lease Terms and Weighted Average Discount Rate for Operating Leases (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/20221231/taxonomy/role/Role_DisclosureFairValueOfFinancialInstrumentsScheduleOfFairValueOfFinancialAssetsAndLiabilitiesDetail" id="Role_DisclosureFairValueOfFinancialInstrumentsScheduleOfFairValueOfFinancialAssetsAndLiabilitiesDetail">
        <link:definition>100540 - 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/20221231/taxonomy/role/Role_DisclosureFairValueOfFinancialInstrumentsAdditionalInformationDetail" id="Role_DisclosureFairValueOfFinancialInstrumentsAdditionalInformationDetail">
        <link:definition>100550 - 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/20221231/taxonomy/role/Role_DisclosureFairValueOfFinancialInstrumentsSummaryOfCompositionOfShortAndLongTermInvestmentsDetail" id="Role_DisclosureFairValueOfFinancialInstrumentsSummaryOfCompositionOfShortAndLongTermInvestmentsDetail">
        <link:definition>100560 - 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/20221231/taxonomy/role/Role_DisclosureFairValueOfFinancialInstrumentsSummaryOfContractualMaturitiesOfShortAndLongTermInvestmentsDetail" id="Role_DisclosureFairValueOfFinancialInstrumentsSummaryOfContractualMaturitiesOfShortAndLongTermInvestmentsDetail">
        <link:definition>100570 - 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/20221231/taxonomy/role/Role_DisclosurePropertyAndEquipmentScheduleOfPropertyAndEquipmentDetail" id="Role_DisclosurePropertyAndEquipmentScheduleOfPropertyAndEquipmentDetail">
        <link:definition>100580 - Disclosure - Property and Equipment - Schedule of 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/20221231/taxonomy/role/Role_DisclosurePropertyAndEquipmentAdditionalInformationDetail" id="Role_DisclosurePropertyAndEquipmentAdditionalInformationDetail">
        <link:definition>100590 - Disclosure - Property and Equipment - 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/20221231/taxonomy/role/Role_DisclosurePropertyAndEquipmentScheduleOfChangesInAssetRetirementObligationsDetail" id="Role_DisclosurePropertyAndEquipmentScheduleOfChangesInAssetRetirementObligationsDetail">
        <link:definition>100600 - Disclosure - Property and Equipment - Schedule of Changes in Asset Retirement Obligations (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/20221231/taxonomy/role/Role_DisclosureBusinessAcquisitionsAdditionalInformationDetail" id="Role_DisclosureBusinessAcquisitionsAdditionalInformationDetail">
        <link:definition>100610 - Disclosure - Business Acquisitions - 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/20221231/taxonomy/role/Role_DisclosureBusinessAcquisitionsSummaryOfFairValueOfAssetsAcquiredAndLiabilitiesAssumedDetail" id="Role_DisclosureBusinessAcquisitionsSummaryOfFairValueOfAssetsAcquiredAndLiabilitiesAssumedDetail">
        <link:definition>100620 - Disclosure - Business Acquisitions - Summary of Fair Value of Assets Acquired and Liabilities Assumed (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/20221231/taxonomy/role/Role_DisclosureIntangibleAssetsAndGoodwillScheduleOfIntangibleAssetsDetail" id="Role_DisclosureIntangibleAssetsAndGoodwillScheduleOfIntangibleAssetsDetail">
        <link:definition>100630 - Disclosure - Intangible Assets and Goodwill - Schedule of Intangible Assets (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/20221231/taxonomy/role/Role_DisclosureIntangibleAssetsAndGoodwillAdditionalInformationDetail" id="Role_DisclosureIntangibleAssetsAndGoodwillAdditionalInformationDetail">
        <link:definition>100640 - Disclosure - Intangible Assets and Goodwill - 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/20221231/taxonomy/role/Role_DisclosureIntangibleAssetsAndGoodwillEstimatedFutureAmortizationExpenseForIntangibleAssetsDetail" id="Role_DisclosureIntangibleAssetsAndGoodwillEstimatedFutureAmortizationExpenseForIntangibleAssetsDetail">
        <link:definition>100650 - Disclosure - Intangible Assets and Goodwill - Estimated Future Amortization Expense for Intangible Assets (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/20221231/taxonomy/role/Role_DisclosureIntangibleAssetsAndGoodwillScheduleOfChangesInCarryingAmountsOfGoodwillDetail" id="Role_DisclosureIntangibleAssetsAndGoodwillScheduleOfChangesInCarryingAmountsOfGoodwillDetail">
        <link:definition>100660 - Disclosure - Intangible Assets and Goodwill - Schedule of Changes in Carrying Amounts of Goodwill (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/20221231/taxonomy/role/Role_DisclosureConvertibleSeniorNotesAdditionalInformationDetail" id="Role_DisclosureConvertibleSeniorNotesAdditionalInformationDetail">
        <link:definition>100670 - 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/20221231/taxonomy/role/Role_DisclosureConvertibleSeniorNotesScheduleOfNetCarryingAmountOfLiabilityComponentDetail" id="Role_DisclosureConvertibleSeniorNotesScheduleOfNetCarryingAmountOfLiabilityComponentDetail">
        <link:definition>100680 - 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/20221231/taxonomy/role/Role_DisclosureConvertibleSeniorNotesScheduleOfNetCarryingAmountOfEquityComponentDetail" id="Role_DisclosureConvertibleSeniorNotesScheduleOfNetCarryingAmountOfEquityComponentDetail">
        <link:definition>100690 - Disclosure - Convertible Senior Notes - Schedule of Net Carrying Amount of Equity 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/20221231/taxonomy/role/Role_DisclosureConvertibleSeniorNotesScheduleOfInterestExpenseDetail" id="Role_DisclosureConvertibleSeniorNotesScheduleOfInterestExpenseDetail">
        <link:definition>100700 - 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/20221231/taxonomy/role/Role_DisclosureSegmentInformationAndGeographicDataAdditionalInformationDetail" id="Role_DisclosureSegmentInformationAndGeographicDataAdditionalInformationDetail">
        <link:definition>100710 - 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/20221231/taxonomy/role/Role_DisclosureSegmentInformationAndGeographicDataRevenuesByGeographicalRegionDetail" id="Role_DisclosureSegmentInformationAndGeographicDataRevenuesByGeographicalRegionDetail">
        <link:definition>100720 - 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/20221231/taxonomy/role/Role_DisclosureSegmentInformationAndGeographicDataLongLivedAssetsByGeographicalRegionDetail" id="Role_DisclosureSegmentInformationAndGeographicDataLongLivedAssetsByGeographicalRegionDetail">
        <link:definition>100730 - 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>
      <link:roleType roleURI="http://www.hubspot.com/20221231/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesAdditionalInformationDetail" id="Role_DisclosureCommitmentsAndContingenciesAdditionalInformationDetail">
        <link:definition>100740 - 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/20221231/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesScheduleOfFutureMinimumPaymentsDetail" id="Role_DisclosureCommitmentsAndContingenciesScheduleOfFutureMinimumPaymentsDetail">
        <link:definition>100750 - 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/20221231/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesScheduleOfFutureMinimumPaymentsUnderVendorCommitmentsDetail" id="Role_DisclosureCommitmentsAndContingenciesScheduleOfFutureMinimumPaymentsUnderVendorCommitmentsDetail">
        <link:definition>100760 - Disclosure - Commitments and Contingencies - Schedule of Future Minimum Payments Under Vendor Commitments (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/20221231/taxonomy/role/DisclosureEquityMethodInvestmentAdditionalInformationDetail" id="DisclosureEquityMethodInvestmentAdditionalInformationDetail">
        <link:definition>100770 - Disclosure - Equity Method Investment - 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/20221231/taxonomy/role/Role_DisclosureChangesInAccumulatedOtherComprehensiveLossChangesInAccumulatedOtherComprehensiveLossDetail" id="Role_DisclosureChangesInAccumulatedOtherComprehensiveLossChangesInAccumulatedOtherComprehensiveLossDetail">
        <link:definition>100780 - 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/20221231/taxonomy/role/Role_DisclosureStockholdersEquityAndStockBasedCompensationAdditionalInformationDetail" id="Role_DisclosureStockholdersEquityAndStockBasedCompensationAdditionalInformationDetail">
        <link:definition>100790 - Disclosure - Stockholders' Equity and Stock-Based Compensation - 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/20221231/taxonomy/role/Role_DisclosureStockholdersEquityAndStockBasedCompensationSummaryOfNumberOfSharesOfCommonStockReservedDetail" id="Role_DisclosureStockholdersEquityAndStockBasedCompensationSummaryOfNumberOfSharesOfCommonStockReservedDetail">
        <link:definition>100800 - Disclosure - Stockholders' Equity and Stock-Based Compensation - Summary of Number of Shares of Common Stock Reserved (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/20221231/taxonomy/role/Role_DisclosureStockholdersEquityAndStockBasedCompensationScheduleOfStockCompensationExpenseByAwardTypeDetail" id="Role_DisclosureStockholdersEquityAndStockBasedCompensationScheduleOfStockCompensationExpenseByAwardTypeDetail">
        <link:definition>100810 - Disclosure - Stockholders' Equity and Stock-Based Compensation - Schedule of Stock 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/20221231/taxonomy/role/Role_DisclosureStockholdersEquityAndStockBasedCompensationEffectOfStockBasedCompensationOnIncomeByLineItemDetail" id="Role_DisclosureStockholdersEquityAndStockBasedCompensationEffectOfStockBasedCompensationOnIncomeByLineItemDetail">
        <link:definition>100820 - Disclosure - Stockholders' Equity and Stock-Based Compensation - 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/20221231/taxonomy/role/Role_DisclosureStockholdersEquityAndStockBasedCompensationScheduleOfAssumptionsUsedForEstimationOfFairValueOfOptionsGrantedToEmployeesDetail" id="Role_DisclosureStockholdersEquityAndStockBasedCompensationScheduleOfAssumptionsUsedForEstimationOfFairValueOfOptionsGrantedToEmployeesDetail">
        <link:definition>100830 - Disclosure - Stockholders' Equity and Stock-Based Compensation - Schedule of Assumptions Used for Estimation of Fair Value of Options Granted to Employees (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/20221231/taxonomy/role/Role_DisclosureStockholdersEquityAndStockBasedCompensationSummaryOfStockOptionActivityDetail" id="Role_DisclosureStockholdersEquityAndStockBasedCompensationSummaryOfStockOptionActivityDetail">
        <link:definition>100840 - Disclosure - Stockholders' Equity and Stock-Based Compensation - Summary of Stock Option Activity (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/20221231/taxonomy/role/Role_DisclosureStockholdersEquityAndStockBasedCompensationSummaryOfActivityRelatedToRsusDetail" id="Role_DisclosureStockholdersEquityAndStockBasedCompensationSummaryOfActivityRelatedToRsusDetail">
        <link:definition>100850 - Disclosure - Stockholders' Equity and Stock-Based Compensation - Summary of Activity Related to RSUs (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/20221231/taxonomy/role/Role_DisclosureStockholdersEquityAndStockBasedCompensationScheduleOfAssumptionsUsedForEstimationOfFairValueOfEmployeeOptionsDetail" id="Role_DisclosureStockholdersEquityAndStockBasedCompensationScheduleOfAssumptionsUsedForEstimationOfFairValueOfEmployeeOptionsDetail">
        <link:definition>100860 - Disclosure - Stockholders' Equity and Stock-Based Compensation - Schedule of Assumptions Used for Estimation of Fair Value of Employee Options (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/20221231/taxonomy/role/Role_DisclosureStockholdersEquityAndStockBasedCompensationSummaryOfActivityRelatedToEmployeeStockPurchasePlanDetail" id="Role_DisclosureStockholdersEquityAndStockBasedCompensationSummaryOfActivityRelatedToEmployeeStockPurchasePlanDetail">
        <link:definition>100870 - Disclosure - Stockholders' Equity and Stock-Based Compensation - Summary of Activity Related to Employee Stock Purchase Plan (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/20221231/taxonomy/role/Role_DisclosureIncomeTaxesScheduleOfLossBeforeProvisionForIncomeTaxesDetail" id="Role_DisclosureIncomeTaxesScheduleOfLossBeforeProvisionForIncomeTaxesDetail">
        <link:definition>100880 - Disclosure - Income Taxes - Schedule of Loss Before Provision for Income Taxes (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/20221231/taxonomy/role/Role_DisclosureIncomeTaxesComponentsOfIncomeTaxProvisionBenefitDetail" id="Role_DisclosureIncomeTaxesComponentsOfIncomeTaxProvisionBenefitDetail">
        <link:definition>100890 - Disclosure - Income Taxes - Components of Income Tax (Provision) Benefit (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/20221231/taxonomy/role/Role_DisclosureIncomeTaxesAdditionalInformationDetail" id="Role_DisclosureIncomeTaxesAdditionalInformationDetail">
        <link:definition>100900 - Disclosure - Income Taxes - 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/20221231/taxonomy/role/Role_DisclosureIncomeTaxesScheduleOfDifferencesBetweenIncomeTaxesComputedAtFederalStatutoryRateAndProvisionForIncomeTaxesDetail" id="Role_DisclosureIncomeTaxesScheduleOfDifferencesBetweenIncomeTaxesComputedAtFederalStatutoryRateAndProvisionForIncomeTaxesDetail">
        <link:definition>100910 - Disclosure - Income Taxes - Schedule of Differences Between Income Taxes Computed at the Federal Statutory Rate and the Provision for Income Taxes (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/20221231/taxonomy/role/Role_DisclosureIncomeTaxesComponentsOfCompanySDeferredTaxAssetsAndLiabilitiesDetail" id="Role_DisclosureIncomeTaxesComponentsOfCompanySDeferredTaxAssetsAndLiabilitiesDetail">
        <link:definition>100920 - Disclosure - Income Taxes - Components of the Company's Deferred Tax 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/20221231/taxonomy/role/Role_DisclosureIncomeTaxesSummaryOfActivityRelatedToUnrecognizedTaxBenefitsDetail" id="Role_DisclosureIncomeTaxesSummaryOfActivityRelatedToUnrecognizedTaxBenefitsDetail">
        <link:definition>100930 - Disclosure - Income Taxes - Summary of Activity Related to Unrecognized Tax Benefits (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/20221231/taxonomy/role/Role_DisclosureEmployeeBenefitPlanAdditionalInformationDetail" id="Role_DisclosureEmployeeBenefitPlanAdditionalInformationDetail">
        <link:definition>100940 - Disclosure - Employee Benefit Plan - 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/20221231/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetail" id="DisclosureSubsequentEventsAdditionalInformationDetail">
        <link:definition>100950 - Disclosure - Subsequent Events - 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>
    </xsd:appinfo>
  </xsd:annotation>
  <xsd:element id="hubs_IntangibleLiabilityDisclosureAbstract" name="IntangibleLiabilityDisclosureAbstract" type="xbrli:stringItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="true"/>
  <xsd:element id="hubs_RegulatoryAssetsAbstract" name="RegulatoryAssetsAbstract" type="xbrli:stringItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="true"/>
  <xsd:element id="hubs_StockholdersEquityAndStockBasedCompensationAbstract" name="StockholdersEquityAndStockBasedCompensationAbstract" type="xbrli:stringItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="true"/>
  <xsd:element id="hubs_AccountsReceivablePaymentPeriod" name="AccountsReceivablePaymentPeriod" type="xbrli:durationItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false"/>
  <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_BusinessCombinationMeasurementPeriod" name="BusinessCombinationMeasurementPeriod" type="xbrli:durationItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false"/>
  <xsd:element id="hubs_BusinessCombinationPotentialConsideration" name="BusinessCombinationPotentialConsideration" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="instant" nillable="true" abstract="false" xbrli:balance="credit"/>
  <xsd:element id="hubs_BusinessCombinationPotentialConsiderationRecordingPeriod" name="BusinessCombinationPotentialConsiderationRecordingPeriod" type="xbrli:durationItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false"/>
  <xsd:element id="hubs_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAccountsPayableAndAccruedExpensesAndOtherLiabilities" name="BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAccountsPayableAndAccruedExpensesAndOtherLiabilities" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="instant" nillable="true" abstract="false" xbrli:balance="credit"/>
  <xsd:element id="hubs_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentBacklogAsset" name="BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentBacklogAsset" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="instant" nillable="true" abstract="false" xbrli:balance="debit"/>
  <xsd:element id="hubs_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCustomerRelationships" name="BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCustomerRelationships" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="instant" nillable="true" abstract="false" xbrli:balance="debit"/>
  <xsd:element id="hubs_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherCurrentAndNonCurrentAssets" name="BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherCurrentAndNonCurrentAssets" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="instant" nillable="true" abstract="false" xbrli:balance="debit"/>
  <xsd:element id="hubs_CashAndCashEquivalentsMaturityDescription" name="CashAndCashEquivalentsMaturityDescription" type="xbrli:stringItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false"/>
  <xsd:element id="hubs_ClassOfWarrantOrRightShareSettledAndIssued" name="ClassOfWarrantOrRightShareSettledAndIssued" type="xbrli:sharesItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false"/>
  <xsd:element id="hubs_ClassOfWarrantOrRightWarrantExercised" name="ClassOfWarrantOrRightWarrantExercised" type="xbrli:sharesItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false"/>
  <xsd:element id="hubs_CommitmentsToContributeAdditionalCapital" name="CommitmentsToContributeAdditionalCapital" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="instant" nillable="true" abstract="false" xbrli:balance="debit"/>
  <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_ConvertibleNotesHedgeAndWarrantTransactionsCostNet" name="ConvertibleNotesHedgeAndWarrantTransactionsCostNet" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false" xbrli:balance="debit"/>
  <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_CumulativeAdjustmentFromAdoptionOfRevenueRecognitionStandard" name="CumulativeAdjustmentFromAdoptionOfRevenueRecognitionStandard" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false" xbrli:balance="credit"/>
  <xsd:element id="hubs_DebtInstrumentAggregateConsideration" name="DebtInstrumentAggregateConsideration" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false" xbrli:balance="credit"/>
  <xsd:element id="hubs_DebtInstrumentAggregatePurchasePrice" name="DebtInstrumentAggregatePurchasePrice" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="instant" nillable="true" abstract="false" xbrli:balance="credit"/>
  <xsd:element id="hubs_DebtInstrumentCashConsiderationForConversion" name="DebtInstrumentCashConsiderationForConversion" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false" xbrli:balance="credit"/>
  <xsd:element id="hubs_DebtInstrumentConvertibleCarryingAmountOfLiabilityComponent" name="DebtInstrumentConvertibleCarryingAmountOfLiabilityComponent" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false" xbrli:balance="credit"/>
  <xsd:element id="hubs_DebtInstrumentConvertibleCarryingAmountOfTheEquityComponentShare" name="DebtInstrumentConvertibleCarryingAmountOfTheEquityComponentShare" type="xbrli:sharesItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false"/>
  <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_DebtInstrumentConvertibleGrossCarryingAmountOfTheEquityComponent" name="DebtInstrumentConvertibleGrossCarryingAmountOfTheEquityComponent" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="instant" nillable="true" abstract="false" xbrli:balance="credit"/>
  <xsd:element id="hubs_DebtInstrumentConvertiblePrincipalAmountOfLiabilityComponent" name="DebtInstrumentConvertiblePrincipalAmountOfLiabilityComponent" 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_DebtInstrumentConvertibleToCommonStockForCashConsideration" name="DebtInstrumentConvertibleToCommonStockForCashConsideration" type="xbrli:sharesItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false"/>
  <xsd:element id="hubs_DebtInstrumentConvertibleToCommonStockForCashPayment" name="DebtInstrumentConvertibleToCommonStockForCashPayment" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false" xbrli:balance="debit"/>
  <xsd:element id="hubs_DebtInstrumentConvertibleToCommonStockValuePerShare" name="DebtInstrumentConvertibleToCommonStockValuePerShare" type="dtr-types:perShareItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false"/>
  <xsd:element id="hubs_DeferredTaxAssetsCapitalizedSoftwareDevelopment" name="DeferredTaxAssetsCapitalizedSoftwareDevelopment" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="instant" nillable="true" abstract="false" xbrli:balance="debit"/>
  <xsd:element id="hubs_DeferredTaxAssetsInterestExpense" name="DeferredTaxAssetsInterestExpense" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="instant" nillable="true" abstract="false" xbrli:balance="debit"/>
  <xsd:element id="hubs_DeferredTaxAssetsInterestExpenseCarryforward" name="DeferredTaxAssetsInterestExpenseCarryforward" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="instant" nillable="true" abstract="false" xbrli:balance="debit"/>
  <xsd:element id="hubs_DeferredTaxLiabilitiesConvertibleDebt" name="DeferredTaxLiabilitiesConvertibleDebt" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="instant" nillable="true" abstract="false" xbrli:balance="credit"/>
  <xsd:element id="hubs_DeferredTaxLiabilitiesDepreciation" name="DeferredTaxLiabilitiesDepreciation" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="instant" nillable="true" abstract="false" xbrli:balance="credit"/>
  <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_EmployeeReductionPercentage" name="EmployeeReductionPercentage" type="dtr-types:percentItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false"/>
  <xsd:element id="hubs_FiniteLivedIntangibleAssetsFutureAmortizationExpense" name="FiniteLivedIntangibleAssetsFutureAmortizationExpense" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="instant" nillable="true" abstract="false" xbrli:balance="debit"/>
  <xsd:element id="hubs_GoodwillMeasurementPeriodAdjustment" name="GoodwillMeasurementPeriodAdjustment" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false" xbrli:balance="debit"/>
  <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_ImpairmentOfStrategicInvestments" name="ImpairmentOfStrategicInvestments" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false" xbrli:balance="debit"/>
  <xsd:element id="hubs_ImpairmentsOfInvestments" name="ImpairmentsOfInvestments" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false" xbrli:balance="debit"/>
  <xsd:element id="hubs_IncomeTaxReconciliationAcquisition" name="IncomeTaxReconciliationAcquisition" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false" xbrli:balance="credit"/>
  <xsd:element id="hubs_IncomeTaxReconciliationForeignWithholdingTaxes" name="IncomeTaxReconciliationForeignWithholdingTaxes" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false" xbrli:balance="debit"/>
  <xsd:element id="hubs_IncomeTaxReconciliationTaxCutsAndJobsActOf2017GlobalIntangibleLowTaxedIncomeInclusion" name="IncomeTaxReconciliationTaxCutsAndJobsActOf2017GlobalIntangibleLowTaxedIncomeInclusion" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false" xbrli:balance="debit"/>
  <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_InvestmentCommitments" name="InvestmentCommitments" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="instant" 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_LesseeOperatingLeaseCommitmentsNotYetCommenced" name="LesseeOperatingLeaseCommitmentsNotYetCommenced" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false" xbrli:balance="debit"/>
  <xsd:element id="hubs_LesseeOperatingLeaseLegallyBindingMinimumLeasePaymentsForLeasesSignedButNotYetCommenced" name="LesseeOperatingLeaseLegallyBindingMinimumLeasePaymentsForLeasesSignedButNotYetCommenced" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="instant" nillable="true" abstract="false" xbrli:balance="credit"/>
  <xsd:element id="hubs_MinimumTaxBenefitLikelyOfBeingRealizedUponUltimateSettlementWithTaxAuthorityPercentage" name="MinimumTaxBenefitLikelyOfBeingRealizedUponUltimateSettlementWithTaxAuthorityPercentage" type="dtr-types:percentItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false"/>
  <xsd:element id="hubs_NetGainLossOnDisposalOfFixedAssetsAndGainOnTerminalOfLeases" name="NetGainLossOnDisposalOfFixedAssetsAndGainOnTerminalOfLeases" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false" xbrli:balance="credit"/>
  <xsd:element id="hubs_NotesHedgesExpectedToSettleDescription" name="NotesHedgesExpectedToSettleDescription" type="xbrli:stringItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false"/>
  <xsd:element id="hubs_NumberOfCommonSharesToBeRepurchasedUnderConvertibleNoteHedgeTransactions" name="NumberOfCommonSharesToBeRepurchasedUnderConvertibleNoteHedgeTransactions" type="xbrli:sharesItemType" substitutionGroup="xbrli:item" xbrli:periodType="instant" nillable="true" abstract="false"/>
  <xsd:element id="hubs_NumberOfCustomers" name="NumberOfCustomers" type="xbrli:integerItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false"/>
  <xsd:element id="hubs_OperatingLossCarryforwardsBeginToExpirationYear" name="OperatingLossCarryforwardsBeginToExpirationYear" type="xbrli:gYearItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false"/>
  <xsd:element id="hubs_OperatingLossCarryForwardsPeriod" name="OperatingLossCarryForwardsPeriod" type="xbrli:durationItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false"/>
  <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_PaymentsForCappedCallOptionsRelatedToConvertibleSeniorNotes" name="PaymentsForCappedCallOptionsRelatedToConvertibleSeniorNotes" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false" xbrli:balance="credit"/>
  <xsd:element id="hubs_PaymentsForCappedCallsAndTransactionsCosts" name="PaymentsForCappedCallsAndTransactionsCosts" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false" xbrli:balance="credit"/>
  <xsd:element id="hubs_PaymentsToAcquireBusinessesWorkingCapitalAdjustment" name="PaymentsToAcquireBusinessesWorkingCapitalAdjustment" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false" xbrli:balance="credit"/>
  <xsd:element id="hubs_PaymentsToAcquireBusinessesWorkingCapitalSettlement" name="PaymentsToAcquireBusinessesWorkingCapitalSettlement" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false" xbrli:balance="credit"/>
  <xsd:element id="hubs_PercentageOfDiscountToEmployeesOnPurchaseOfCommonStockUnderEmployeeStockPurchasePlan" name="PercentageOfDiscountToEmployeesOnPurchaseOfCommonStockUnderEmployeeStockPurchasePlan" type="dtr-types:percentItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false"/>
  <xsd:element id="hubs_PercentageOfServiceAgreementPayment" name="PercentageOfServiceAgreementPayment" type="dtr-types:percentItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false"/>
  <xsd:element id="hubs_ProceedsFromSaleOfStrategicInvestments" name="ProceedsFromSaleOfStrategicInvestments" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false" xbrli:balance="debit"/>
  <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_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_RestructuringAndRelatedActivitiesCompletionYear" name="RestructuringAndRelatedActivitiesCompletionYear" type="xbrli:gYearItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false"/>
  <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_RevenueSubscriptionContractPeriod" name="RevenueSubscriptionContractPeriod" type="xbrli:stringItemType" 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_RightOfUseAssetReductionsRelatedToOperatingLeaseTerminations" name="RightOfUseAssetReductionsRelatedToOperatingLeaseTerminations" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false" xbrli:balance="credit"/>
  <xsd:element id="hubs_ServiceAgreementMaturityTerm" name="ServiceAgreementMaturityTerm" type="xbrli:durationItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false"/>
  <xsd:element id="hubs_SettlementOfWarrantsAmount" name="SettlementOfWarrantsAmount" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false" xbrli:balance="credit"/>
  <xsd:element id="hubs_SettlementOfWarrantsShares" name="SettlementOfWarrantsShares" type="xbrli:sharesItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false"/>
  <xsd:element id="hubs_SettlementPeriodOfWarrantsExcessPriceOverStrikePrice" name="SettlementPeriodOfWarrantsExcessPriceOverStrikePrice" type="xbrli:durationItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false"/>
  <xsd:element id="hubs_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsExpectedToVestIntrinsicValue" name="ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsExpectedToVestIntrinsicValue" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="instant" nillable="true" abstract="false" xbrli:balance="debit"/>
  <xsd:element id="hubs_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsExpectedToVestNumber" name="ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsExpectedToVestNumber" type="xbrli:sharesItemType" substitutionGroup="xbrli:item" xbrli:periodType="instant" nillable="true" abstract="false"/>
  <xsd:element id="hubs_ShareBasedCompensationArrangementByShareBasedPaymentAwardServiceAgreementPeriodDescription" name="ShareBasedCompensationArrangementByShareBasedPaymentAwardServiceAgreementPeriodDescription" type="xbrli:stringItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false"/>
  <xsd:element id="hubs_StockBasedCompensationExpenseRecorded" name="StockBasedCompensationExpenseRecorded" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false" xbrli:balance="debit"/>
  <xsd:element id="hubs_StockIssuanceCosts" name="StockIssuanceCosts" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false" xbrli:balance="debit"/>
  <xsd:element id="hubs_TaxCreditCarryforwardBeginToExpirationYear" name="TaxCreditCarryforwardBeginToExpirationYear" type="xbrli:gYearItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false"/>
  <xsd:element id="hubs_TaxCutAndJobsActOf2017NetOperatingLossesIndefiniteCarrforward" name="TaxCutAndJobsActOf2017NetOperatingLossesIndefiniteCarrforward" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="instant" nillable="true" abstract="false" xbrli:balance="debit"/>
  <xsd:element id="hubs_TaxesPaidRelatedToNetShareShareSettlementOfEquityAwards" name="TaxesPaidRelatedToNetShareShareSettlementOfEquityAwards" type="xbrli:sharesItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false"/>
  <xsd:element id="hubs_TaxesPaidRelatedToNetShareValueSettlementOfEquityAwards" name="TaxesPaidRelatedToNetShareValueSettlementOfEquityAwards" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false" xbrli:balance="debit"/>
  <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_ReconciliationOfIncomeTaxesLineItems" name="ReconciliationOfIncomeTaxesLineItems" type="xbrli:stringItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="true"/>
  <xsd:element id="hubs_ScheduleOfAccountingPoliciesLineItems" name="ScheduleOfAccountingPoliciesLineItems" 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_BlackEconomicDevelopmentFundMember" name="BlackEconomicDevelopmentFundMember" 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_ConvertibleSeniorNotesRelatedToHedgesDueTwoThousandTwentyTwoMember" name="ConvertibleSeniorNotesRelatedToHedgesDueTwoThousandTwentyTwoMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="true"/>
  <xsd:element id="hubs_CostOfServicesRevenueMember" name="CostOfServicesRevenueMember" 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_DevelopedTechnologyMember" name="DevelopedTechnologyMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="true"/>
  <xsd:element id="hubs_DomainNameMember" name="DomainNameMember" 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_EquityComponentMember" name="EquityComponentMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="true"/>
  <xsd:element id="hubs_HustleConMediaIncMember" name="HustleConMediaIncMember" 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_LiabilityComponentMember" name="LiabilityComponentMember" 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_PieSyncNVMember" name="PieSyncNVMember" 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_TwoThousandAndFourteenEquityIncentivePlanMember" name="TwoThousandAndFourteenEquityIncentivePlanMember" 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_TwoThousandAndTwentyTwoNotesPartialRepurchaseMember" name="TwoThousandAndTwentyTwoNotesPartialRepurchaseMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="true"/>
  <xsd:element id="hubs_TwoThousandSevenEquityIncentivePlanMember" name="TwoThousandSevenEquityIncentivePlanMember" 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_ZeroPointTwoFivePercentConvertibleSeniorNotesDueTwoThousandTwentyTwoAsNetEquityImpactMember" name="ZeroPointTwoFivePercentConvertibleSeniorNotesDueTwoThousandTwentyTwoAsNetEquityImpactMember" 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_ReconciliationOfIncomeTaxesTable" name="ReconciliationOfIncomeTaxesTable" type="xbrli:stringItemType" substitutionGroup="xbrldt:hypercubeItem" xbrli:periodType="duration" nillable="true" abstract="true"/>
  <xsd:element id="hubs_ScheduleOfAccountingPoliciesTable" name="ScheduleOfAccountingPoliciesTable" 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:element id="hubs_CapitalizedSoftwareDevelopmentCostsPolicyPolicyTextBlock" name="CapitalizedSoftwareDevelopmentCostsPolicyPolicyTextBlock" type="dtr-types:textBlockItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false"/>
  <xsd:element id="hubs_CommonStockReservedForConversionAndIncentivePlansTableTextBlock" name="CommonStockReservedForConversionAndIncentivePlansTableTextBlock" type="dtr-types:textBlockItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false"/>
  <xsd:element id="hubs_ComponentsOfNetEquityImpactOnAdditionalPaidInCapitalTableTextBlock" name="ComponentsOfNetEquityImpactOnAdditionalPaidInCapitalTableTextBlock" type="dtr-types:textBlockItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false"/>
  <xsd:element id="hubs_PropertyAndEquipmentExpectedUsefulLifeTableTextBlock" name="PropertyAndEquipmentExpectedUsefulLifeTableTextBlock" type="dtr-types:textBlockItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false"/>
  <xsd:element id="hubs_StrategicInvestmentsPolicyTextBlock" name="StrategicInvestmentsPolicyTextBlock" type="dtr-types:textBlockItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false"/>
  <xsd:element id="hubs_SummaryOfReconciliationBetweenNonCancelableLeaseCommitmentsAndLeaseLiabilitiesTableTextBlock" name="SummaryOfReconciliationBetweenNonCancelableLeaseCommitmentsAndLeaseLiabilitiesTableTextBlock" type="dtr-types:textBlockItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false"/>
  <xsd:element id="hubs_SummaryOfWeightedAverageRemainingLeaseTermsAndWeightedAverageDiscountRateForOperatingAndFinanceLeasesTableTextBlock" name="SummaryOfWeightedAverageRemainingLeaseTermsAndWeightedAverageDiscountRateForOperatingAndFinanceLeasesTableTextBlock" type="dtr-types:textBlockItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false"/>
  <xsd:element id="hubs_SummaryOfWeightedAverageRemainingLeaseTermsAndWeightedAverageDiscountRateForOperatingLeasesTableTextBlock" name="SummaryOfWeightedAverageRemainingLeaseTermsAndWeightedAverageDiscountRateForOperatingLeasesTableTextBlock" type="dtr-types:textBlockItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false"/>
</xsd:schema>
