Docs Menu

Docs HomeMongoDB Compass

Create a Collection with Queryable Encryption

On this page

  • Procedure
  • Restrictions and Limitations

Queryable Encryption allows you to encrypt a subset of fields in your collection.


From the Collections screen, click the Create Collection button.


Check the Queryable Encryption option.


Specify which fields should be encrypted and whether they should be queryable.

The following fields must be used if no existing keyId was specified for at least one encrypted field, and have no effect otherwise:


Your collection will be marked by a Queryable Encryption badge.

  • Your deployment must be connected using In-Use Encryption to encrypt your collection using Queryable Encryption.

  • Custom collation is the only Advanced Collection Option that can be used alongside Queryable Encryption.

←  Create a Clustered CollectionCreate a Time Series Collection →
Share Feedback
© 2023 MongoDB, Inc.


  • Careers
  • Investor Relations
  • Legal Notices
  • Privacy Notices
  • Security Information
  • Trust Center
© 2023 MongoDB, Inc.