Dark Mode for Websites in Safari: How to Enable
In this article
This guide shows you how to force websites to display in dark mode within Safari on both Mac and iPhone/iPad. By the end, you'll have a consistent dark browsing experience even on sites that don't offer their own dark theme. No special extensions are needed—just built-in Safari settings and a couple of system tweaks.
What You'll Need
- A Mac running macOS Catalina (10.15) or later, or an iPhone/iPad with iOS 13 or later.
- The latest version of Safari (check App Store or System Preferences/Software Update).
- For the best results, your device's system appearance should be set to Dark Mode (see Step 1).
Step-by-Step
- Enable Dark Mode on your device (system-wide).
- On Mac: Go to System Settings (or System Preferences on older macOS) → Appearance → select Dark.
- On iPhone/iPad: Open Settings → Display & Brightness → tap Dark.
- Enable “Always Use Dark Mode” in Safari's advanced settings (Mac only).
- Open Safari, then go to Safari menu → Settings (or Preferences).
- Click the Advanced tab.
- At the bottom, check the box next to “Use dark mode when available” (or similar wording). This forces Safari to apply dark mode even if your system appearance is set to Light.
- Force dark mode on all websites using a Safari extension (Mac and iOS).
- On Mac: Install a free extension like Dark Reader or Night Eye from the Mac App Store. After installation, enable it in Safari: Safari menu → Settings → Extensions → check the box for the extension.
- On iPhone/iPad: Install the same extension from the App Store, then go to Settings → Safari → Extensions → enable it. The extension will add a toolbar button to toggle dark mode per site.
- Use Safari's built-in Reader View for a dark reading experience (all devices).
- Open an article page, then tap/click the Reader View icon (looks like lines of text) in the address bar.
- In Reader View, the page background will follow your system dark mode setting. This works even on sites that don't support dark mode.
- For stubborn sites that ignore dark mode, use the “Force Dark Mode” flag (macOS only).
- In Safari, go to Develop menu → Experimental Features → enable “Force Dark Mode”. (If you don't see the Develop menu, enable it in Safari → Settings → Advanced → check “Show Develop menu in menu bar”.)
- This applies a system-level dark overlay to all websites, regardless of their own styles. It can sometimes break layout, so use it selectively.
Common Mistakes
- Forgetting to set system appearance to Dark. Many sites only switch to dark mode when your device is in dark mode. If you leave it on Light, most sites will stay light.
- Enabling the “Use dark mode when available” option but not also setting the system to Dark. This option only affects sites that already support dark mode; it doesn't force dark on all pages.
- Installing an extension but not enabling it in Safari's extension settings. After installing, you must manually toggle it on in Safari's preferences.
- Using the “Force Dark Mode” experimental flag on every site. It can cause text and images to appear inverted or washed out. Use it only on sites that are otherwise unreadable.
Tips
- If you use a Mac, the Dark Reader extension gives you granular control: you can adjust brightness, contrast, and even exclude specific sites from dark mode.
- On iOS, you can set Safari to automatically use Reader View for all articles: Settings → Safari → Reader → enable “All Websites”.
- For sites that offer their own dark mode toggle (e.g., YouTube, Twitter), look for a sun/moon icon in the site's toolbar—it will override your system setting.
- If you prefer a schedule, set your device to automatically switch between Light and Dark at sunset: Settings → Display & Brightness → Automatic (iOS) or System Settings → Appearance → Auto (macOS).
Troubleshooting
- Websites still show white background after enabling dark mode. First, confirm your system appearance is Dark. Then check if the site has its own dark mode toggle. If not, install a dark mode extension or use Reader View.
- The “Use dark mode when available” checkbox is greyed out. This happens when your system appearance is already Dark. That's fine—the feature is already active.
- Extensions don't appear in Safari on iOS. Make sure you're running iOS 15 or later, and that the extension is compatible with Safari. Restart Safari after installation.
- Text becomes unreadable or images look weird with the Force Dark Mode flag. Disable the flag for that site or turn it off entirely. Use a per-site extension instead.
- Dark mode works in Safari but not in other apps. That's normal—Safari's dark mode is separate from system-wide dark mode. Other apps need their own settings.
Frequently Asked Questions
Will dark mode in Safari drain less battery?
On OLED screens (like most modern iPhones), dark mode can reduce battery usage because black pixels are turned off. On LCD screens (like many Macs), the difference is negligible.
Can I set dark mode for just one website?
Yes, with a Safari extension like Dark Reader, you can exclude or include specific sites. Without an extension, you can use Reader View for that site, which will follow your system dark mode.
Does Safari's dark mode affect images and videos?
No, dark mode only changes the background and text colors. Images and videos remain unchanged unless the website itself provides a dark filter.
Why do some websites ignore dark mode even when I've enabled it?
Websites must explicitly support dark mode via CSS. If they don't, they'll stay light. Using an extension or the Force Dark Mode flag can override this.
Can I use dark mode in Safari on an older Mac?
Dark mode requires macOS Catalina (10.15) or later. If you have an older OS, you can still use a third-party extension that applies a dark overlay, but it won't be as seamless.
Is there a way to schedule dark mode only in Safari?
Not directly. Safari follows your system appearance. You can schedule your system to switch to dark at a certain time, and Safari will follow.