<?xml version="1.0" encoding="UTF-8"?><edgarSubmission xmlns="http://www.sec.gov/edgar/ownership" xmlns:ns2="http://www.sec.gov/edgar/common">
    <headerData>
        <submissionType>144</submissionType>
        <filerInfo>
            <filer>
                <filerCredentials>
                    <cik>0001895101</cik>
                    <ccc>XXXXXXXX</ccc>
                </filerCredentials>
            </filer>
            <liveTestFlag>LIVE</liveTestFlag>



        </filerInfo>
    </headerData>
    <formData>
        <issuerInfo>
            <issuerCik>0001642896</issuerCik>
            <issuerName>SAMSARA INC.</issuerName>
            <secFileNumber>001-41140</secFileNumber>
            <issuerAddress>
                <ns2:street1>1 DE HARO STREET</ns2:street1>
                <ns2:city>SAN FRANCISCO</ns2:city>
                <ns2:stateOrCountry>CA</ns2:stateOrCountry>
                <ns2:zipCode>94107</ns2:zipCode>
            </issuerAddress>
            <issuerContactPhone>4159852400</issuerContactPhone>
            <nameOfPersonForWhoseAccountTheSecuritiesAreToBeSold>ADAM ELTOUKHY</nameOfPersonForWhoseAccountTheSecuritiesAreToBeSold>
            <relationshipsToIssuer>
                <relationshipToIssuer>Officer</relationshipToIssuer>
            </relationshipsToIssuer>
        </issuerInfo>
        <securitiesInformation>
            <securitiesClassTitle>Common</securitiesClassTitle>
            <brokerOrMarketmakerDetails>
                <name>Morgan Stanley Smith Barney LLC Executive Financial Services</name>
                <address>
                    <ns2:street1>1 New York Plaza</ns2:street1>
                    <ns2:street2>8th Floor</ns2:street2>
                    <ns2:city>New York</ns2:city>
                    <ns2:stateOrCountry>NY</ns2:stateOrCountry>
                    <ns2:zipCode>10004</ns2:zipCode>
                </address>
            </brokerOrMarketmakerDetails>
            <noOfUnitsSold>24744</noOfUnitsSold>
            <aggregateMarketValue>982831.68</aggregateMarketValue>
            <noOfUnitsOutstanding>299748928</noOfUnitsOutstanding>
            <approxSaleDate>06/27/2025</approxSaleDate>
            <securitiesExchangeName>NYSE</securitiesExchangeName>
        </securitiesInformation>
        <securitiesToBeSold>
            <securitiesClassTitle>Common</securitiesClassTitle>
            <acquiredDate>03/10/2025</acquiredDate>
            <natureOfAcquisitionTransaction>Restricted Stock Units</natureOfAcquisitionTransaction>
            <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
            <isGiftTransaction>N</isGiftTransaction>
            <amountOfSecuritiesAcquired>24744</amountOfSecuritiesAcquired>
            <paymentDate>03/10/2025</paymentDate>
            <natureOfPayment>N/A</natureOfPayment>
        </securitiesToBeSold>
        <nothingToReportFlagOnSecuritiesSoldInPast3Months>N</nothingToReportFlagOnSecuritiesSoldInPast3Months>
        <securitiesSoldInPast3Months>
            <sellerDetails>
                <name>ADAM ELTOUKHY</name>
                <address>
                    <ns2:street1>1 DE HARO STREET</ns2:street1>
                    <ns2:city>SAN FRANCISCO</ns2:city>
                    <ns2:stateOrCountry>CA</ns2:stateOrCountry>
                    <ns2:zipCode>94107</ns2:zipCode>
                </address>
            </sellerDetails>
            <securitiesClassTitle>Common</securitiesClassTitle>
            <saleDate>06/16/2025</saleDate>
            <amountOfSecuritiesSold>18643</amountOfSecuritiesSold>
            <grossProceeds>730992.03</grossProceeds>
        </securitiesSoldInPast3Months>
        <securitiesSoldInPast3Months>
            <sellerDetails>
                <name>ADAM ELTOUKHY</name>
                <address>
                    <ns2:street1>1 DE HARO STREET</ns2:street1>
                    <ns2:city>SAN FRANCISCO</ns2:city>
                    <ns2:stateOrCountry>CA</ns2:stateOrCountry>
                    <ns2:zipCode>94107</ns2:zipCode>
                </address>
            </sellerDetails>
            <securitiesClassTitle>Common</securitiesClassTitle>
            <saleDate>06/10/2025</saleDate>
            <amountOfSecuritiesSold>10451</amountOfSecuritiesSold>
            <grossProceeds>430907.87</grossProceeds>
        </securitiesSoldInPast3Months>
        <remarks>The securities to be sold were acquired upon the vesting of restricted stock units during the period of 3/10/2025 through 06/15/2025.
</remarks>
        <noticeSignature>
            <noticeDate>06/27/2025</noticeDate>
            <planAdoptionDates>
                <planAdoptionDate>03/28/2025</planAdoptionDate>
            </planAdoptionDates>
            <signature>/s/ Adam Eltoukhy</signature>
        </noticeSignature>
    </formData>
</edgarSubmission>
[{"type": "144", "sequence": "1", "filename": "primary_doc.xml", "secsgml_size_bytes": 4840}]
144
0001895101
XXXXXXXX
LIVE
0001642896
SAMSARA INC.
001-41140
1 DE HARO STREET
SAN FRANCISCO
CA
94107
4159852400
ADAM ELTOUKHY
Officer
Common
Morgan Stanley Smith Barney LLC Executive Financial Services
1 New York Plaza
8th Floor
New York
NY
10004
24744
982831.68
299748928
06/27/2025
NYSE
Common
03/10/2025
Restricted Stock Units
Issuer
N
24744
03/10/2025
N/A
N
ADAM ELTOUKHY
1 DE HARO STREET
SAN FRANCISCO
CA
94107
Common
06/16/2025
18643
730992.03
ADAM ELTOUKHY
1 DE HARO STREET
SAN FRANCISCO
CA
94107
Common
06/10/2025
10451
430907.87
The securities to be sold were acquired upon the vesting of restricted stock units during the period of 3/10/2025 through 06/15/2025.
06/27/2025
03/28/2025
/s/ Adam Eltoukhy