Skip to main content
Version: v4

Databases

NextAuth.js offers multiple database adapters. Check out the overview.

As of v4 NextAuth.js no longer ships with an adapter included by default. If you would like to persist any information, you need to install one of the many available adapters yourself. See the individual adapter documentation pages for more details.

To learn more about databases in NextAuth.js and how they are used, check out databases in the FAQ.


How to use a database​

See the documentation for adapters for more information on advanced configuration, including how to use NextAuth.js with other databases using a custom adapter.