Visual Studio reports a stale or expired license when the license token is no longer current – this does not mean that your product key is invalid. With a stale license it is usually enough to sign in again. With an expired license, you renew the subscription, add an account with a valid entitlement, or unlock Visual Studio with a product key.
Quick decision
| Message | Meaning according to Microsoft | What you do |
|---|---|---|
| “Your license has gone stale” | the token has not been refreshed for a while | sign in and re-enter the credentials |
| License expired | the subscription or trial period has expired | renew, add an account or enter a product key |
| No internet on the computer | the token cannot refresh | unlock with a product key |
The steps apply to Visual Studio Professional and Enterprise as well as Community.
What the message means
Visual Studio shows the message “Your license has gone stale and must be updated.” In other words: your license is out of date and must be updated. According to Microsoft, this means: the subscription can still be valid, but the license token with which Visual Studio keeps the subscription current has not been refreshed. According to Microsoft, the reasons are that Visual Studio has not been used for a while or has not been connected to the internet, or that you have signed out.
Before the license goes stale, Visual Studio first warns and asks you to re-enter the credentials. If that does not happen, the token eventually expires, and you have to re-enter the credentials before you can continue working.
Causes according to Microsoft
- Longer break or no internet. The token does not refresh.
- Sign-out. After signing out, the license is considered stale.
- Expired subscription or trial period. Then refreshing is not enough; the license must be renewed.
Diagnosis
- Open File > Account Settings and read the license information on the right.
- Check whether only the token is stale (subscription still valid) or the subscription itself has expired.
Step by step
Update a stale license.
- Choose Sign in at the top right or File > Account Settings > Sign in.
- Enter the credentials of the account that holds the entitlement (Microsoft, work, school or GitHub account). Visual Studio unlocks the interface again.
Resolve an expired license.
- Open File > Account Settings.
- Renew the subscription, or add an account with a valid entitlement via +Add on the left.
- Alternatively, choose License with a Product Key and enter the key.
Alternative paths
- Work without internet. In environments with little or no internet, Microsoft recommends unlocking Visual Studio permanently with a product key, to avoid interruptions.
- Account with multiple directories. For accounts in multiple Microsoft Entra directories, it can help to hide unneeded directories via the filter in the account settings.
When is it the key?
Here the key can be the solution, not the problem. If the subscription has expired or the computer is rarely online, unlock Visual Studio permanently with a valid product key. Where you find product keys for Visual Studio is described by Microsoft in the product keys documentation. The editions are compared by Visual Studio 2026 editions at a glance.
Further guides
- Download Visual Studio
- Visual Studio 2026 editions at a glance
- Enter the key from the start: Activate Visual Studio with a product key
- All error codes at a glance: error code database
- Current versions in the Development category
Frequently asked questions
What does “Your license has gone stale” mean? The license token of Visual Studio has not been refreshed. The subscription can still be valid; sign in again.
What is the difference between stale and expired? Stale means: only the token has to be refreshed. Expired means: the subscription or trial period has ended and must be renewed.
How do I unlock Visual Studio with a product key? Via File > Account Settings > License with a Product Key and entering the key.
What do I do without internet on the computer? Microsoft recommends unlocking Visual Studio with a product key, so that it does not interrupt without a connection.
Do I have to buy my subscription again if the license is stale? No. For a merely stale license, signing in again is enough. You only have to buy or renew when the subscription has expired.
Sources
Checked on 2026-11-30 against the publisher’s information: