<?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>19030</noOfUnitsSold>
            <aggregateMarketValue>980045.00</aggregateMarketValue>
            <noOfUnitsOutstanding>269400337</noOfUnitsOutstanding>
            <approxSaleDate>02/03/2025</approxSaleDate>
            <securitiesExchangeName>NYSE</securitiesExchangeName>
        </securitiesInformation>
        <securitiesToBeSold>
            <securitiesClassTitle>Common</securitiesClassTitle>
            <acquiredDate>12/14/2021</acquiredDate>
            <natureOfAcquisitionTransaction>Restricted Stock Units</natureOfAcquisitionTransaction>
            <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
            <isGiftTransaction>N</isGiftTransaction>
            <amountOfSecuritiesAcquired>19030</amountOfSecuritiesAcquired>
            <paymentDate>12/14/2021</paymentDate>
            <natureOfPayment>N/A</natureOfPayment>
        </securitiesToBeSold>
        <nothingToReportFlagOnSecuritiesSoldInPast3Months>N</nothingToReportFlagOnSecuritiesSoldInPast3Months>
        <securitiesSoldInPast3Months>
            <sellerDetails>
                <name>10b5-1 Sales Plan for 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>01/21/2025</saleDate>
            <amountOfSecuritiesSold>9043</amountOfSecuritiesSold>
            <grossProceeds>426029.29</grossProceeds>
        </securitiesSoldInPast3Months>
        <securitiesSoldInPast3Months>
            <sellerDetails>
                <name>10b5-1 Sales Plan for 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>01/02/2025</saleDate>
            <amountOfSecuritiesSold>25178</amountOfSecuritiesSold>
            <grossProceeds>1099958.84</grossProceeds>
        </securitiesSoldInPast3Months>
        <securitiesSoldInPast3Months>
            <sellerDetails>
                <name>10b5-1 Sales Plan for 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>12/20/2024</saleDate>
            <amountOfSecuritiesSold>23960</amountOfSecuritiesSold>
            <grossProceeds>1049605.78</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>12/16/2024</saleDate>
            <amountOfSecuritiesSold>28104</amountOfSecuritiesSold>
            <grossProceeds>1291415.34</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>12/10/2024</saleDate>
            <amountOfSecuritiesSold>5633</amountOfSecuritiesSold>
            <grossProceeds>257389.80</grossProceeds>
        </securitiesSoldInPast3Months>
        <securitiesSoldInPast3Months>
            <sellerDetails>
                <name>10b5-1 Sales Plan for 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>11/21/2024</saleDate>
            <amountOfSecuritiesSold>12500</amountOfSecuritiesSold>
            <grossProceeds>688101.25</grossProceeds>
        </securitiesSoldInPast3Months>
        <securitiesSoldInPast3Months>
            <sellerDetails>
                <name>10b5-1 Sales Plan for 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>11/15/2024</saleDate>
            <amountOfSecuritiesSold>9307</amountOfSecuritiesSold>
            <grossProceeds>461167.43</grossProceeds>
        </securitiesSoldInPast3Months>
        <remarks>The securities to be sold were acquired upon the vesting of restricted stock units during the period of 12/14/2021 through 03/15/2023
</remarks>
        <noticeSignature>
            <noticeDate>02/03/2025</noticeDate>
            <planAdoptionDates>
                <planAdoptionDate>09/20/2024</planAdoptionDate>
            </planAdoptionDates>
            <signature>/s/ Adam Eltoukhy</signature>
        </noticeSignature>
    </formData>
</edgarSubmission>
[{"type": "144", "sequence": "1", "filename": "primary_doc.xml", "secsgml_size_bytes": 8420}]
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
19030
980045.00
269400337
02/03/2025
NYSE
Common
12/14/2021
Restricted Stock Units
Issuer
N
19030
12/14/2021
N/A
N
10b5-1 Sales Plan for ADAM ELTOUKHY
1 DE HARO STREET
SAN FRANCISCO
CA
94107
Common
01/21/2025
9043
426029.29
10b5-1 Sales Plan for ADAM ELTOUKHY
1 DE HARO STREET
SAN FRANCISCO
CA
94107
Common
01/02/2025
25178
1099958.84
10b5-1 Sales Plan for ADAM ELTOUKHY
1 DE HARO STREET
SAN FRANCISCO
CA
94107
Common
12/20/2024
23960
1049605.78
ADAM ELTOUKHY
1 DE HARO STREET
SAN FRANCISCO
CA
94107
Common
12/16/2024
28104
1291415.34
ADAM ELTOUKHY
1 DE HARO STREET
SAN FRANCISCO
CA
94107
Common
12/10/2024
5633
257389.80
10b5-1 Sales Plan for ADAM ELTOUKHY
1 DE HARO STREET
SAN FRANCISCO
CA
94107
Common
11/21/2024
12500
688101.25
10b5-1 Sales Plan for ADAM ELTOUKHY
1 DE HARO STREET
SAN FRANCISCO
CA
94107
Common
11/15/2024
9307
461167.43
The securities to be sold were acquired upon the vesting of restricted stock units during the period of 12/14/2021 through 03/15/2023
02/03/2025
09/20/2024
/s/ Adam Eltoukhy