Enable light or dark mode in MDN

MDN is displayed in light mode by default. You can enable dark mode and switch back to light mode at any time on any page. This feature is available for both the free version of MDN Web Docs and all subscription tiers of MDN Plus.

To enable light or dark mode:

  1. Click Theme in the top right of any MDN page.
  2. In the menu that opens, choose between:
    • OS Default
    • Light
    • Dark

Was this article helpful?

Please wait...

These fine people helped write this article:

Illustration of hands

Volunteer

Grow and share your expertise with others. Answer questions and improve our knowledge base.

Learn More