Do You Still Need Sass in 2026? An Honest Answer

October 8, 2026  |  9 min read  |  CSS

By Syed · Frontend Engineer & Creator of UITweak

Native CSS nesting is Baseline widely available, and State of CSS 2025 measured native nesting adoption up 276% in a year. So the question is fair: is Sass done? The honest answer is it depends on what you use Sass for, and most teams have never actually audited that. Nesting was one feature of a build-time language. This guide gives you the four trip-ups that bite migrations, a one-command audit of your own codebase, and a verdict table you can decide from.

30-second version: native nesting covers nesting itself, including the relaxed syntax (Chrome 120+, Safari 17.2+). It does not cover @mixin, @each/@for, or @function. Grep your codebase for those: if they barely appear, you can likely drop Sass. Watch the BEM &__element concatenation (silently dropped natively) and the :is() specificity bump.

Trip-Up 1: BEM &__element Concatenation Silently Breaks

This is the number-one migration bug. In Sass, this generates .card__title:

// Sass: works, outputs .card__title
.card {
  &__title { font-weight: 700; }
}

Paste it into native CSS and the rule is dropped without a word. Native nesting does not concatenate; &__title never matches anything, and the browser discards the invalid rule silently. There is no console warning. Your title just loses its styles and you find out from a designer, not from DevTools.

/* native: write it out or restructure */
.card__title { font-weight: 700; }

/* or nest the full selector (valid, just verbose) */
.card {
  .card__title { font-weight: 700; }
}

If your codebase is BEM-heavy, this single difference can be the reason to keep Sass, or at least the reason the migration takes a week instead of an afternoon. Grep for &__ and &-- before you decide anything.

Trip-Up 2: The :is() Specificity Bump

Native nesting desugars through :is(): .card { .title {} } behaves like .card:is(.title). And :is() takes the specificity of its most specific argument. In practice this means nested selectors are often more specific than the flat CSS they replaced:

