Skip to content
Important
Security Advisory: CVE-2025-66478
Find out more
You are currently viewing the Pages Router documentation for version 13 of Next.js.

poweredByHeader

Last updated June 28, 2023

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.