Prisma ORM
by Prisma Data, Inc. · Library · also known as Prisma, Prisma Client
TypeScript ORM with a declarative schema language, generated type-safe client and migration tooling, from the company that also offers Prisma Postgres and related hosted services
Overview
Prisma ORM is an open-source object-relational mapper for Node.js and TypeScript developed by Prisma Data, Inc. under the Apache-2.0 license. A data model is written in the Prisma schema language, from which the CLI generates a typed client whose queries (find, create, update, nested relations, transactions) are checked at compile time; Prisma Migrate derives SQL migrations from schema changes, and Prisma Studio provides a graphical data browser. Supported databases include PostgreSQL, MySQL, SQLite, SQL Server, CockroachDB and MongoDB.
The company sells hosted services around the ORM: Prisma Postgres, a managed database, Accelerate for connection pooling and caching, and Optimize for query insights, billed on usage with free tiers. The ORM itself is free. Recent releases moved the query engine from a Rust binary to a TypeScript implementation, simplifying deployment on serverless and edge platforms. Gotchas documented in practice include the SQLite database path being resolved at generation time, which affects relocated deployments, and the need to regenerate the client after schema changes. Compared with Drizzle, Prisma is more abstract and beginner-friendly but less transparent about the SQL it emits.
Capabilities
- Declarative schema language with generated typed client
- Migrations derived from schema changes
- Prisma Studio graphical data browser
- Support for PostgreSQL, MySQL, SQLite, SQL Server, CockroachDB and MongoDB
- Relation queries, transactions and raw SQL escape hatch
- Optional hosted services: Prisma Postgres, Accelerate, Optimize
Typical workflows
- Model data in the schema file and generate a client for a Next.js app
- Apply migrations in CI against PostgreSQL
- Browse and edit records with Prisma Studio during development
Strengths
- Approachable, well-documented API
- Strong type safety from generated client
- Open-source ORM with optional managed services
Limitations
- Code generation step after each schema change
- Less transparent SQL than query-builder ORMs
- Hosted services are proprietary and usage-billed
Prerequisites
- Node.js or Bun with TypeScript; a supported database
Who it is for
- TypeScript full-stack developers
- Teams wanting a guided ORM experience
Alternatives & comparison
Drizzle ORM defines schemas in TypeScript and exposes a SQL-like builder with no generation step, suiting developers who want to see the SQL; Prisma trades that transparency for a higher-level API and richer tooling such as Studio and Migrate.
- Drizzle ORM
TypeScript ORM with SQL-like query builder, schema defined in code, migrations through Drizzle Kit, and support for PostgreSQL, MySQL and SQLite drivers
Open sourceOpen source
Sources & verification
Primary sources consulted for this record. Claims are tied to the fields each source supports; the automated link checker re-verifies every URL on a schedule.
- Licensehttps://github.com/prisma/orm/blob/main/LICENSEchecked Nov 1, 2026
Supports: license_spdx, source_model
Repository moved from prisma/prisma to prisma/orm
- Official documentationchecked Nov 1, 2026
- Official sitechecked Nov 1, 2026
- Pricing pagePrisma pricingchecked Nov 1, 2026
https://www.prisma.io/pricing
Supports: pricing_model
Applies to hosted services, not the ORM
- Confidence
- High
- Reviewed
- Nov 1, 2026
- Links
- Verified · Nov 2, 2026
Spotted an error?
More in Web frameworks & UI
FastAPI
Sebastián Ramírez (tiangolo) and FastAPI contributors · API development & tooling
Python web framework for building HTTP APIs from type-annotated functions, with automatic validation through Pydantic and generated OpenAPI documentation
Next.js
Vercel · Web frameworks & UI
React framework from Vercel for full-stack web applications with file-based routing, server components, server-side rendering, static generation and API route handlers
Node.js
OpenJS Foundation · Programming languages & runtimes
Server-side JavaScript runtime built on the V8 engine, governed by the OpenJS Foundation, with npm as its package ecosystem
React
Meta Open Source / React team · Web frameworks & UI
Component-based JavaScript library for building user interfaces, created at Meta, with hooks, a declarative rendering model and server components
TypeScript
Microsoft · Programming languages & runtimes
Statically typed superset of JavaScript from Microsoft that compiles to plain JavaScript and powers editor tooling across the web ecosystem
Express
OpenJS Foundation · Web frameworks & UI
Minimal, unopinionated web framework for Node.js with routing and middleware, the long-standing default for HTTP servers in the Node ecosystem