Helix Core is now P4. Product user interfaces will be updated soon. Learn more >>

P4 CLI Documentation | 2026.1

# p4 tickets

Display all tickets granted to a user by `p4 login`.

## Syntax

    p4 [g-opts] tickets

Syntax and naming conventions

## Description

The `p4 tickets` command lists all tickets stored in the user’s ticket file, which is specified by the P4TICKETS environment variable. If this variable is not set, tickets are stored in `%USERPROFILE%\p4tickets.txt` on Windows, and in `$HOME/.p4tickets` on other operating systems.

## Options

`g-opts` | See Global options.

## Usage Notes

Can File Arguments Use Revision Specifier? | Can File Arguments Use Revision Range? | Minimal Access Level Required
--- | --- | ---
N/A | N/A | none because every user can run `p4 tickets`, whether a standard user, operator user, or a service user

## Examples

`p4 tickets` | Display all tickets stored in a user’s local ticket file.

## Related commands

To start a login session (to obtain a ticket) | `p4 login`
To end a login session (to delete a ticket) | `p4 logout`

Your search for returned results