Skip to Content
Clerk logo

Clerk Docs

Ctrl + K
Go to


Clerk makes it simple to add authentication to your Next.js application. Looking to get started? Check out our getting started guide. If you want to learn more about the capabilities and methods available from Clerk's Next.js SDK, check out the reference content below.


The authMiddleware() helper integrates Clerk authentication into your Next.js application through middleware. It allows you to integrate authorization into both the client and server of your application. You can learn more here.

Client-side helpers

Because Clerk Next.js is a wrapper around Clerk React, you can utilize the hooks that Clerk React provides. These hooks give you access to the Clerk object, and a set of useful helper methods for signing in and signing up. You can learn more about these hooks here.

App Router

Clerk provides first-class support for the Next.js App Router. The below methods and references show how to integrate Clerk features into applications that take advantage of the latest App Router and React Server Components features.

Pages Router

Clerk continues to provide drop-in support for the Next.js Pages Router. In addition to the main Clerk integration, several methods are available for instrumenting authentication within Pages Router-based applications.

Other useful resources

What did you think of this content?

Clerk © 2023