# Sign-in expiry

Source: https://tiltas.openpanel.sh/docs/access/sign-in-expiry

> Personal devices sign in again after a set number of days, so a lost phone cannot stay in your Network for good.

A Personal device's sign-in lasts a set number of days. Then the Device drops out of the Network until someone signs it
in again. A phone or laptop that is lost, sold or forgotten therefore cannot stay in forever.

Servers never expire: they belong to the Account and run unattended. Remove a Server you no longer use.

## Set the number of days

In the [console](/app), open **Settings**. Under **Personal device sign-in expires after**, type 1 to 365 days and choose
**Save**. The default is 180 days. Owners and Admins can change it.

Each Personal device gets its expiry date when it is added, from the number set at that time. Changing the number later
applies to Devices added after the change.

## See when a Device expires

Open **Devices**, then the Device. **Sign-in expires** shows the date, or **Never**.

## Keep one Device signed in

For a Device you trust and cannot easily reach, such as a computer at a parent's house, switch on **Keep this Device
signed in** on its page, under **Sign-in**. Its sign-in then never expires. Owners and Admins can change this switch.

Switching it off again gives the Device a new expiry: the set number of days, counted from that moment.

With the API: `key_expiry_disabled` in [Update a Device](/docs/api/devices/updateDevice).

## When a Device expires

The Coordinator stops letting it connect. Its owner signs it in again from the app, as when it was first added: choose
**Sign in**, then approve the code. With [Device approval](/docs/access/device-approval) on, an Owner or Admin approves it
again too.
