Skip Navigation

Azure Cosmos DB

Globally distributed, multi-model database service

A globally distributed database for low latency and massively scalable applications, with native support for NoSQL

Azure Cosmos DB was built from the ground up with global distribution and horizontal scale at its core. It offers turnkey global distribution with multi-master support across any number of Azure regions by transparently scaling and replicating your data wherever your users are. Elastically scale throughput and storage worldwide, and pay only for what you need. Azure Cosmos DB provides native support for NoSQL choices, offers multiple well-defined consistency models, guarantees single-digit-millisecond latencies at the 99th percentile, and guarantees high availability with multi-homing capabilities and low latencies anywhere in the world— all backed by industry-leading, comprehensive service level agreements (SLAs).

Azure Cosmos DB is designed as a globally distributed database system

Turnkey global distribution

Easily build globally-distributed applications without the hassle of complex, multiple-datacenter configurations. Designed as a globally distributed database system with multi-master replication, Azure Cosmos DB automatically replicates your data to any number of regions of your choice, for fast, responsive access. Azure Cosmos DB supports transparent multi-homing and guarantees 99.999% high availability.

Azure Cosmos DB allows you to use key-value, graph, and document data in one service

Multi-model + multi-API

Only Azure Cosmos DB allows you to use key-value, graph, column-family, and document data in one service. Azure Cosmos DB automatically indexes all data, and allows you to use your favorite API including SQL, JavaScript, Gremlin, MongoDB, Apache® Cassandra, and Table Storage to access your data.

Independently and elastically scale storage and throughput with Azure Cosmos DB

Limitless elastic scale around the globe

With Azure Cosmos DB, you only pay for the throughput and storage you need. Azure Cosmos DB allows you to independently and elastically scale storage and throughput at any time, anywhere across the globe, making it a perfect fit for your serverless applications.

Five defined consistency models are offered by Azure Cosmos DB

Multiple, well-defined consistency choices

Azure Cosmos DB offers five well-defined consistency levels—strong, bounded staleness, consistent-prefix, session, and eventual—for an intuitive programming model with low latency and high availability for your planet-scale app.

Guaranteed low latency

Guaranteed low latency worldwide

Serve read and write requests from the nearest region while simultaneously distributing data across the globe. With its latch-free and write optimized database engine, Azure Cosmos DB guarantees less than 10-ms latencies on reads and less than 15-ms latencies on (indexed) writes at the 99th percentile.

Enterprise-grade, comprehensive SLAs

Industry-leading, enterprise-grade SLAs

Rest assured your apps are running on a “battle-tested” database service, built on world-class infrastructure. Azure Cosmos DB gives you enterprise-grade security and compliance, and is the first and only service to offer industry-leading comprehensive SLAs for 99.999% high availability, latency at the 99th percentile, guaranteed throughput, and consistency.

Customers using Azure Cosmos DB

What can you build with Azure Cosmos DB?

Learn about use cases below:

Globally distributed mission-critical applications

Guaranteed low latency reads and writes around the world with the high-availability and multi-master support.

Learn more

Diagram of Global Reach solution


Scale instantly and elastically to accommodate diverse and unpredictable IoT workloads with sustained write-heavy ingestion and query performance.

Diagram of IoT and Telematics solution


Generate personalized recommendations for customers in real time, using low-latency and tunable consistency settings for immediate insights.

Learn more

Diagram of Real-time Personalization solution

Retail and e-commerce

Support rich queries over diverse product catalogs, traffic spikes, and rapidly changing inventory.

Learn more

Diagram of Product Catalog solution


Elastically scale your database to accommodate unpredictable bursts of traffic and deliver low-latency multi-player experiences on a global scale.

Learn more

Diagram of Gaming solution

Serverless apps

Use Azure Functions and Azure Cosmos DB, to build globally distributed, scalable, serverless applications.

Learn more

Diagram of Serverless solution

Start developing with Azure Cosmos DB

Azure Cosmos DB is designed for developers, with support for a wide range of APIs. Watch What is Azure Cosmos DB, get started with expert tips, or learn more about what you can do with APIs and connectors.

SQL API with native JavaScript support

With the SQL API, Azure Cosmos DB provides rich and familiar SQL query capabilities with consistent low latencies over schema-less JSON data.

Gremlin API

Take advantage of native Graph API on Azure Cosmos DB without any code changes, and issue globally distributed graph queries using the Gremlin API for graph data.

{ LEAF }


Use Azure Cosmos DB as a fully managed database service for your MongoDB app, without any code changes, with native API support for MongoDB.

Table API

Use Azure Cosmos DB as a globally distributed database for your Azure Table storage-based application, without any code changes, using the Table API. You get secondary indexes, global distribution, policy-based failover capabilities, and much more.

Apache® Cassandra API

Delivering Cassandra as-a-service on Azure Cosmos DB platform. Developers can use Cassandra SDKs and tools to build applications at near-infinite global scale with SLA-backed capabilities of the Azure Cosmos DB platform.


For real-time machine learning over globally distributed datasets managed by Azure Cosmos DB, use the Spark connector to issue Apache Spark queries. The Spark connector takes advantage of native indexes managed by Azure Cosmos DB, resulting in significant performance gains.

Related products and services

Azure SQL Database

Managed relational SQL Database as a service

App Service

Quickly create powerful cloud apps for web and mobile


Provision cloud Hadoop, Spark, R Server, HBase, and Storm clusters

Explore Azure Cosmos DB and see turnkey global distribution in action