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

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2024 Workiva-->
<!--r:946d6cc2-6fee-42d7-8b15-759d67ded01f,g:4002784a-4397-4e58-a219-d3647aec192b-->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:iot="http://www.samsara.com/20241102" xmlns:xbrli="http://www.xbrl.org/2003/instance" xmlns:dtr-types1="http://www.xbrl.org/dtr/type/2020-01-21" xmlns:xbrldt="http://xbrl.org/2005/xbrldt" xmlns:dtr-types="http://www.xbrl.org/dtr/type/2022-03-31" attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://www.samsara.com/20241102">
  <xs:import namespace="http://fasb.org/srt/2024" schemaLocation="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd"/>
  <xs:import namespace="http://fasb.org/us-gaap/2024" schemaLocation="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd"/>
  <xs:import namespace="http://www.xbrl.org/2003/instance" schemaLocation="http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd"/>
  <xs:import namespace="http://www.xbrl.org/2003/linkbase" schemaLocation="http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd"/>
  <xs:import namespace="http://www.xbrl.org/dtr/type/2020-01-21" schemaLocation="https://www.xbrl.org/dtr/type/2020-01-21/types.xsd"/>
  <xs:import namespace="http://www.xbrl.org/dtr/type/2022-03-31" schemaLocation="https://www.xbrl.org/dtr/type/2022-03-31/types.xsd"/>
  <xs:import namespace="http://xbrl.org/2005/xbrldt" schemaLocation="http://www.xbrl.org/2005/xbrldt-2005.xsd"/>
  <xs:import namespace="http://xbrl.sec.gov/country/2024" schemaLocation="https://xbrl.sec.gov/country/2024/country-2024.xsd"/>
  <xs:import namespace="http://xbrl.sec.gov/dei/2024" schemaLocation="https://xbrl.sec.gov/dei/2024/dei-2024.xsd"/>
  <xs:import namespace="http://xbrl.sec.gov/ecd/2024" schemaLocation="https://xbrl.sec.gov/ecd/2024/ecd-2024.xsd"/>
  <xs:annotation>
    <xs:appinfo>
      <link:linkbaseRef xmlns:xlink="http://www.w3.org/1999/xlink" xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase" xlink:href="iot-20241102_pre.xml" xlink:role="http://www.xbrl.org/2003/role/presentationLinkbaseRef" xlink:type="simple"/>
      <link:linkbaseRef xmlns:xlink="http://www.w3.org/1999/xlink" xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase" xlink:href="iot-20241102_def.xml" xlink:role="http://www.xbrl.org/2003/role/definitionLinkbaseRef" xlink:type="simple"/>
      <link:linkbaseRef xmlns:xlink="http://www.w3.org/1999/xlink" xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase" xlink:href="iot-20241102_lab.xml" xlink:role="http://www.xbrl.org/2003/role/labelLinkbaseRef" xlink:type="simple"/>
      <link:linkbaseRef xmlns:xlink="http://www.w3.org/1999/xlink" xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase" xlink:href="iot-20241102_cal.xml" xlink:role="http://www.xbrl.org/2003/role/calculationLinkbaseRef" xlink:type="simple"/>
      <link:roleType id="Cover" roleURI="http://www.samsara.com/role/Cover">
        <link:definition>0000001 - Document - Cover</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="CONDENSEDCONSOLIDATEDBALANCESHEETS" roleURI="http://www.samsara.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETS">
        <link:definition>9952151 - Statement - CONDENSED 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 id="CONDENSEDCONSOLIDATEDBALANCESHEETSParenthetical" roleURI="http://www.samsara.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETSParenthetical">
        <link:definition>9952152 - Statement - CONDENSED 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 id="CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS" roleURI="http://www.samsara.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS">
        <link:definition>9952153 - Statement - CONDENSED CONSOLIDATED STATEMENTS OF OPERATIONS AND 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 id="CONDENSEDCONSOLIDATEDSTATEMENTSOFSTOCKHOLDERSEQUITY" roleURI="http://www.samsara.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFSTOCKHOLDERSEQUITY">
        <link:definition>9952154 - Statement - CONDENSED CONSOLIDATED STATEMENTS OF STOCKHOLDERS&#8217; 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 id="CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS" roleURI="http://www.samsara.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS">
        <link:definition>9952155 - Statement - CONDENSED 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 id="DescriptionofBusiness" roleURI="http://www.samsara.com/role/DescriptionofBusiness">
        <link:definition>9952156 - Disclosure - Description of Business</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="SummaryofSignificantAccountingPolicies" roleURI="http://www.samsara.com/role/SummaryofSignificantAccountingPolicies">
        <link:definition>9952157 - Disclosure - Summary of Significant Accounting Policies</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="CashCashEquivalentsRestrictedCashandInvestments" roleURI="http://www.samsara.com/role/CashCashEquivalentsRestrictedCashandInvestments">
        <link:definition>9952158 - Disclosure - Cash, Cash Equivalents, Restricted Cash, and Investments</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="FairValueMeasurements" roleURI="http://www.samsara.com/role/FairValueMeasurements">
        <link:definition>9952159 - Disclosure - Fair Value Measurements</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="CoststoObtainandFulfillaContract" roleURI="http://www.samsara.com/role/CoststoObtainandFulfillaContract">
        <link:definition>9952160 - Disclosure - Costs to Obtain and Fulfill a Contract</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="BalanceSheetComponents" roleURI="http://www.samsara.com/role/BalanceSheetComponents">
        <link:definition>9952161 - Disclosure - Balance Sheet Components</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="RevenueAccountsReceivableDeferredRevenueandRemainingPerformanceObligations" roleURI="http://www.samsara.com/role/RevenueAccountsReceivableDeferredRevenueandRemainingPerformanceObligations">
        <link:definition>9952162 - Disclosure - Revenue, Accounts Receivable, Deferred Revenue, and Remaining Performance Obligations</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="Leases" roleURI="http://www.samsara.com/role/Leases">
        <link:definition>9952163 - 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 id="CommitmentsandContingencies" roleURI="http://www.samsara.com/role/CommitmentsandContingencies">
        <link:definition>9952164 - 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 id="Equity" roleURI="http://www.samsara.com/role/Equity">
        <link:definition>9952165 - Disclosure - 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 id="IncomeTaxes" roleURI="http://www.samsara.com/role/IncomeTaxes">
        <link:definition>9952166 - 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 id="NetLossPerShareBasicandDiluted" roleURI="http://www.samsara.com/role/NetLossPerShareBasicandDiluted">
        <link:definition>9952167 - Disclosure - Net Loss Per Share, Basic and Diluted</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="SegmentInformation" roleURI="http://www.samsara.com/role/SegmentInformation">
        <link:definition>9952168 - Disclosure - Segment Information</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="SummaryofSignificantAccountingPoliciesPolicies" roleURI="http://www.samsara.com/role/SummaryofSignificantAccountingPoliciesPolicies">
        <link:definition>9955511 - Disclosure - Summary of Significant Accounting Policies (Policies)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="CashCashEquivalentsRestrictedCashandInvestmentsTables" roleURI="http://www.samsara.com/role/CashCashEquivalentsRestrictedCashandInvestmentsTables">
        <link:definition>9955512 - Disclosure - Cash, Cash Equivalents, Restricted Cash, and Investments (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="FairValueMeasurementsTables" roleURI="http://www.samsara.com/role/FairValueMeasurementsTables">
        <link:definition>9955513 - Disclosure - Fair Value Measurements (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="CoststoObtainandFulfillaContractTables" roleURI="http://www.samsara.com/role/CoststoObtainandFulfillaContractTables">
        <link:definition>9955514 - Disclosure - Costs to Obtain and Fulfill a Contract (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="BalanceSheetComponentsTables" roleURI="http://www.samsara.com/role/BalanceSheetComponentsTables">
        <link:definition>9955515 - Disclosure - Balance Sheet Components (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="RevenueAccountsReceivableDeferredRevenueandRemainingPerformanceObligationsTables" roleURI="http://www.samsara.com/role/RevenueAccountsReceivableDeferredRevenueandRemainingPerformanceObligationsTables">
        <link:definition>9955516 - Disclosure - Revenue, Accounts Receivable, Deferred Revenue, and Remaining Performance Obligations (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="LeasesTables" roleURI="http://www.samsara.com/role/LeasesTables">
        <link:definition>9955517 - 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 id="EquityTables" roleURI="http://www.samsara.com/role/EquityTables">
        <link:definition>9955518 - Disclosure - Equity (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="NetLossPerShareBasicandDilutedTables" roleURI="http://www.samsara.com/role/NetLossPerShareBasicandDilutedTables">
        <link:definition>9955519 - Disclosure - Net Loss Per Share, Basic and Diluted (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="SegmentInformationTables" roleURI="http://www.samsara.com/role/SegmentInformationTables">
        <link:definition>9955520 - Disclosure - Segment Information (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="CashCashEquivalentsRestrictedCashandInvestmentsScheduleofCashCashEquivalentsandRestrictedCashDetails" roleURI="http://www.samsara.com/role/CashCashEquivalentsRestrictedCashandInvestmentsScheduleofCashCashEquivalentsandRestrictedCashDetails">
        <link:definition>9955521 - Disclosure - Cash, Cash Equivalents, Restricted Cash, and Investments - Schedule of Cash, Cash Equivalents, and Restricted Cash (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="CashCashEquivalentsRestrictedCashandInvestmentsScheduleofAvailableforsaleMarketableDebtSecuritiesRecordedWithinShorttermandLongtermInvestmentsDetails" roleURI="http://www.samsara.com/role/CashCashEquivalentsRestrictedCashandInvestmentsScheduleofAvailableforsaleMarketableDebtSecuritiesRecordedWithinShorttermandLongtermInvestmentsDetails">
        <link:definition>9955522 - Disclosure - Cash, Cash Equivalents, Restricted Cash, and Investments - Schedule of Available-for-sale Marketable Debt Securities Recorded Within Short-term and Long-term Investments (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="CashCashEquivalentsRestrictedCashandInvestmentsNarrativeDetails" roleURI="http://www.samsara.com/role/CashCashEquivalentsRestrictedCashandInvestmentsNarrativeDetails">
        <link:definition>9955523 - Disclosure - Cash, Cash Equivalents, Restricted Cash, and Investments - Narrative (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="CashCashEquivalentsRestrictedCashandInvestmentsScheduleofFairValuesofAvailableforsaleMarketableDebtSecuritiesDetails" roleURI="http://www.samsara.com/role/CashCashEquivalentsRestrictedCashandInvestmentsScheduleofFairValuesofAvailableforsaleMarketableDebtSecuritiesDetails">
        <link:definition>9955524 - Disclosure - Cash, Cash Equivalents, Restricted Cash, and Investments - Schedule of Fair Values of Available-for-sale Marketable Debt Securities (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="FairValueMeasurementsDetails" roleURI="http://www.samsara.com/role/FairValueMeasurementsDetails">
        <link:definition>9955525 - Disclosure - Fair Value Measurements (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="CoststoObtainandFulfillaContractNarrativeDetails" roleURI="http://www.samsara.com/role/CoststoObtainandFulfillaContractNarrativeDetails">
        <link:definition>9955526 - Disclosure - Costs to Obtain and Fulfill a Contract - Narrative (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="CoststoObtainandFulfillaContractScheduleofCapitalizedandAmortizedCommissionCostsDetails" roleURI="http://www.samsara.com/role/CoststoObtainandFulfillaContractScheduleofCapitalizedandAmortizedCommissionCostsDetails">
        <link:definition>9955527 - Disclosure - Costs to Obtain and Fulfill a Contract - Schedule of Capitalized and Amortized Commission Costs (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="CoststoObtainandFulfillaContractScheduleofCapitalizedandAmortizedConnectedDeviceCostsDetails" roleURI="http://www.samsara.com/role/CoststoObtainandFulfillaContractScheduleofCapitalizedandAmortizedConnectedDeviceCostsDetails">
        <link:definition>9955528 - Disclosure - Costs to Obtain and Fulfill a Contract - Schedule of Capitalized and Amortized Connected Device Costs (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="BalanceSheetComponentsScheduleofPropertyandEquipmentNetDetails" roleURI="http://www.samsara.com/role/BalanceSheetComponentsScheduleofPropertyandEquipmentNetDetails">
        <link:definition>9955529 - Disclosure - Balance Sheet Components - Schedule of Property and Equipment, Net (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="BalanceSheetComponentsDepreciationandAmortizationofPropertyandEquipmentDetails" roleURI="http://www.samsara.com/role/BalanceSheetComponentsDepreciationandAmortizationofPropertyandEquipmentDetails">
        <link:definition>9955530 - Disclosure - Balance Sheet Components - Depreciation and Amortization of Property and Equipment (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="RevenueAccountsReceivableDeferredRevenueandRemainingPerformanceObligationsScheduleofRevenueDetails" roleURI="http://www.samsara.com/role/RevenueAccountsReceivableDeferredRevenueandRemainingPerformanceObligationsScheduleofRevenueDetails">
        <link:definition>9955531 - Disclosure - Revenue, Accounts Receivable, Deferred Revenue, and Remaining Performance Obligations - Schedule of Revenue (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="RevenueAccountsReceivableDeferredRevenueandRemainingPerformanceObligationsNarrativeDetails" roleURI="http://www.samsara.com/role/RevenueAccountsReceivableDeferredRevenueandRemainingPerformanceObligationsNarrativeDetails">
        <link:definition>9955532 - Disclosure - Revenue, Accounts Receivable, Deferred Revenue, and Remaining Performance Obligations - Narrative (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="RevenueAccountsReceivableDeferredRevenueandRemainingPerformanceObligationsNarrativeDetails_1" roleURI="http://www.samsara.com/role/RevenueAccountsReceivableDeferredRevenueandRemainingPerformanceObligationsNarrativeDetails_1">
        <link:definition>9955532 - Disclosure - Revenue, Accounts Receivable, Deferred Revenue, and Remaining Performance Obligations - Narrative (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="RevenueAccountsReceivableDeferredRevenueandRemainingPerformanceObligationsScheduleofDeferredRevenueDetails" roleURI="http://www.samsara.com/role/RevenueAccountsReceivableDeferredRevenueandRemainingPerformanceObligationsScheduleofDeferredRevenueDetails">
        <link:definition>9955533 - Disclosure - Revenue, Accounts Receivable, Deferred Revenue, and Remaining Performance Obligations - Schedule of Deferred Revenue (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="LeasesNarrativeDetails" roleURI="http://www.samsara.com/role/LeasesNarrativeDetails">
        <link:definition>9955534 - Disclosure - Leases - Narrative (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="LeasesOperatingLeaseExpenseDetails" roleURI="http://www.samsara.com/role/LeasesOperatingLeaseExpenseDetails">
        <link:definition>9955535 - Disclosure - Leases - Operating Lease Expense (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="LeasesScheduleofSupplementalInformationRelatedtoOperatingLeasesDetails" roleURI="http://www.samsara.com/role/LeasesScheduleofSupplementalInformationRelatedtoOperatingLeasesDetails">
        <link:definition>9955536 - Disclosure - Leases - Schedule of Supplemental Information Related to Operating Leases (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="LeasesScheduleofWeightedAverageRemainingLeaseTermandDiscountRateDetails" roleURI="http://www.samsara.com/role/LeasesScheduleofWeightedAverageRemainingLeaseTermandDiscountRateDetails">
        <link:definition>9955537 - Disclosure - Leases - Schedule of Weighted Average Remaining Lease Term and Discount Rate (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="LeasesScheduleofFutureMinimumLeasePaymentsDetails" roleURI="http://www.samsara.com/role/LeasesScheduleofFutureMinimumLeasePaymentsDetails">
        <link:definition>9955538 - Disclosure - Leases - Schedule of Future Minimum Lease Payments (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="LeasesScheduleofFutureMinimumLeasePaymentsDetails_1" roleURI="http://www.samsara.com/role/LeasesScheduleofFutureMinimumLeasePaymentsDetails_1">
        <link:definition>9955538 - Disclosure - Leases - Schedule of Future Minimum Lease Payments (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="CommitmentsandContingenciesDetails" roleURI="http://www.samsara.com/role/CommitmentsandContingenciesDetails">
        <link:definition>9955539 - Disclosure - Commitments and Contingencies (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="EquityNarrativeDetails" roleURI="http://www.samsara.com/role/EquityNarrativeDetails">
        <link:definition>9955540 - Disclosure - Equity - Narrative (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="EquityScheduleofReservedSharesofCommonStockforFutureIssuanceDetails" roleURI="http://www.samsara.com/role/EquityScheduleofReservedSharesofCommonStockforFutureIssuanceDetails">
        <link:definition>9955541 - Disclosure - Equity - Schedule of Reserved Shares of Common Stock for Future Issuance (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="EquityScheduleofStockOptionsActivityDetails" roleURI="http://www.samsara.com/role/EquityScheduleofStockOptionsActivityDetails">
        <link:definition>9955542 - Disclosure - Equity - Schedule of Stock Options Activity (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="EquityScheduleofRSUActivityDetails" roleURI="http://www.samsara.com/role/EquityScheduleofRSUActivityDetails">
        <link:definition>9955543 - Disclosure - Equity - Schedule of RSU Activity (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="EquityScheduleofWeightedAverageAssumptionsUsedToEstimateTheFairValueDetails" roleURI="http://www.samsara.com/role/EquityScheduleofWeightedAverageAssumptionsUsedToEstimateTheFairValueDetails">
        <link:definition>9955544 - Disclosure - Equity - Schedule of Weighted Average Assumptions Used To Estimate The Fair Value (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="EquityScheduleofStockBasedCompensationExpenseDetails" roleURI="http://www.samsara.com/role/EquityScheduleofStockBasedCompensationExpenseDetails">
        <link:definition>9955545 - Disclosure - Equity - Schedule of Stock-Based Compensation Expense (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="IncomeTaxesDetails" roleURI="http://www.samsara.com/role/IncomeTaxesDetails">
        <link:definition>9955546 - Disclosure - Income Taxes (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="NetLossPerShareBasicandDilutedScheduleofBasicandDilutedNetLossPerShareDetails" roleURI="http://www.samsara.com/role/NetLossPerShareBasicandDilutedScheduleofBasicandDilutedNetLossPerShareDetails">
        <link:definition>9955547 - Disclosure - Net Loss Per Share, Basic and Diluted - Schedule of Basic and Diluted Net Loss Per Share (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="NetLossPerShareBasicandDilutedScheduleofPotentiallyDilutiveSecuritiesExcludedfromtheComputationofDilutedNetLossperShareDetails" roleURI="http://www.samsara.com/role/NetLossPerShareBasicandDilutedScheduleofPotentiallyDilutiveSecuritiesExcludedfromtheComputationofDilutedNetLossperShareDetails">
        <link:definition>9955548 - Disclosure - Net Loss Per Share, Basic and Diluted - Schedule of Potentially Dilutive Securities Excluded from the Computation of Diluted Net Loss per Share (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="SegmentInformationNarrativeDetails" roleURI="http://www.samsara.com/role/SegmentInformationNarrativeDetails">
        <link:definition>9955549 - Disclosure - Segment Information - Narrative (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="SegmentInformationScheduleofDisaggregationofRevenueDetails" roleURI="http://www.samsara.com/role/SegmentInformationScheduleofDisaggregationofRevenueDetails">
        <link:definition>9955550 - Disclosure - Segment Information - Schedule of Disaggregation of Revenue (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="SegmentInformationScheduleofLonglivedAssetsbyGeographicAreasDetails" roleURI="http://www.samsara.com/role/SegmentInformationScheduleofLonglivedAssetsbyGeographicAreasDetails">
        <link:definition>9955551 - Disclosure - Segment Information - Schedule of Long-lived Assets by Geographic Areas (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
    </xs:appinfo>
  </xs:annotation>
  <xs:element id="iot_CapitalizedContractCostNetCurrentConnectedDeviceCosts" abstract="false" name="CapitalizedContractCostNetCurrentConnectedDeviceCosts" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="iot_CapitalizedContractCostNetNoncurrentConnectedDeviceCosts" abstract="false" name="CapitalizedContractCostNetNoncurrentConnectedDeviceCosts" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="iot_CapitalizedContractCostNetNoncurrentCommissionCosts" abstract="false" name="CapitalizedContractCostNetNoncurrentCommissionCosts" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="iot_AccruedAndOtherLiabilitiesCurrent" abstract="false" name="AccruedAndOtherLiabilitiesCurrent" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="iot_AdjustmentsToAdditionalPaidInCapitalEarlyExercisedStockOptions" abstract="false" name="AdjustmentsToAdditionalPaidInCapitalEarlyExercisedStockOptions" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="iot_IncreaseDecreaseInCapitalizedContractCostConnectedDeviceCosts" abstract="false" name="IncreaseDecreaseInCapitalizedContractCostConnectedDeviceCosts" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="iot_IncreaseDecreaseInCapitalizedContractCostCommissionCosts" abstract="false" name="IncreaseDecreaseInCapitalizedContractCostCommissionCosts" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="iot_IncreaseDecreaseInOperatingLeaseRightOfUseAssetAndOperatingLeaseLiability" abstract="false" name="IncreaseDecreaseInOperatingLeaseRightOfUseAssetAndOperatingLeaseLiability" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="iot_NoncashOrPartNoncashShareBasedPaymentArrangementVestingOfEarlyExercisedStockOptions" abstract="false" name="NoncashOrPartNoncashShareBasedPaymentArrangementVestingOfEarlyExercisedStockOptions" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="iot_DebtSecuritiesAvailableForSaleMaturityAllocatedAndSingleMaturityDateRollingAfterOneThroughThreeYearsFairValue" abstract="false" name="DebtSecuritiesAvailableForSaleMaturityAllocatedAndSingleMaturityDateRollingAfterOneThroughThreeYearsFairValue" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="iot_RestrictedCashFairValueDisclosure" abstract="false" name="RestrictedCashFairValueDisclosure" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="iot_CashEquivalentsAndRestrictedCashFairValueDisclosure" abstract="false" name="CashEquivalentsAndRestrictedCashFairValueDisclosure" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="iot_ConnectedDeviceCostsMember" abstract="true" name="ConnectedDeviceCostsMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="iot_CommissionCostsMember" abstract="true" name="CommissionCostsMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="iot_CapitalizedContractCostNetPeriodCost" abstract="false" name="CapitalizedContractCostNetPeriodCost" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="iot_ContractWithCustomerLiabilityRollForward" abstract="true" name="ContractWithCustomerLiabilityRollForward" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:stringItemType"/>
  <xs:element id="iot_OperatingLeaseAndAssetImpairmentCharges" abstract="false" name="OperatingLeaseAndAssetImpairmentCharges" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="iot_LesseeOperatingLeaseLiabilityToBePaidAfterYearFour" abstract="false" name="LesseeOperatingLeaseLiabilityToBePaidAfterYearFour" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="iot_OfferingPeriodAxis" abstract="true" name="OfferingPeriodAxis" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrldt:dimensionItem" type="xbrli:stringItemType"/>
  <xs:element id="iot_OfferingPeriodDomain" abstract="true" name="OfferingPeriodDomain" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="iot_FirstPurchasePeriodMember" abstract="true" name="FirstPurchasePeriodMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="iot_SecondPurchasePeriodMember" abstract="true" name="SecondPurchasePeriodMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="iot_TwoThousandTwentyOneEmployeeStockPurchasePlanMember" abstract="true" name="TwoThousandTwentyOneEmployeeStockPurchasePlanMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="iot_NumberOfEquityIncentivePlans" abstract="false" name="NumberOfEquityIncentivePlans" nillable="true" xbrli:periodType="instant" substitutionGroup="xbrli:item" type="xbrli:integerItemType"/>
  <xs:element id="iot_CommonStockCapitalSharesReservedForFutureIssuanceAnnualEvergreenIncrease" abstract="false" name="CommonStockCapitalSharesReservedForFutureIssuanceAnnualEvergreenIncrease" nillable="true" xbrli:periodType="instant" substitutionGroup="xbrli:item" type="xbrli:sharesItemType"/>
  <xs:element id="iot_ShareBasedCompensationArrangementByShareBasedPaymentAwardOfferingPeriod" abstract="false" name="ShareBasedCompensationArrangementByShareBasedPaymentAwardOfferingPeriod" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:durationItemType"/>
  <xs:element id="iot_ShareBasedCompensationArrangementByShareBasedPaymentAwardPurchasePeriod" abstract="false" name="ShareBasedCompensationArrangementByShareBasedPaymentAwardPurchasePeriod" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:durationItemType"/>
  <xs:element id="iot_TwoThousandFifteenEquityIncentivePlanMember" abstract="true" name="TwoThousandFifteenEquityIncentivePlanMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="iot_TwoThousandTwentyOneEquityIncentivePlanMember" abstract="true" name="TwoThousandTwentyOneEquityIncentivePlanMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="iot_JonathanChadwickMember" abstract="true" name="JonathanChadwickMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="iot_AdamEltoukhyMember" abstract="true" name="AdamEltoukhyMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="iot_JamesAndrewMunkMember" abstract="true" name="JamesAndrewMunkMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="iot_SanjitBiswasMember" abstract="true" name="SanjitBiswasMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="iot_JohnBicketMember" abstract="true" name="JohnBicketMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
</xs:schema>
