Mongoose
Mongoose is an open source object modeling library for MongoDB that runs on Node.js. It gives you schemas with built-in type casting, validation, query building and business logic hooks. It is free under the MIT license, and the current major version is 9.
Facts checked on against the sources listed at the end of this page.
- Pricing
- Open sourceFree plan: Yes: free and open source
- Open source
- YesMIT
A good fit for
- Node.js apps that use MongoDB and want enforced schemas
- Teams that want validation and hooks close to the data model
- Projects that benefit from a large plugin directory
Not a good fit for
- SQL databases: Mongoose only targets MongoDB
- Apps that want fully schemaless documents with no model layer
- Teams that need a paid support contract from the project itself: support is community based or through Tidelift
Mongoose pricing
Mongoose is free and open source. You pay only for the MongoDB database you use it with, and the project is also funded through OpenCollective.
Prices in USD, checked on 14 October 2026. Current prices on mongoosejs.com.
Main features
- Schemas
- Define the shape of documents for each model.
- Type casting
- Values are converted to the schema type.
- Validation
- Built-in validators on schema fields.
- Query building
- Chainable queries on models.
- Hooks
- Business logic hooks around saving and other operations.
- Plugins
- A plugin system with a directory of community plugins.
About Mongoose
MongoDB stores documents without a fixed shape. Mongoose adds a schema layer on top: you define the fields of a model, and Mongoose casts types, validates data and builds queries for you.
The project site describes it as elegant MongoDB object modeling for Node.js and shows version 9.11.1 as current. Its code is hosted on GitHub under the Automattic organization.
Support options listed on the site include Stack Overflow, GitHub Issues, MongoDB Support and a Tidelift subscription.
- Made by
- Mongoose open source contributors
- Free plan
- Yes: free and open source
- Available on
- Node.js, MongoDB
Mongoose alternatives
Getting started
Install Mongoose.
npm install mongoose
Questions about Mongoose
Is Mongoose free?
Yes. It is open source under the MIT license.
What is the latest version of Mongoose?
The project site shows version 9.11.1 as of October 2026.
Does Mongoose work with SQL databases?
No. Mongoose is for MongoDB. Sequelize is a common ORM for SQL databases on Node.js.
Is Mongoose an ORM?
It is an object modeling library for MongoDB, often called an ODM, which maps documents instead of table rows.
Sources and links
Work on Mongoose? Claim this listing. Something wrong or out of date? Suggest a correction. Stats come from the public GitHub and npm APIs and update every day.