# Build segments by User ID

Use the **User ID** filter to create a segment of known users by their Pushwoosh User IDs. This works best when you already know which users you want to include and those User IDs are registered in your project.

## How to build a segment by User ID

To create a User ID-based segment:

1. Go to **Audience** → **Segments**.

2. Click **Create Segment**.

3. Select **Build Segment**.

4. In the segment builder, click **User ID** in **Add filter by**.

<img src="/segmentation-segments-by-user-id-2.webp" alt="Create segment screen with User ID selected in Add filter by before entering user identifiers"/>

5. Add the User IDs that should be included in the segment. 

<Aside type="note">
Use User IDs that already exist in your Pushwoosh project. If you need to upload a file with User IDs or Hardware IDs, use [Import a segment](/product/audience-data-and-segmentation/segmentation/create-segments/by-import/).
</Aside>

<img src="/segmentation-segments-by-user-id-1.webp" alt="Create segment screen with User ID filter open showing the field to add Pushwoosh User IDs"/>

6. Add more filters if needed.

7. To target a user across all their devices when a User ID matches the condition, use **Include all user devices**. [Learn how this option works](/product/audience-data-and-segmentation/segmentation/create-segments/by-tags/#include-all-user-devices).

8. Click **Save**. 
<Aside type="tip">
You can combine **User ID** with **Tag**, **Event**, **Segment**, or **Geo** filters in the same segment to narrow a known user list by behavior, attributes, existing segment membership, or location. For more complex logic, see [Build segments with compound filters](/product/audience-data-and-segmentation/segmentation/create-segments/compound-filters/).
</Aside>