# @sentry/nextjs

> Official Sentry SDK for Next.js

Latest version **11.6.0** (published 2026-10-08) · MIT license · 0 weekly downloads

## Install

```sh
npm install @sentry/nextjs
pnpm add @sentry/nextjs
yarn add @sentry/nextjs
bun add @sentry/nextjs
```

## Health

**Score 70/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; recently updated; high maintenance score; high quality score.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 11.6.0 |
| Published | 2026-10-08 |
| First published | 2021-03-03 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=20.19.0 <22.0.0 \|\| >=22.12.0 <23.0.0 \|\| >=23.2.0 |
| Dependencies | 15 |
| Unpacked size | 1.9 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 8751 |
| Author | Sentry |
| Maintainers | sentry-bot |

## Links

- npm: https://www.npmjs.com/package/@sentry/nextjs
- Repository: https://github.com/getsentry/sentry-javascript
- Homepage: https://github.com/getsentry/sentry-javascript/tree/master/packages/nextjs
- Issues: https://github.com/getsentry/sentry-javascript/issues
- npm.io page: https://npm.io/package/@sentry/nextjs

## Dependencies (15)

- [rollup](https://npm.io/package/rollup.md) ^4.60.3
- [@sentry/core](https://npm.io/package/@sentry/core.md) 11.6.0
- [@sentry/node](https://npm.io/package/@sentry/node.md) 11.6.0
- [@sentry/react](https://npm.io/package/@sentry/react.md) 11.6.0
- [stacktrace-parser](https://npm.io/package/stacktrace-parser.md) ^0.1.11
- [@opentelemetry/api](https://npm.io/package/@opentelemetry/api.md) ^1.9.1
- [@sentry/cloudflare](https://npm.io/package/@sentry/cloudflare.md) 11.6.0
- [@sentry/conventions](https://npm.io/package/@sentry/conventions.md) ^0.26.0
- [@sentry/vercel-edge](https://npm.io/package/@sentry/vercel-edge.md) 11.6.0
- [@sentry/server-utils](https://npm.io/package/@sentry/server-utils.md) 11.6.0
- [@sentry/browser-utils](https://npm.io/package/@sentry/browser-utils.md) 11.6.0
- [@sentry/opentelemetry](https://npm.io/package/@sentry/opentelemetry.md) 11.6.0
- [@rollup/plugin-commonjs](https://npm.io/package/@rollup/plugin-commonjs.md) 28.0.1
- [@sentry/bundler-plugins](https://npm.io/package/@sentry/bundler-plugins.md) 11.6.0
- [@sentry/server-runtime-injection](https://npm.io/package/@sentry/server-runtime-injection.md) 11.6.0

## Recent versions

- 11.6.0 (latest) — 2026-10-08
- 10.76.2 (v10) — 2026-10-08
- 9.47.2 (v9) — 2026-09-29
- 11.0.0-rc.1 (next) — 2026-09-22
- 8.55.2 (v8) — 2026-04-28
- 7.120.4 (v7) — 2025-07-29
- 11.5.0 — 2026-10-07
- 10.76.1 — 2026-10-06
- 11.4.0 — 2026-10-02
- 10.76.0 — 2026-10-02
- 11.3.0 — 2026-10-02
- 11.2.0 — 2026-10-01
- 11.1.0 — 2026-09-28
- 10.75.3 — 2026-09-23
- 11.0.0 — 2026-09-23
- … 526 more at https://npm.io/package/@sentry/nextjs/versions

## README

<p align="center">
  <a href="https://sentry.io/?utm_source=github&utm_medium=logo" target="_blank">
    <img src="https://sentry-brand.storage.googleapis.com/sentry-wordmark-dark-280x84.png" alt="Sentry" width="280" height="84">
  </a>
</p>

# Official Sentry SDK for Next.js

[![npm version](https://img.shields.io/npm/v/@sentry/nextjs.svg)](https://www.npmjs.com/package/@sentry/nextjs)
[![npm dm](https://img.shields.io/npm/dm/@sentry/nextjs.svg)](https://www.npmjs.com/package/@sentry/nextjs)
[![npm dt](https://img.shields.io/npm/dt/@sentry/nextjs.svg)](https://www.npmjs.com/package/@sentry/nextjs)

The official Sentry SDK for monitoring Next.js applications.

## Documentation

- [Getting started](https://docs.sentry.io/platforms/javascript/guides/nextjs/)
- [Configuration](https://docs.sentry.io/platforms/javascript/guides/nextjs/configuration/)

## Support

- [Report a bug](https://github.com/getsentry/sentry-javascript/issues/new/choose)
- [Contributing](https://github.com/getsentry/sentry-javascript/blob/develop/CONTRIBUTING.md)

---
_Source: https://npm.io/package/@sentry/nextjs · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
