How to create a cohort in PostHog

Create a dynamic cohort in PostHog that groups people by a person property such as plan, so you can reuse the group across insights and analysis.

Quick answer

Open Cohorts, click New cohort, and give the cohort a name. In the matching criteria, choose Have the property, pick a person property such as plan, add a value like team, then click Save. PostHog keeps the cohort updated automatically because the default type is Dynamic, so new matching people join without any manual work.

Steps at a glance

  1. Open Cohorts and click New cohort
  2. Enter a name for the cohort
  3. Choose Have the property as the criterion
  4. Select the plan person property
  5. Add the value team
  6. Click Save

Interactive demo

Loading demo…

Summary

A cohort is a saved group of people that share a behavior or a person property. Cohorts let you reuse one definition across analysis instead of rebuilding the same filter each time.

Step-by-step guide

  1. Step 1

    Click New cohort

    Open the Cohorts tab under People and groups. Click New cohort at the top right of the page to open the cohort editor.

  2. Step 2

    Name the cohort

    Click the Enter name field at the top of the editor and type a clear name, such as Team plan users. The cohort Type is Dynamic · Updates automatically by default, so membership is recalculated as data changes.

  3. Step 3

    Choose Have the property

    Under Matching criteria, open the criterion menu that currently reads Completed event. Under Person Properties, choose Have the property to match people by a stored attribute.

  4. Step 4

    Select the plan property

    Click Choose person property, search for plan, and select the plan result. The criterion now reads plan equals, ready for a value.

  5. Step 5

    Add the value team

    Click the value field, type team, and choose Add "team" from the list. The value appears as a chip next to the plan property.

  6. Step 6

    Click Save

    Click Save at the top right of the editor. PostHog creates the cohort and opens its page, where you can see the people who match.

Why this matters

You want to look at how paying customers behave compared with everyone else. Saving them as a cohort once means every insight can filter on the same group, and the group stays current as people change plans.

Frequently asked questions

  • Does the cohort update on its own?

    Yes. The Type defaults to Dynamic · Updates automatically, which recalculates membership based on the latest data.

  • Can I match on events instead of a property?

    Yes. The criterion menu also offers behavioral options such as Completed event and Did not complete event.

Create interactive demos like this one — free, no coding required.

Start for free →