Wikipedia:Dark mode

From Wikipedia, the free encyclopedia

A light-on-dark color scheme (dark mode, night mode) has been suggested as an option/enhancement to Wikipedia numerous times since 2010, including on Phabricator. Wikipedia's smartphone apps offer an official night mode, but the desktop settings do not. While there is no official desktop dark mode yet, there is a gadget on English Wikipedia, and various volunteer-written CSS files that allow customization for logged-in users. More limited options exist for non-logged-in users. No current options are actively supported or maintained by the Wikimedia Foundation.

Options for logged-in users[edit]


  • Mobile users (users of the Minerva skin) can opt into advanced mode for mobile, then select "dark" from the list of color options.[1]
  • Users of the Vector 2022 skin can enable dark mode by enabling "Accessibility for reading (Vector 2022)" in the "Beta features" section of preferences, then setting the option to "dark" in the "Appearance" menu.


Dark mode gadget screenshot
WikimediaUI Dark mode gadget

There are two Gadgets that can be enabled in Preferences:

  • Wikipedia:Dark mode (gadget) - Under the "Appearance" section of the "Gadgets" tab, select the checkbox for "Dark mode toggle". Once checked, dark mode is available to toggle in the preferences portlet, located in the Upper Right-Hand corner of the page. The link to click is named "Dark mode", and is by the "Watchlist" link.
  • MediaWiki:Gadget-Blackskin.css - Also found under the "Appearance" section of the "Gadgets" tab, is the checkbox with text: "Use a black background with green text".


Apart from gadgets, another way to get a dark mode is adding custom CSS to your user style page(s). This is more complex than activating a gadget, but more flexible, allowing, for example: custom colors, custom fonts, or hiding unused UI elements. Help:User style describes the process of adding custom CSS in general. For dark mode-specific CSS, a number of options are available including:

Compatibility table
Timeless Vector (2022) Vector old (2010) MinervaNeue MonoBook
WikimediaUI Dark mode checkY checkY checkY checkY checkY
Darklands dark theme ☒N ☒N checkY ☒N checkY
DavidL's DarkTheme checkY checkY checkY checkY checkY
Tollens' dark theme ☒N checkY checkY checkY checkY
Vitaly Zdanevich's dark theme ☒N ☒N checkY ☒N ☒N

Options for unregistered users[edit]


A dark mode feature will be rolled out during 2024 as part of the mw:Reading/Web/Accessibility_for_reading project for Vector 2022 and Minerva skins.

Browser extensions[edit]

There are browser extensions for popular browsers that offer a Wikipedia-specific dark mode, and browser extensions that allow you to set custom CSS for a given domain, which could be used with the CSS available above. However, all browser extensions need to be carefully screened for security issues. Some inject advertising, and customization may be more difficult than editing a single CSS file.

There are several add-on/extension offerings on Firefox which work well. The most popular is Dark Mode for Wikipedia which uses only a single css style sheet to enable dark mode on Wikipedia. Do not install any extension or add-on that you don't trust.

Browser settings[edit]

If you use Chrome, there is also a built-in experimental/beta setting to force dark mode, set through chrome://flags/ with the description "Force Dark Mode for Web Contents - Automatically render all web contents using a dark theme". This is provided by Chrome's development team, so security should not be a concern, but this will render all web pages in dark mode. This feature is also available in Microsoft Edge, through the edge://flags/ menu.

MediaWiki dark mode options[edit]

If you manage your own wiki and have access to its files, you can install extensions and skins that support dark mode.