LAUNCHMongoDB 8.3 is built for the sub-100ms retrieval & zero downtime AI demands. Read blog >
AI DATAStop fighting your data layer. Get the memory & retrieval agents need to scale. Read blog >

MONGODB SECURITY

MongoDB Data Encryption

Protect data in transit, at rest, and in use with MongoDB’s robust encryption, supporting security across the entire data lifecycle.

Get Started
MongoDB Security Hub

Encryption in transit

Encryption in transit protects data as it moves between clients, applications, and database servers, preventing unauthorized access or tampering. In MongoDB Atlas, all network traffic is automatically encrypted using Transport Layer Security (TLS), enabled by default and required for every connection. The current default is TLS 1.2. Communication between Atlas cluster nodes is also secured with TLS to ensure data remains protected at every step.

MongoDB Enterprise Advanced also supports encryption in transit using TLS.

Learn more about Encryption in Transit →

 

Encryption at rest

Encryption at rest protects stored data by encrypting database files on disk, adding a critical layer of defense. In MongoDB Atlas, all customer data is automatically encrypted at rest with AES-256, leveraging the cloud provider’s native disk encryption and key management. Atlas also supports database-level encryption with customer-managed keys through AWS Key Management Service (KMS), Google Cloud KMS, or Azure Key Vault.

MongoDB Enterprise Advanced provides at-rest encryption through the WiredTiger storage engine with AES-256, configurable with a KMIP-compliant key management provider.

Encryption at Rest → MongoDB Enterprise Advanced and MongoDB Atlas

 

Encryption in use with Queryable Encryption

Encryption in use protects sensitive data while it is actively being processed by the database. This enables information to remain secure throughout its entire lifecycle beyond encryption at rest and in transit. MongoDB delivers this capability through Queryable Encryption, a groundbreaking, industry-first in-use encryption technology.

Queryable Encryption enables customers to encrypt sensitive application data, store it securely in an encrypted state in MongoDB, and perform expressive queries directly on the encrypted data. Prefix, suffix, and substring queries are supported in public preview, in addition to equality and range.

With Queryable Encryption, organizations can perform flexible text searches on encrypted data, such as matching partial names, keywords, or identifiers, without ever exposing the underlying information. Other key benefits include:

  • Stronger data protection: Keep sensitive data encrypted during queries, reducing the risk of exposure and minimizing reputational or financial impact from security incidents.
  • Enhanced regulatory compliance: Maintain encryption across the entire data lifecycle to help meet requirements such as GDPR and HIPAA, avoiding fines and strengthening customer trust.
  • Improved operational efficiency: Protect data without relying on custom search solutions or external tools, reducing infrastructure complexity while maintaining application performance.
  • Seamless developer experience: Queryable Encryption integrates natively into MongoDB’s query language, enabling advanced encrypted search without the need to rewrite application code.
  • Integrated protection: Included with MongoDB at no additional cost, providing built-in encryption without requiring third-party solutions.

Learn more –> Queryable Encryption

Resources

mdb_querying_encrypted_data

Cryptography Research Group

Read about cutting-edge research and the latest innovations in cryptography and encrypted search.

Learn more
enterpriseadvanced_security

Advancing Encryption in MongoDB Atlas

Read about how MongoDB secures data at rest with customer-managed keys and in transit with TLS.

Read the blog post
cloud_manager

Encryption at rest in Atlas using customer key management

Configure encryption at rest with your encryption keys using AWS KMS, Google Cloud KMS, and Azure Key Vault.

Read the documentation
general_security_privacy

Queryable Encryption Technical Paper

Take a deeper look at Queryable Encryption, its design goals, threat models, and security guarantees.

Download Paper
general_security_encrypted_storage

Queryable Encryption Datasheet

Learn more about how Queryable Encryption enables expressive queries on encrypted data.

Read the datasheet
general_security_encryption

Client-Side Field-Level Encryption

Learn more about how to encrypt sensitive fields from the client side before you send it over the network to MongoDB.

Read the documentation

FAQ

Contact us anytime for more information on how to help my organization with strong technical controls.
Contact Us