All posts

Astro vs Next.js for a business website: which loads and ranks better?

For a marketing or content site, Astro usually loads faster and is easier to keep fast, because it ships almost no JavaScript by default. Next.js is the better choice for app-like sites with logins, dashboards and lots of interactivity.

For a marketing or content website, Astro usually loads faster and is easier to keep fast, because it ships almost no JavaScript by default. Both can rank well. Next.js is the better choice when your site behaves like an app: logins, dashboards, personalised pages and heavy interactivity.

"next js vs astro seo" and "next js vs astro performance" are both common searches. I build client sites in Astro, so here's the comparison with sources, not just preference.

The core difference

  • Astro is built for content. Pages are HTML by default, and JavaScript loads only for interactive "islands".
  • Next.js is built on React for applications. It can render HTML on the server, but React's runtime ships to the browser so the page can become interactive.

That one design decision explains most of the speed difference.

Diagram of a web page where every block is plain HTML except one highlighted interactive island that loads JavaScript
Islands architecture: the page is HTML, and only the interactive part loads code.

How much JavaScript each ships

Benchmarks vary, but they point the same way:

  • A LogRocket comparison puts a typical Next.js content page at roughly 90 to 130 KB of framework JavaScript before your own code.
  • Several 2026 write-ups put Astro content pages close to zero JavaScript by default, for example this DEV comparison.

These are blog benchmarks, not lab science, so test your own site. But the direction is consistent: for a page that's mostly text and images, Astro sends far less code.

Column chart: Astro ships about 0 to 15 KB of framework JavaScript on a content page, Next.js about 90 to 130 KB
Less code means faster pages on phones.

Core Web Vitals in the real world

An analysis cited by Bejamas found a much higher share of real-world Astro sites passing Core Web Vitals than Next.js sites. Bejamas is an agency that works with both, and the figures come from aggregated public data, so treat them as indicative. The reason is intuitive: less JavaScript means faster interaction (INP) and fewer chances to block rendering.

My own measured example: when I moved Iceberg Quest from WordPress to Astro, main content appeared in 1.4 seconds instead of 11.0, measured with Lighthouse on 8 November 2026. That wasn't a Next.js comparison, but it shows what a content-first framework does.

SEO

Both can be excellent for SEO when rendered on the server or at build time:

  • Titles, descriptions, canonicals and structured data: both give full control.
  • Sitemaps: both have integrations.
  • Speed: Astro is easier to keep fast as a site grows.
  • Crawlers: both produce HTML when configured properly. A Next.js site rendered only in the browser would be a problem, but that isn't the default for content pages.

So the SEO difference is mostly about speed and how much care it takes to stay fast.

Hosting and cost

Developer experience

  • Astro: simple components, Markdown and CMS content, and the option to use React, Vue or Svelte only where needed.
  • Next.js: the full React ecosystem, server components, API routes and app-style routing. More power, more complexity.

When to choose Astro

  • Marketing sites, service businesses, portfolios, blogs and documentation.
  • You want the fastest pages with the least effort.
  • You want cheap or free hosting.
  • Content lives in a CMS like Sanity.

When to choose Next.js

  • A web app with logins, user dashboards and personalised content.
  • Heavy interactivity on most pages.
  • A team already deep in React and Vercel.
  • You need server features on many pages.
Two lists: when to choose Next.js and when to choose Astro
You can also run both: Astro for the site, Next.js for the app.

Can you mix them?

Yes. Plenty of businesses run an Astro marketing site at the root domain and a Next.js app at app.yourdomain.com. Each does what it's best at.

What I'd do for a small business

For a business website that needs to bring in enquiries, I'd choose Astro nine times out of ten. It's what I use, and it's why I can keep running costs close to zero for clients. See What is Astro? and The best CMS for Astro in 2027.

A quick decision checklist

  1. Will most pages be read rather than used? Astro.
  2. Do users log in to do things? Next.js, at least for that part.
  3. Do you need free or very cheap hosting? Astro.
  4. Is your team already building React apps? Next.js may be simpler for them.
  5. Is speed on mid-range phones critical? Astro is easier to keep fast.

What it costs to run each

An Astro marketing site: static files on a free or cheap host, a CMS like Sanity on its free plan, and a domain. Many small businesses pay close to nothing a month after the build.

A Next.js site: free on Vercel's hobby tier for personal projects, but businesses usually need a paid plan, and server features add usage costs as traffic grows. Self-hosting is possible, with more setup.

For a site that's mostly content, those running costs are a real reason to choose Astro.

Migrating between them

Moving a content site from Next.js to Astro is usually straightforward: React components can often be reused as islands, and content can stay in the same CMS. Moving the other way makes sense when a marketing site grows into an application. Either way, plan redirects for any URL that changes.

Frequently asked questions

Is Astro faster than Next.js?

For content sites, usually, because it ships much less JavaScript by default. For app-like sites, the gap narrows.

Is Next.js bad for SEO?

No. Server-rendered Next.js pages are great for SEO. It simply takes more care to keep them as light as Astro pages.

Can Astro do what Next.js does?

Astro has server rendering and API endpoints, so it can handle many dynamic features. For a full application, Next.js is often a better fit.

Sources

Work with Jeo Web Studio

Tell us about your business and what you want the site to do. Rough notes are fine. We will reply with honest advice, a plan and a fixed price, or tell you plainly if we are not the right fit.

Book a discovery call

A free 30 minute video call. Talk it through before you commit to anything.

Pick a time

Or tell us about your project

We only use your details to reply. See our privacy policy.