Drizzle ORM
A strong pick. 1st of 10 ORMs and query builders.
Drizzle ORM is a TypeScript-first SQL ORM and query builder. It is small, has no dependencies, needs no code generation step and runs well on serverless and edge platforms. It is one of the two leading picks for new TypeScript projects on SQL databases. Its limits are a v1 that is still a release candidate and a large backlog of open issues.
Best for: TypeScript teams that know SQL and want typed queries that read like SQL, with no generate step, on Postgres, MySQL or SQLite, including serverless and edge runtimes.
Scores
Overall8.1
How strongly do we recommend it for a new project today?
Claude Opus 5.5: 8.0, likely 7.0 to 8.5
For a new TypeScript project on SQL, it is a strong pick and arguably the momentum leader. It has good types, a small footprint, funded maintainers and very fast growth. It stays below 9 because v1 is not yet stable, the issue backlog is large, and migrations are rougher than Prisma's. Prisma is the safer choice for teams that want a more managed ORM, and Kysely for those who want a pure query builder.
- npm downloads ratio: About 19x a year earlier, against a median of 4.1x.
- orm.drizzle.team/docs/sustainability: The core team is funded full time.
- dev.to/pockit_tools/drizzle-orm-vs-prisma-in-2026-the-honest-comparison-nobody-is-making-3n6g: Independent comparison of trade-offs with Prisma.
GPT-6.2 Sol: 8.2, likely 7.2 to 9.2
Drizzle is a strong pick for a new TypeScript SQL app that needs explicit queries, inferred types, and schema-driven migrations. Prisma is a better fit for teams that rely heavily on nested writes, and Kysely has stronger compile-time checks for complex SQL. Full-time backing and growing adoption help, while migration friction and the pending v1 transition keep Drizzle short of a category-wide default.
- github.com/drizzle-team/drizzle-orm/releases/tag/0.45.4: The stable version evaluated is 0.45.4.
- prisma.io/docs/orm/v7/prisma-client/queries/relation-queries: Prisma provides transactional nested writes.
- kysely.dev/docs/comparisons/kysely-vs-drizzle: Shows Kysely's stricter query checks and Drizzle's schema-driven migration advantage.
- planetscale.com/blog/drizzle-joins-planetscale: PlanetScale employs the core team.
- github.com/drizzle-team/drizzle-orm/issues/6589: Documents a reported migration problem during the move from 0.45.4 to v1 RC5.
- npm downloadsLast4Weeks, npm downloadsSame4WeeksYearAgo, medianDownloadsRatio: Year-over-year download growth is well above the catalog median.
Needed by many7.5
How many developers need a tool for this job?
Claude Opus 5.5: 8.0, likely 7.0 to 9.0
Most JS/TS backends and full-stack apps need to read and write a database, and SQL databases are the most common case. Drizzle covers the main SQL dialects on every major runtime. It does not cover MongoDB, which keeps it below the top of the scale.
- dev.to/pockit_tools/drizzle-orm-vs-prisma-in-2026-the-honest-comparison-nobody-is-making-3n6g: Covers Postgres, MySQL, SQLite and Turso, and runs on edge runtimes.
- category.job: Reading and writing a database is a common need.
GPT-6.2 Sol: 7.0, likely 6.0 to 8.0
PostgreSQL, SQLite, and MySQL are widely used, and Drizzle serves teams building SQL-backed apps across frameworks and runtimes. Its SQL-first API is most useful to teams comfortable with SQL. The survey measures database use across developers, so the share of JavaScript and TypeScript teams that need this particular style is an estimate.
- survey.stackoverflow.co/2026/technology/data: PostgreSQL, SQLite, and MySQL lead the 2026 database usage results.
- orm.drizzle.team/docs/overview: SQL dialect support and both SQL-like and relational query APIs.
- developers.cloudflare.com/hyperdrive/examples/connect-to-postgres/postgres-drivers-and-libraries/drizzle-orm: Cloudflare documents Drizzle on Workers.
Helps a lot8.1
How well does it do the job for those who need it?
Claude Opus 5.5: 8.0, likely 7.0 to 9.0
It has strong inferred types, a thin layer over SQL, prepared statements, low overhead and a tiny bundle, and it introspects existing databases. Its limits are migrations that are less mature than Prisma's, more manual nested writes, and reports that parts of the query builder are less strictly type-safe than Kysely. Most of the v1 work, such as the new relations API and migration engine, is still in release candidates.
- dev.to/pockit_tools/drizzle-orm-vs-prisma-in-2026-the-honest-comparison-nobody-is-making-3n6g: Small runtime and no generate step, but migrations are less mature and schemas more verbose.
- orm.drizzle.team/docs/upgrade-v1: v1 is installed from the rc tag and brings breaking relation changes.
- bluesky top posts: A user reports that the query builder is less type-safe than Kysely.
- answeroverflow.com/m/1252532571208683632: A user reports Postgres issues that stay open for a long time.
GPT-6.2 Sol: 8.1, likely 7.0 to 9.1
Stable 0.45.4 combines schema inference, composable SQL, nested reads, and generated migrations through Drizzle Kit. A PostgreSQL benchmark measured lower overhead than Prisma, TypeORM, and Sequelize for its workload. Kysely catches more query errors at compile time, and users report trouble with parallel migrations. Coding agents use Drizzle in real pull requests, but the study does not measure correctness and users report confusion over version-specific examples.
- orm.drizzle.team/docs/overview: Documents TypeScript schemas and the two query APIs.
- github.com/rogerpadilla/ts-orm-benchmark: Tests 0.45.4 against peers on a PostgreSQL workload.
- kysely.dev/docs/comparisons/kysely-vs-drizzle: Shows column comparisons that pass Drizzle's compiler checks and fail at runtime.
- reddit.com/r/javascript/comments/1wfk77e/askjs_what_orm_would_you_use: Users praise query syntax and report parallel migration friction.
- arxiv.org/html/2512.11589v2: Drizzle appeared in 97 agent-authored TypeScript pull requests.
- github.com/drizzle-team/drizzle-orm/discussions/5536: Users report confusion between stable and upcoming relation APIs.
Holds up over time7.2
Will it still be a good choice in two years?
Claude Opus 5.5: 7.0, likely 6.0 to 8.0
PlanetScale hired the whole core team in March 2026, which funds full-time work. Releases are frequent: 35 in the last year, plus v1 release candidates. Against that, v1 has taken a long time, the issue and pull request backlog is large, and the v1 upgrade breaks code. The publishing block in mid-2026, caused by npm's metadata size limit, points to a rough release process.
- orm.drizzle.team/docs/sustainability: PlanetScale employs the core team, which has five core members.
- planetscale.com/blog/drizzle-joins-planetscale: The PlanetScale post says Drizzle stays an independent open-source project.
- github openIssues/openPullRequests: 1,388 open issues and 685 open pull requests.
- raw.githubusercontent.com/QianJinGuo/wiki/main/raw/articles/blog-packument-size-limits.md: Publishing was blocked for about a month because npm's per-package metadata hit its 100 MB limit.
GPT-6.2 Sol: 7.4, likely 6.2 to 8.6
PlanetScale hired the core team in March 2026 to work on Drizzle full time, and the stable line received a patch in October. The collector recorded 35 repository commits and five npm versions over the year, with roughly 1,400 issues and 685 pull requests open. The repository release count also covers companion packages and previews. The backlog and reported v1 migration problems leave the upgrade and support outlook uncertain.
- planetscale.com/blog/drizzle-joins-planetscale: PlanetScale confirms the core team's move in March 2026.
- github commitsLastYear, releasesLastYear, openIssues, openPullRequests: 35 recorded commits and releases, with 1,388 open issues and 685 open PRs.
- npm versionsLastYear: Five npm versions recorded.
- github.com/drizzle-team/drizzle-orm/releases: October stable patch alongside companion package releases and v1 candidates.
- orm.drizzle.team/docs/relations-v1-v2: The v1 upgrade changes the relation definition API.
- github.com/drizzle-team/drizzle-orm/issues/6589: A user reports unnecessary PostgreSQL index and constraint rebuilds after upgrading to RC5.
Used widely7.5
How many use it, and is that growing?
Claude Opus 5.5: 8.0, likely 7.0 to 9.0
Downloads grew about 19x in a year, against a median of 4.1x. At 190M in 4 weeks it now leads the category, ahead of Prisma's 98M. Some of that likely comes from tools that install it as a dependency. Its 2,870 dependent repositories are far below Prisma's 43,615, which shows a smaller base of past projects but strong momentum in new ones.
- npm downloadsLast4Weeks: 190.3M, up from 9.9M a year ago.
- dependents.repos: 2,870, compared with Prisma's 43,615 and Kysely's 1,155.
- github stars: 36k stars, similar to TypeORM.
- prisma.io/blog/how-prisma-orm-became-the-most-downloaded-orm-for-node-js: July 2026 figures: Prisma 55M and Drizzle 48M.
GPT-6.2 Sol: 6.9, likely 5.4 to 8.4
Four-week installs rose from 9.95 million to 190.3 million, a 19.1× gain against the 4.1× catalog median and Prisma's 5.0×. The repository has 36,330 stars and drew more Bluesky posts than any listed peer. An independent sample of active public JS and TS repositories also ranked Drizzle first among ORMs. Ecosyste.ms found 2,870 dependent repos versus Prisma's 43,615, so incomplete coverage, repeat installs, and framework dependencies leave the number of projects choosing it directly uncertain.
- npm downloadsLast4Weeks, npm downloadsSame4WeeksYearAgo, medianDownloadsRatio: Downloads grew 19.1× against a 4.1× catalog median.
- dependents repos, dependents packages, peers: 2,870 repos and 111 packages tracked, with far fewer repos than Prisma.
- github stars, bluesky posts: 36,330 repository stars and 23 Bluesky posts.
- github.com/FarazKelhini/stack-pulse: October rolling sample ranked Drizzle first among ORMs in eligible active public repositories.
- payloadcms.com/docs/database/postgres: Payload's PostgreSQL adapter brings Drizzle into apps indirectly.
Vouched for7.5
Who stands behind it being good?
Claude Opus 5.5: 7.0, likely 6.0 to 8.0
PlanetScale backs it, Cloudflare and database vendors document it, Thoughtworks placed it in its Assess ring, and many independent comparisons recommend it. I could not confirm current survey satisfaction figures, and much of the write-up material is blog content, so the score stays below 8.
- thoughtworks.com/en-us/radar/languages-and-frameworks/drizzle: Thoughtworks Radar, Assess ring, November 2025.
- planetscale.com/blog/drizzle-joins-planetscale: A major database vendor backs the project.
- hackerNews top: Stories cover Durable Objects and D1 use with Drizzle.
GPT-6.2 Sol: 8.0, likely 6.9 to 9.0
Payload uses Drizzle for its PostgreSQL adapter, and OpenStatus depends on it for its data layer. Cloudflare and Supabase publish integration guides, and a recent PostgreSQL benchmark found low overhead. Drizzle rated 4.11 out of 5 in the 2023 State of Databases survey, but that result came from just 44 ratings. Current retention across a larger developer population remains hard to judge.
- payloadcms.com/docs/database/postgres: Drizzle powers Payload's PostgreSQL adapter.
- github.com/openstatusHQ/openstatus/blob/main/packages/db/package.json: OpenStatus lists Drizzle in its database package.
- developers.cloudflare.com/hyperdrive/examples/connect-to-postgres/postgres-drivers-and-libraries/drizzle-orm: Cloudflare maintains a Workers and Hyperdrive integration guide.
- supabase.com/docs/guides/database/drizzle: Supabase maintains a Drizzle quickstart.
- github.com/rogerpadilla/ts-orm-benchmark: Low overhead in a recent PostgreSQL comparison.
- stateofdb.com/orms: Drizzle scored 4.11 out of 5 from 44 ratings in 2023.
Safe7.7
How safe is it to depend on?
Claude Opus 5.5: 7.0, likely 6.0 to 8.0
It has zero runtime dependencies and an Apache-2.0 licence. There was one high-severity SQL injection advisory, in identifier escaping, and it was patched in 0.45.2 and the v1 betas. That risk only affected apps that passed untrusted input into sql.identifier() or .as(). No Scorecard data is available, and the habit of publishing many builds suggests the release process is not tightly controlled.
- github.com/advisories/GHSA-gpj5-g38j-94v9: CVE-2026-39356, high-severity SQL injection, patched in 0.45.2.
- npm dependencies: 0 dependencies.
- scorecard: No Scorecard data available.
GPT-6.2 Sol: 8.3, likely 7.2 to 9.3
The Apache-2.0 core has no required npm dependencies, and applications install their chosen driver separately. The single high-severity SQL injection advisory was fixed in 0.45.2 before public disclosure, so 0.45.4 includes the fix. The GitHub Actions workflow uses npm trusted publishing and the package enables provenance. The missing OpenSSF Scorecard and unclear number of people with release access limit confidence.
- npm dependencies, npm license, advisories, scorecard: Zero required dependencies, Apache-2.0, one advisory, and no Scorecard result.
- github.com/drizzle-team/drizzle-orm/security/advisories/GHSA-gpj5-g38j-94v9: Identifies 0.45.2 as the patched stable version.
- github.com/drizzle-team/drizzle-orm/releases/tag/0.45.2: March 27 patch preceded the April advisory.
- github.com/drizzle-team/drizzle-orm/blob/main/.github/workflows/release-latest.yaml: GitHub Actions runs checks and publishes through OpenID Connect.
- github.com/drizzle-team/drizzle-orm/blob/0.45.4/drizzle-orm/package.json: Stable package enables npm provenance and declares driver peer dependencies.
Good
- Schemas are plain TypeScript, and types are inferred on save without a generate step.
- The runtime is tiny and has zero npm dependencies, so it fits serverless and edge runtimes such as Workers, D1 and Durable Objects.
- It offers an API that reads like SQL and a relational query API, and covers Postgres, MySQL, SQLite, LibSQL/Turso and other dialects.
- Since March 2026 the full-time core team is funded through PlanetScale, and adoption is growing fastest in the category.
Bad
- v1 has been in beta or release candidate through 2026, with breaking API changes, while the stable latest tag is still 0.45.x.
- The backlog is large: about 1,400 open issues and 685 open pull requests, and users report small fixes left unanswered for months.
- Drizzle Kit migrations are less mature than Prisma Migrate. Users report generated SQL that needs manual fixes.
- Nested writes and complex relations take more manual code than in Prisma, and it does not support MongoDB.
The numbers
- npm downloads, 4 weeks
- 190M ×19 in a year
- GitHub stars
- 36k
- Commits, 12 months
- 35
- npm version
- 0.45.4 Oct 2026
- Versions, 12 months
- 5
- Advisories, 24 months
- 1 of 1 ever
- OpenSSF Scorecard
- None
- Licence
- Apache-2.0
Read on 21 November 2026 from GitHub (drizzle-team/drizzle-orm), npm (drizzle-orm), OSV and the OpenSSF Scorecard.
ORMs and query builders
- 8.1Drizzle ORM
- 8.0Kysely
- 7.8Mongoose
- 7.5Prisma
- 7.3MikroORM
- 6.7ZenStack
- 6.4TypeORM
- 5.9Knex.js
- 5.3Objection.js
- 5.0Sequelize