Skip navigation

Azure Cosmos DB

Globally distributed, multi-model database service

A database for low latency and scalable applications anywhere in the world, 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 across any number of Azure regions by transparently scaling and replicating your data wherever your users are. Elastically scale throughput and storage worldwide, and only pay 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-data centre configurations. Designed as a globally distributed database system, 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 favourite API including SQL, JavaScript, Gremlin, MongoDB, Apache® Cassandra and Azure 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 ally 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 in the 99th percentile

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

Enterprise-grade, comprehensive SLAs

Industry-leading, enterprise-grade SLAs

Rest assured that 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 in 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

Guarantee access to users around the world with the high-availability and low-latency capabilities built into Microsoft’s global data centres.

Learn more

Diagram of Global reach solution


Scale instantly and elastically to accommodate diverse and unpredictable IoT workloads without sacrificing ingestion or query performance.

Diagram of IoT and Telematics solution


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

Learn more

Diagram of Real-time personalisation solution

Retail and e-commerce

Support in-depth queries over diverse product catalogues, traffic spikes and rapidly changing inventory.

Learn more

Diagram of Product catalogue 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 Introducing Azure Cosmos DB, get started with expert tips or learn more about what you can do with APIs and connectors.

SQL and JavaScript APIs

Azure Cosmos DB has native support for SQL and JavaScript APIs.

Gremlin API

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

{ 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.

Azure Table storage APIs

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

Deliver Cassandra as a service over the power of Azure Cosmos DB. Use Cassandra SDKs and tools to build applications at near-infinite global scale with SLA-backed capabilities of the Azure Cosmos DB platform.

Apache® Spark

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