/* flat: specificity 0-1-0 */
.card .title { color: #111; }

/* nested: behaves like .card:is(.title) → 0-2-0 */
.card {
  .title { color: #111; }
}

A later flat override that used to win can start losing after nesting, with no visual change to the source that explains it. When a migration produces mystery specificity losses, this is usually why. Keep nesting shallow (two levels is plenty) and the bump stays harmless.

Trip-Up 3: Relaxed Syntax vs Old Chrome

The nesting you write today uses the relaxed syntax: bare element selectors nested directly, no & required:

.card {
  h2 { margin: 0; }        /* relaxed: no & needed */
  & .meta { color: gray; } /* & still fine where you want it */
}

Relaxed parsing landed in Chrome 120, Safari 17.2, and Firefox 117, while basic nesting shipped earlier (Chrome 112, Safari 16.5). If your support floor includes Chrome 112 to 119, bare-element nesting fails there while &-prefixed nesting works. The safe move: keep the & on nested selectors until your floor clears Chrome 120, or let that be one more line in the audit below.

The Audit: Grep Your Codebase

Stop debating in the abstract. Run this against your styles and read the answer:

# what does Sass actually do for you?
grep -rhoE "@(mixin|include|each|for|if|function|extend|use|forward)" src/styles | sort | uniq -c | sort -rn

# BEM concatenation that native nesting drops
grep -rn "&__\|--" src/styles | wc -l

The stay-or-leave test: if the first grep comes back nearly empty (a handful of mixins, no loops, no functions), Sass is a nesting preprocessor for you, and native nesting replaces it. If @each generates your spacing scale, @mixin builds your button variants, or @function computes your color ramps, that is build-time procedural logic CSS cannot do, and Sass stays.

Verdict Table

  • Native wins: nesting itself, readable component styles, no build step, no source maps, DevTools shows the real selectors.
  • Sass wins: @mixin with arguments, @each/@for generation, @function color math, BEM concatenation, @use namespaced modules.
  • Coming to native: if() and @function exist as proposals; no shipped versions to claim yet, so do not plan a migration around them.

The common real answer in 2026: new projects skip Sass, existing Sass codebases keep it until a redesign forces the audit. Both are defensible. What is not defensible is keeping it "because we always have" without running the grep.

Quick Recap

  1. &__element BEM concatenation is silently dropped by native nesting. Grep for it first.
  2. Nested selectors desugar via :is() and gain specificity. Keep nesting shallow.
  3. Relaxed syntax (no &) needs Chrome 120+. Keep the & until your floor clears it.
  4. Run the audit: @mixin|@include|@each|@for|@if|@function usage decides stay-or-leave.
  5. New projects: skip Sass. Existing codebases: keep it until the audit says otherwise.

What & Actually Does in Native Nesting

& is the parent selector, and native CSS lets you place it in more positions than Sass habits suggest. & + & is the "all but first" sibling pattern in a single rule. .dark & flips the relationship and styles the component when an ancestor carries the class. &:hover and &::before work exactly as they did in Sass. The one Sass habit to drop is mid-selector concatenation, which Trip-Up 1 covered: &__title matches nothing natively and dies silently. Think of & as "paste the parent selector here" and the valid positions become obvious. When in doubt, write the flat selector out. Verbose CSS that works beats clever nesting that does not.

.tab {
  padding: 0.5rem 1rem;

  /* every tab except the first */
  & + & {
    border-left: 1px solid #e2e8f0;
  }
}

/* dark-mode variant driven by an ancestor class */
.card {
  background: white;

  .dark & {
    background: #0f172a;
  }
}

Media Queries Nest Now Too

Nesting is not only for selectors. @media, @supports, and @container nest inside the rule, so the selector is written once and the conditions hang off it. This is the quiet productivity win of native nesting: responsive variants sit next to the base styles instead of in a media-query block three hundred lines away where nobody remembers them. The desugared specificity still travels through :is(), so the Trip-Up 2 warning applies here as well. Keep the nesting shallow, or a responsive override can outrank a rule it was never meant to beat.

.card {
  padding: 1rem;

  @media (min-width: 768px) {
    padding: 2rem;
  }

  @supports (text-box: trim-both cap alphabetic) {
    text-box: trim-both cap alphabetic;
  }
}

Nesting and Cascade Layers

A nested rule lives in the same cascade layer as the rule that contains it. Nesting never moves a declaration to a different layer, so @layer ordering keeps working exactly as it does for flat CSS. The interaction to watch is specificity, not layers. The :is() bump still applies inside a layer, which means a deeply nested rule can outrank a flat rule in the same layer that used to win before the migration. If you rely on layers to settle conflicts between components, nesting does not disturb that settlement. If you rely on source order and flat specificity, audit after converting. The audit grep from the main guide plus a visual regression run catches it.

Migration Playbook: File by File

Do not migrate in one heroic commit. Pick leaf components with no mixins, convert them, and run your visual regression suite after each batch. Keep one syntax per file: Sass files stay Sass until converted, then convert the whole file at once. Mixed specificity models in one file are where the mystery bugs live, and a half-converted file is worse than either pure state. For BEM codebases, write the codemod first: a script that expands &__element to the full class name is an afternoon's work and removes the biggest manual risk in the whole migration. Run the audit grep before and after. The after-run should show zero Sass directives in converted files, and your designers should notice nothing at all.

Frequently Asked Questions

Which browsers support native nesting?

Chrome and Edge 112+ (April 2023), Safari 16.5+ (May 2023), Firefox 117+ (August 2023). Baseline widely available since June 2026. The relaxed syntax needs Chrome 120+, Safari 17.2+.

Is Sass dead then?

No. The download counts you see are dominated by legacy installs, but the language still does things CSS cannot: mixins with logic, loops that generate utilities, and functions. Nesting was never the whole product.

Can I mix native nesting with Sass?

Yes, with care. Sass passes through native nesting it does not recognize, but the two specificity models and the concatenation difference make mixed files confusing. Pick one per file, not per rule.

What about PostCSS nesting plugins?

If your only Sass feature is nesting, a PostCSS nesting plugin is a lighter bridge than full Sass, and native nesting removes even that need on modern browsers. Audit first, then choose the smallest tool that covers the result.

Share this guide