A static Next.js site is a website built with Next.js where every page is turned into plain HTML at build time, then served from a content delivery network. There is no server building pages on each visit, no database for attackers to reach, and very little that can break. For most business websites, that means faster pages, lower hosting costs and much less maintenance.
I build my own site and many client sites this way. It is not right for everything. If your team edits content daily without a developer, or the site needs live data on every request, you need more than static files. But for a typical company site, portfolio, landing page or documentation site, static is the best default I know.
Here is what it means, why it works, and where its limits are.
What "static" means in practice
There are two ways to deliver a web page:
- Dynamic: when someone visits, a server runs code, often queries a database, builds the HTML, and sends it. WordPress works this way unless a cache steps in.
- Static: the HTML is built once, ahead of time, and the same file is sent to every visitor.
Static does not mean boring or unchanging. The site can still have animations, forms, search, interactive tools and content that updates when you publish. It just means the pages themselves are pre-built.
Next.js supports this in two ways. With the App Router, pages that do not use request-time data are pre-rendered at build time automatically. And with static export, the whole site is output as a folder of HTML, CSS and JavaScript files that can be hosted anywhere. The configuration is one line:
// next.config.mjs
const nextConfig = {
output: 'export',
images: { unoptimized: true },
};
export default nextConfig;Running next build then produces an out folder you can upload to any static host. The images setting is needed because Next.js's default image optimiser runs on a server; with static export you optimise images at build time or use a custom loader.
Reason 1: It is fast by default
Speed problems on most sites come from three places: a slow server, too much JavaScript, and heavy images. A static Next.js site removes the first one entirely, because there is no server work per request. The HTML comes straight from a CDN edge location near the visitor.
Next.js also splits JavaScript by page, so each page loads only what it needs, and React Server Components let much of the page render to HTML without shipping its code to the browser at all.
That makes passing Core Web Vitals far easier. Time to First Byte is consistently low, which gives Largest Contentful Paint a head start. If those terms are new, my guide to Core Web Vitals for business owners explains them.
Reason 2: Very little to attack
A static site has no login page on the public website, no database, no plugins and no admin area to brute force. Attackers have almost nothing to work with.
Compare that with the hacked WordPress sites I clean, which nearly always come down to an outdated plugin or weak password. A static site does not have those entry points. You still keep dependencies updated when you change the site, but a static site does not slowly become riskier while it sits untouched.
Reason 3: Hosting is cheap and reliable
Static files are the easiest thing on the internet to host. Options include Vercel, Netlify, Cloudflare Pages, GitHub Pages, AWS S3 with CloudFront, or any basic web server. Many have free or low-cost tiers for small sites. Check current pricing, as plans change.
Because files are served from a CDN, a sudden traffic spike from an ad campaign or a news mention does not take the site down. There is no server to overload.
Reason 4: Low maintenance
With WordPress, you need regular updates for core, theme and plugins, plus backups and monitoring. With a static site, the deployed files simply keep working. The code lives in a Git repository, which is itself a full history and backup of the site.
When you want a change, the developer updates the code or content, the site rebuilds in a minute or two, and the new version goes live. If something is wrong, rolling back to the previous version is one click on most hosts.
Deployments are also safer. Most hosts create a preview link for every change before it goes live, so you can check a new page on your phone first. Nothing reaches visitors until you approve it.
Reason 5: Total design freedom
There is no theme fighting you and no page builder adding layers of markup. The design can be exactly what your designer drew, and the HTML stays clean, which also helps SEO and accessibility.
It also means the site can grow. If you later need a client portal or a small web app, the same Next.js codebase can move from static export to a server deployment without starting again. You keep the design, components and content you already paid for.
The honest limits
Static export does not support everything Next.js can do. Things that need a server at request time are not available:
| Feature | Works with static export? | Alternative |
|---|---|---|
| Pages, blog, case studies | Yes | |
| Contact forms | Yes, via a form service or serverless function | Formspree, a host's form handling, or an API elsewhere |
| Site search | Yes, with a client-side search index | Pagefind or a hosted search service |
| Built-in image optimisation | No | Optimise at build time or use a custom loader |
| Server Actions and route handlers using request data | No | A separate API or serverless functions |
| Proxy (formerly Middleware) and per-request redirects | No | Host-level redirect rules |
| Incremental Static Regeneration | No | Rebuild on publish |
| User logins and dashboards | Not on the server | Use a full Next.js deployment instead |
The full list is in the Next.js static exports guide.
The other limit is editing. Out of the box, content lives in files, so changes need a developer. For many businesses that update the site a few times a year, that is cheaper than maintaining a CMS. If you publish weekly, add a headless CMS so editors get a dashboard, and trigger a rebuild when they publish.
When static is not the right choice
Choose something else if:
- Non-technical staff need to build new page layouts themselves every week
- Every page depends on live, personalised data
- The project is really a web app with logins and dashboards
- You need a large plugin ecosystem, such as bookings or memberships, without custom development
In those cases, WordPress or a full server-rendered Next.js app may fit better. I compare the options in Next.js vs WordPress for business websites.
The short version
- A static Next.js site pre-builds every page and serves it from a CDN.
- It is fast by default, very hard to hack, cheap to host and low on maintenance.
- Static export has limits: no server-side features at request time and no built-in image optimisation.
- Content editing needs a developer or a headless CMS.
- For most company sites, portfolios and landing pages, it is an excellent default.
If you are planning a new site and want to know whether static fits, my Next.js development service starts with exactly that question. Contact me with what the site needs to do.