Skip to content
Important
Security Advisory: React2Shell & two new vulnerabilities
Find out more
You are currently viewing the Pages Router documentation for version 15 of Next.js.

poweredByHeader

Last updated April 15, 2025

By default Next.js will add the x-powered-by header. To opt-out of it, open next.config.js and disable the poweredByHeader config:

next.config.js
module.exports = {
  poweredByHeader: false,
}

Was this helpful?

supported.