sequelize vs typeorm

typeorm is downloaded 1.5× more often than sequelize (18,073,696 vs 12,085,864 per month), so it has the larger community and more answered questions online. typeorm ships 32% less gzipped JavaScript (146.6 kB vs 216.3 kB), which matters if bundle size is a priority. Both projects are actively maintained.

Metricsequelizetypeorm
Weekly downloads2,814,4254,208,495
Monthly downloads12,085,86418,073,696
GitHub stars30,34936,520
Minified size1364.2 kB692.3 kB
Minified + gzipped216.3 kB146.6 kB
Dependencies1610
Open issues1,033546
Last commit2026-06-012026-05-28
Latest version6.37.81.0.0
LicenseMITMIT

When to choose which

sequelize

The long-standing SQL ORM for Node.js.

Choose it when: Mature SQL projects with a large existing community and plenty of examples; less ideal if you need strong static types.

  • + Very mature
  • + Big community
  • + Broad SQL support
  • - Weaker TypeScript story
  • - Verbose

typeorm

Decorator-based ORM, popular with NestJS.

Choose it when: Decorator/entity style (e.g. NestJS apps) where you want both Active Record and Data Mapper patterns.

  • + Decorator entities
  • + NestJS-friendly
  • + Active Record + Data Mapper
  • - Uneven maintenance history
  • - Runtime/type edge cases

Feature comparison

Featuresequelizetypeorm
ApproachORMORM
Type safetyPartialDecorators
Built-in migrations✓ Yes✓ Yes
DatabasesSQL onlySQL + MongoDB
PatternActive RecordActive Record / Data Mapper

sequelize

Sequelize is a promise-based Node.js ORM tool for Postgres, MySQL, MariaDB, SQLite, Microsoft SQL Server, Amazon Redshift and Snowflake’s Data Cloud. It features solid transaction support, relations, eager and lazy loading, read replication and more.

typeorm

Data-Mapper ORM for TypeScript and ES2023+. Supports MySQL/MariaDB, PostgreSQL, MS SQL Server, Oracle, SAP HANA, SQLite, MongoDB databases.

Related comparisons

Embed this comparison

A live badge for your README — it updates as the numbers change.

sequelize vs typeorm downloads
[![sequelize vs typeorm](https://devcompare.dev/badge/sequelize-vs-typeorm.svg)](https://devcompare.dev/compare/sequelize-vs-typeorm)

Data from npm, Bundlephobia and GitHub. Last updated 2026-06-02.