Skip to content

Mongoose

Mongoose is an open source object modeling library for MongoDB that runs on Node.js.

Active this weekCode pushed 13 hours agoStats updated 23 November 2026

Facts checked on against the sources listed at the end of this page.

On this page
Pricing
Open sourceFree plan: Yes: free and open source
Open source
YesMIT
GitHub stars
27,452−8 in the last 30 days
npm downloads a week
9.5Mup 3% on the week before
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
Available on
Node.js, MongoDB

Usage and activity

Weekly npm downloads of mongoose, last 12 months

2M4M6M8M10MOctDecMarMayJulSepNov26 October 2025: 3,563,984 downloads a week2 November 2025: 3,509,374 downloads a week9 November 2025: 3,589,878 downloads a week16 November 2025: 3,496,714 downloads a week23 November 2025: 3,701,308 downloads a week30 November 2025: 3,628,259 downloads a week7 December 2025: 4,022,057 downloads a week14 December 2025: 3,985,531 downloads a week21 December 2025: 3,775,878 downloads a week28 December 2025: 2,401,840 downloads a week4 January 2026: 2,245,794 downloads a week11 January 2026: 3,418,306 downloads a week18 January 2026: 3,661,562 downloads a week25 January 2026: 3,794,033 downloads a week1 February 2026: 3,857,318 downloads a week8 February 2026: 4,142,857 downloads a week15 February 2026: 4,196,205 downloads a week22 February 2026: 4,002,219 downloads a week1 March 2026: 4,379,912 downloads a week8 March 2026: 4,377,982 downloads a week15 March 2026: 4,608,459 downloads a week22 March 2026: 4,676,692 downloads a week29 March 2026: 4,689,610 downloads a week5 April 2026: 4,407,221 downloads a week12 April 2026: 4,693,374 downloads a week19 April 2026: 4,962,002 downloads a week26 April 2026: 4,903,188 downloads a week3 May 2026: 5,003,728 downloads a week10 May 2026: 5,203,424 downloads a week17 May 2026: 5,500,745 downloads a week24 May 2026: 5,538,265 downloads a week31 May 2026: 5,228,646 downloads a week7 June 2026: 5,578,871 downloads a week14 June 2026: 5,937,783 downloads a week21 June 2026: 6,244,107 downloads a week28 June 2026: 6,077,290 downloads a week5 July 2026: 5,760,503 downloads a week12 July 2026: 6,091,205 downloads a week19 July 2026: 6,218,851 downloads a week26 July 2026: 6,464,830 downloads a week2 August 2026: 6,692,791 downloads a week9 August 2026: 6,516,647 downloads a week16 August 2026: 6,582,408 downloads a week23 August 2026: 6,511,942 downloads a week30 August 2026: 6,864,187 downloads a week6 September 2026: 7,366,345 downloads a week13 September 2026: 7,103,712 downloads a week27 September 2026: 7,624,114 downloads a week4 October 2026: 8,056,090 downloads a week31 October 2026: 8,795,734 downloads a week7 November 2026: 8,883,585 downloads a week14 November 2026: 9,229,889 downloads a week21 November 2026: 9,491,162 downloads a week

Built with

  • JavaScript 92.2%
  • TypeScript 7.5%

Share of the code in Automattic/mongoose, as GitHub counts it.

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