All articles
CSS frameworks

Tailwind CSS Responsive Breakpoints Explained

How Tailwind's responsive prefixes and default breakpoints work, how to customize them, and how to test utility-driven responsive UI fast.

7 min read - Updated 2026-06-15

Use this guide as a compact release reference, then validate the same breakpoints in Sizzy with synchronized devices and screenshot evidence.

Tailwind breakpoints are mobile-first prefixes

In Tailwind, an unprefixed utility applies at every width, and prefixes like md: apply from that breakpoint up. So text-sm md:text-base means small text on mobile and base text from 768px and wider. This mobile-first model is consistent and means you rarely write raw media queries by hand.

sm: 640px, md: 768px, lg: 1024px, xl: 1280px, 2xl: 1536px

Unprefixed utilities are the mobile base

Prefixed utilities apply from that breakpoint upward

Stack prefixes to step a value up across widths

Customize breakpoints in your config

The default scale is a starting point, not a mandate. You can override or extend it in your Tailwind config to match your design system, and add custom breakpoints like 3xl or a max-width variant when a layout needs it. Keep the set small and meaningful so utility classes stay readable.

Override theme.screens to replace the default scale

Use theme.extend.screens to add without losing defaults

Add max-* variants for desktop-first ranges when needed

Keep custom breakpoints documented in your design tokens

Verify utility responsiveness across devices

Because Tailwind responsiveness lives inline in your markup, it is easy to miss a missing prefix on one element. Viewing the page across breakpoints simultaneously surfaces these gaps immediately. Sizzy shows your localhost on phone, tablet, and desktop together with hot reload, so a class change is verified everywhere the moment you save.

Open one viewport per Tailwind breakpoint

Scan for elements that forgot a responsive prefix

Confirm spacing and grid utilities step correctly

Hot-reload updates every device as you tweak classes

Release checklist

Treat unprefixed utilities as the mobile base.

Keep your custom breakpoint set small and documented.

Check every default breakpoint after a layout change.

Test utility changes live across multiple devices.

Frequently asked questions

What are Tailwind's default breakpoints?

Tailwind ships with sm (640px), md (768px), lg (1024px), xl (1280px), and 2xl (1536px). All are min-width based, so a prefix like lg: applies from 1024px and wider in Tailwind's mobile-first model.

How do I add a custom Tailwind breakpoint?

Add it under theme.extend.screens in your Tailwind config to keep the defaults, or under theme.screens to replace them entirely. You can also define max-width variants for desktop-first ranges.

Is Tailwind mobile-first?

Yes. Unprefixed utilities apply at all widths and serve as the mobile base, while breakpoint prefixes add styles as the screen grows. This is the same min-width approach recommended for hand-written CSS.

Related guides