---
schema_version: "1"
id: 753d4461902c0e2748ef94a53cedfe195dd7242aeedaa7a0c4bfa3fbfcc4cf24
title: Context Service Limits
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ind/264-0-0/context_service_limits.md
canonical_url: https://help.salesforce.com/s/articleView?id=ind.context_service_limits.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: dfc22569b78508aedd7e5ad391bc5f4d61b217be2e8593c224893dc33bd25827
description: When you create and use context definitions within Context Service, adhere to the Salesforce org limits.
products:
  - Industry Solutions
  - Cross Cloud
release: "264"
---
# Context Service Limits

When you create and use context definitions within Context Service, adhere to the Salesforce org limits.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: Lightning Experience</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: <strong>Developer</strong>, <strong>Enterprise</strong>, <strong>Professional</strong>, and <strong>Unlimited</strong> editions for Industries clouds where Context Service is enabled</td></tr></tbody></table>

When you create a context definition, stay within these limits. Contact your Salesforce representative if you want to increase any of the Context Service definition limits.

  
| Limit | DEFAULT VALUE | MAXIMUM VALUE |
| --- | --- | --- |
| Number of nodes per context definition | 80 |   |
| Number of attributes per context definition | 1500 | 1600 |
| Number of attributes per node | 400 | 500 |
| Number of levels of hierarchy in a context definition structure | 5 | 5 |

When you use context instances, stay within these limits.

   
| Limit | DEFAULT VALUE | MAXIMUM VALUE | NOTES |
| --- | --- | --- | --- |
| Number of active context instances that an application can have within the specified Time To Live duration |   | 20,000 |   |
| Number of records in a context instance | 10,000 | 20,000 |   |
| Time To Live configuration in a context definition at design time | 10 minutes | 45 minutes |   |