--- title: "Setting an Expiration Period for Domain Access" slug: "setting-an-expiration-period-for-domain-access" updated: 2026-11-23T12:32:58Z published: 2026-11-23T12:32:58Z canonical: "support.gainsight.com/setting-an-expiration-period-for-domain-access" --- > ## Documentation Index > Fetch the complete documentation index at: https://support.gainsight.com/llms.txt > Use this file to discover all available pages before exploring further. # Setting an Expiration Period for Domain Access Many Customers want to limit their users from accessing a training domain after a certain amount of time. Most commonly domain access expirations come into play with subscription domains, or when end-users purchase specific training packages that are valid for a set time period. This article explains how to set an expiration period for domain access in the dashboard. ## Domain access expiration You can only set limited-time access for a private domain that is set to "access code required." Expiration periods are not available for public domains or private domains that are only login required. Go to your [Skilljar Dashboard](https://dashboard.skilljar.com/), expand the **Domains & Publishing** header, and select **Domains** to open the [Domains page](https://dashboard.skilljar.com/publishing/). 1. Find the domain you want to edit and select **Domain Settings.** ![Screenshot showing Domain access expiration](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/Screen_Shot_2022-01-27_at_2.39.45_PM.png?sv=2026-02-06&spr=https&st=2026-11-24T18%3A54%3A44Z&se=2026-11-24T19%3A54%3A44Z&sr=b&sp=r&sig=uuARDAqbWMaNh5CJTgOuCI486W2hyclBcsn9b5CI%2FPg%3D) 2. Scroll down to Access Codes and select **New Access Code** to open the settings page. To edit an existing access code, select the code and then the pencil icon ![Screenshot showing Domain access expiration](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/Pencil.png?sv=2026-02-06&spr=https&st=2026-11-24T18%3A54%3A44Z&se=2026-11-24T19%3A54%3A44Z&sr=b&sp=r&sig=RZEQw6Arr1K%2Bq4FhtgI%2FrwWvqS4JzNzfLj12WHK%2BbrI%3D) under Edit, to access the settings. ![Screenshot showing Domain access expiration](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/new_code.png?sv=2026-02-06&spr=https&st=2026-11-24T18%3A54%3A44Z&se=2026-11-24T19%3A54%3A44Z&sr=b&sp=r&sig=cYtbE4lstaNr3qIzTlTDHuvEb%2FvFb6y4KCC3iF5Dq1A%3D) 3. Scroll down to the User Access section and select **Set duration.** Now you will be able to set the access expiration period in days or months ![Screenshot showing Domain access expiration](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/Screen_Shot_2020-06-01_at_9.14.17_PM.png?sv=2026-02-06&spr=https&st=2026-11-24T18%3A54%3A44Z&se=2026-11-24T19%3A54%3A44Z&sr=b&sp=r&sig=OnVLrsnTmj0tSEnz1zW0H75fQCmQz4V78lO4oaXzTxg%3D) 4. Once you're finished, select **Save** to create the access code. Any user who registers for access to your domain with your access code will only be able to get into the domain for a specified period of time after first registering. Once their access expires, they will need a new access code.