Is there a way to enable dark theme (for the browser itself) and dark mode/night mode for the displyed websites in Internet Explorer 11?


  • 2
    IE11 doesn't have a dark theme. – CaldeiraG May 16 '19 at 12:52

You might have luck with an addon (Tools -> Manage Add-Ons), if there's one there such as "Turn off the lights".

Otherwise, I hacked my own dark mode CSS file, which can be applied over the top of any website like so:

  1. Go to Tools -> Internet Options -> Accessibility (under "Appearance" section)
  2. If you click 'ignore colors specified on webpages', that affects all sorts of things including Development tools!, so instead, just click 'Format documents using my style sheet' and select your custom stylesheet

Here is my custom style sheet (create a new text file, and rename to name.css):

body:before { 
    top:50%; left: 50%;
    width:1px; height: 1px;
    outline:2999px solid invert;

HT: Lea Verou

This will totally invert all colours in all text/images (IE9+ only). Much easier than trying to specify everything.

Else, if you have access to the site itself, you can use JavaScript to toggle some different styles (ask in Stack Overflow for how to).

Internet Explorer doesn't support @media (prefers-color-scheme: dark) (and can't access any Windows settings AFAIK) so this is why the only way programmatically forward is to use a button/toggle.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.