Drizzle and Kysely both give you type-safe SQL in TypeScript without hiding SQL behind a heavy abstraction, but they stop at different points. Kysely is a query builder inspired by Knex, and its docs say plainly that it builds the SQL you tell it to. Drizzle calls itself a headless ORM: on top of a SQL-like builder it adds a schema declared in TypeScript, a relational query API and drizzle-kit for migrations.
Status as of November 2026: Drizzle's latest stable release on npm is 0.45.4, while 1.0 is in release candidates (1.0.0-rc.5) after a long beta, with an upgrade guide covering v0 to v1 and Relational Queries v2. PlanetScale is listed as its primary backer. Kysely is at 0.29.8, with 0.30 in beta.
Where types come from is the main practical difference. In Drizzle the schema file is the source of types, or you generate it from an existing database with drizzle-kit pull. Kysely needs a database interface that you write by hand or generate with tools such as kysely-codegen or prisma-kysely. Migrations follow the same split: drizzle-kit diffs your schema into SQL files or pushes it straight to the database, while Kysely's Migrator runs up and down functions you write yourself.
How they compare
| Aspect | Drizzle | Kysely |
|---|---|---|
| Kind of tool | Headless ORM with SQL-like and relational APIs. | Query builder; no ORM-style relations. |
| Types from | TypeScript schema, or pulled from the database. | A Database interface you write or generate with third-party tools. |
| Nested data | Relational queries return nested results in exactly one SQL query. | jsonArrayFrom and jsonObjectFrom helpers for Postgres, MySQL and SQLite. |
| Migrations | drizzle-kit generate, migrate, push, pull and export. | Hand-written up and down functions run by Migrator, with a database lock. |
| Databases | PostgreSQL, MySQL, SQLite, SingleStore, MSSQL, CockroachDB. | Core PostgreSQL, MySQL, MSSQL, SQLite and PGlite; community dialects for D1, Neon, PlanetScale and more. |
| Runtime notes | Zero dependencies; described as serverless-ready. | Built mainly for Node.js; also runs on Deno and Bun. |
| Version and licence | 0.45.4 stable, 1.0 in RC; Apache 2.0. | 0.29.8, 0.30 in beta; MIT. |
Choose Drizzle if…
- You want the schema and types defined in one TypeScript file
- You want generated migrations from schema diffs
- You want nested relational queries without writing JSON SQL
- You want a built-in studio and push workflow for prototyping
Choose Kysely if…
- You want a query builder and nothing more
- Your schema is owned elsewhere and you generate types from it
- You prefer writing every migration by hand
- You need a community dialect such as D1, BigQuery or Clickhouse
Researched November 2026 from each product's official documentation and pricing pages. Prices and features change often, so check the vendors' sites before you decide.
Sources
- orm.drizzle.team /docs/overview
- orm.drizzle.team /docs/migrations
- kysely.dev /docs/intro
- kysely.dev /docs/dialects
- kysely.dev /docs/generating-types
- kysely.dev /docs/migrations
- kysely.dev /docs/recipes/relations
- registry.npmjs.org /-/package/drizzle-orm/dist-tags
- registry.npmjs.org /-/package/kysely/dist-tags
- github.com /drizzle-team/drizzle-orm
- github.com /kysely-org/kysely