Skip to content

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.

By Mongoose open source contributorsOpen sourceORM

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
GitHub stars
27,455
npm downloads a week
8.8M
Latest release
8.24.813 hours ago
Releases in 90 days
10about 3 a month

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

Usage and activity

Weekly npm downloads of mongoose, last 12 months.

2M4M6M8M10MSepDecFebAprJunAugNov29 September 2025: 3,425,580 downloads a week6 October 2025: 3,463,836 downloads a week13 October 2025: 3,552,308 downloads a week20 October 2025: 3,467,598 downloads a week27 October 2025: 3,666,714 downloads a week3 November 2025: 3,499,120 downloads a week10 November 2025: 3,597,279 downloads a week17 November 2025: 3,520,741 downloads a week24 November 2025: 3,716,138 downloads a week1 December 2025: 3,611,481 downloads a week8 December 2025: 4,062,281 downloads a week15 December 2025: 3,949,009 downloads a week22 December 2025: 3,671,441 downloads a week29 December 2025: 2,292,310 downloads a week5 January 2026: 2,377,352 downloads a week12 January 2026: 3,485,925 downloads a week19 January 2026: 3,657,686 downloads a week26 January 2026: 3,784,373 downloads a week2 February 2026: 3,901,409 downloads a week9 February 2026: 4,223,231 downloads a week16 February 2026: 4,063,867 downloads a week23 February 2026: 4,150,871 downloads a week2 March 2026: 4,358,241 downloads a week9 March 2026: 4,414,206 downloads a week16 March 2026: 4,659,979 downloads a week23 March 2026: 4,641,208 downloads a week30 March 2026: 4,713,728 downloads a week6 April 2026: 4,289,373 downloads a week13 April 2026: 4,873,958 downloads a week20 April 2026: 4,955,978 downloads a week27 April 2026: 4,958,564 downloads a week4 May 2026: 4,925,376 downloads a week11 May 2026: 5,319,436 downloads a week18 May 2026: 5,493,376 downloads a week25 May 2026: 5,340,239 downloads a week1 June 2026: 5,448,577 downloads a week8 June 2026: 5,567,614 downloads a week15 June 2026: 5,941,231 downloads a week22 June 2026: 6,381,854 downloads a week29 June 2026: 5,993,633 downloads a week6 July 2026: 5,744,955 downloads a week13 July 2026: 6,169,653 downloads a week20 July 2026: 6,234,020 downloads a week27 July 2026: 6,504,785 downloads a week3 August 2026: 6,641,927 downloads a week10 August 2026: 6,596,969 downloads a week24 August 2026: 6,667,906 downloads a week31 August 2026: 6,884,625 downloads a week26 September 2026: 7,647,994 downloads a week3 October 2026: 8,004,471 downloads a week1 November 2026: 8,782,860 downloads a week

Recent releases

Mongoose alternatives

All 6 alternatives to Mongoose, side by side

Getting started

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

Mongoose: pricing, features and alternatives (2026) | ScratchDB