Join us for Clerk Office Hours on September 29th at 2pm Eastern

The easy solution toNext.js authentication

Magic links, social sign-in, multifactor, and more – added to your application in minutes.

Really good stuff. The Next.js integration story is already really quite good and the Clerk team has really good ideas on how to make it even better and more seamless.

guillermo profile
Guillermo Rauch
CEO, Vercel

Clerk supportsEdge middleware

Next.js edge middleware lets you run your code wherever your users are. Clerk keeps your sessions safe and revocable. All while still letting you authenticate at the edge <1ms!

Radically Simple.

It only takes one line of code.

<SignIn />

Your sign-in flow is the only thing sitting between existing users and your application—it's absolutely critical that users can complete the process quickly.

import { SignIn } from '@clerk/nextjs';
...
return (
<>
<BackgroundImage />
<SignIn />
</>
);
...
sign-in-full

<UserProfile />

A place for your users to change their password, turn on multifactor auth, revoke bad sessions, and more. Every app should offer the best security options, so every user can be safe.

import { UserProfile } from '@clerk/nextjs';
...
return (
<>
<CustomHeader />
<UserProfile />
</>
);
...
user-profile-full

Immensely Powerful.

The features your users expect.

Magic links

Make passwords obsolete by sending your users magic links

Session management

Revocable and stateless, the best of both worlds.

Multifactor authentication

Secure your users with multiple steps during sign in.

Social sign-in

Let your users sign in with Google, Facebook, and more

Multi-session management

Allow your users to sign in to multiple accounts at once.

New device notifications

Proactively notify users when a new device signs in. Let's your users protect themself.

Password leak protection

Proactively protects your users against passwords that appear in leaks.

Advanced security

Clerk detects and blocks phishy sign ins out of the box.

Get Started

Complete user management

Clerk is the ideal solution to Next.js authentication. Integrate complete user management into your application quickly, without sacrificing security.

Documentation

Our easy-to-follow documentation will get your application working with user management and authentication quickly. Save development time with Clerk's comprehensive suite of tools.

Guide

Get a crash course in Clerk and Next.js by building a to-do app following our guide. Learn how simple and quick it is to get authentication set up in your application.

Get Started

Get started with Clerk and Next.js! We created this simple Clerk + Next.js starter repository so that you can begin building your application immediately.

Open source examples

See them in action. Then, clone and customize to make them yours.

Simple

Simple

Using Clerk Components simply.

Featuring

  • Email Magic Links

  • Sign in with Google

  • MFA w/ SMS

  • User profile component

Acme

Acme

Styling Clerk Components elegantly.

Featuring

  • Email or SMS Sign in

  • User button component

  • CSS in JS styling

  • User profile component

Widget

Widget

Collect custom fields at sign up.

Featuring

  • Email/password sign in

  • Styled components

  • Custom styling

  • Addt. sign up fields

Oasis

Oasis

Build a progressive sign up form.

Featuring

  • Email code sign in

  • User Profile

  • Fully customized

  • Addt. sign up fields

Ready to see what Clerk can do?

Start completely free for up to 500 monthly active users.
No credit card required.

Start building

Pricing

Learn more about our transparent per-user costs to estimate how much your company could save by implementing Clerk.