Company: IOT
Filing Date: 2025-03-25
Form Type: S-8
Source: 0001642896-25-000025
Chunk: 0

Company: Samsara Inc.
Filing Date: 2025-03-25
Form: S-8
Chunk 0
---
<div align='center'>As filed with the Securities and Exchange Commission on March 25, 2025.</div>

#### Registration No. 333-

### UNITED STATES

### SECURITIES AND EXCHANGE COMMISSION

#### Washington, D.C. 20549

#### FORM S-8

### REGISTRATION STATEMENT

#### Under

#### The Securities Act of 1933

#### SAMSARA INC.
<div align='center'>(Exact name of registrant as specified in its charter)</div>

| Delaware                                                       |     | 47-3100039                          |
| (State or other jurisdiction of incorporation or organization) |     | -I.R.S. Employer Identification No. |
| San Francisco, California 94107                                |     |                                     |
| (Address of principal executive offices, including zip code)   |     |                                     |

#### 2021 Equity Incentive Plan

#### 2021 Employee Stock Purchase Plan
<div align='center'>(Full title of the plan)</div>

#### Sanjit Biswas

#### Co-Founder and Chief Executive Officer

#### Dominic Phillips

### Chief Financial Officer

#### Samsara Inc.

#### 1 De Haro Street

#### San Francisco, California 94107
<div align='center'>(415) 985-2400

(Name and address and telephone number, including area code, of agent for service)</div>

| Copies to:                             |     |                                 |
| Allison B. Spinner                     
 Wilson Sonsini Goodrich & Rosati, P.C. 
 650 Page Mill Road                     
 Palo Alto, California 94304            
 (650) 493-9300                         |     | Adam Eltoukhy                   
 Mai Li                          
 Samsara Inc.                    
 1 De Haro Street                
 San Francisco, California 94107 
 (415) 985-2400                  |

Indicate by check mark whether the registrant is a large accelerated filer, an accelerated filer, a non-accelerated filer, a smaller reporting company or an emerging growth company. See the definitions of “large accelerated filer,” “accelerated filer,” “smaller reporting company,” and “emerging growth company” in Rule 12b-2 of the Exchange Act.

| Large accelerated filer |     | x |     | Accelerated filer         |     | o |
| Non-accelerated filer   |     | o |     | Smaller reporting company |     | o |
|