Multi-tenancy is a software architecture in which one running application and its infrastructure serve many customers, called tenants, while keeping each tenant’s data and settings separate.

Definition
A tenant is usually one customer organization, with its own users, configuration and data. In a multi-tenant system, all tenants share the same application code and much of the same infrastructure, such as servers and databases, but each one sees only its own information. The arrangement is common in SaaS because one deployment can serve thousands of customers, and every improvement or fix reaches all of them at once.
The opposite is single tenancy, where each customer gets its own dedicated instance of the application and often its own database and servers. Single-tenant setups offer stronger physical separation and more room for customer-specific changes, at the cost of more infrastructure and more versions to maintain. Many products sit between the two, sharing the application while giving larger or regulated customers dedicated databases.

How it works
Every request to a multi-tenant application carries a tenant context, typically derived from the signed-in user, a subdomain or an API key. The application uses that context to decide which data and settings to load. The key engineering rule is that no query, cache entry, file path or background job may run without the correct tenant scope applied.
There are three common data models. In a shared database with a shared schema, every table has a tenant identifier column and queries filter on it, sometimes enforced by database features such as row-level security. In a shared database with separate schemas, each tenant has its own set of tables inside one database server. In a database-per-tenant model, each tenant gets its own database, which simplifies isolation, backups and data residency but increases operational overhead.
Beyond data, multi-tenant systems must manage shared capacity. A “noisy neighbor,” one tenant running heavy reports, can slow the service for others, so providers use rate limits, quotas, queues and sometimes separate resource pools for large tenants. Configuration, feature flags and branding are stored per tenant so the same code can behave differently for each customer without forking.
Keep learning
Put it into practice
Multi-tenant SaaS products engineered for onboarding, billing, security and growth, from MVP to scale.
Explore serviceCloud architecture, migration and modernization on AWS and Azure, planned for reliability, security and controlled cost.
Explore serviceCloud security architecture, posture management, identity controls and container security for AWS, Azure and Kubernetes environments.
Explore serviceFAQ
Not inherently. A well-designed multi-tenant system with enforced isolation, encryption, access controls and testing can be very secure. Single tenancy adds physical separation, which some regulated buyers prefer, but it is not a substitute for good application security.
Yes. Many SaaS products use a hybrid model, keeping most tenants on shared infrastructure and placing larger or regulated tenants on dedicated databases or compute, while still running the same application code.
A tenant is the unit of isolation in a multi-tenant system, usually one customer organization. It owns a set of users, data and configuration that other tenants cannot see.
Talk to a solution architect about where it fits in your roadmap.
