In Microsoft 365 for Windows, go to File → Options → General, set Office Theme to Black and click OK. Then click View → Switch Modes to turn the cells dark as well; click it again to switch the grid back to white.
Switch Modes only appears with the Black theme. With Dark Gray, or in Excel 2021 and earlier, only the ribbon and menus go dark and the cells stay white. Right-click Switch Modes and choose Add to Quick Access Toolbar for a one-click toggle.
On a Mac, Excel follows the macOS appearance unless Turn off Dark Mode is ticked under Excel → Settings → General. The ribbon goes dark but the cells stay white.
The Office theme also changes Word, PowerPoint and Outlook. Switch Modes changes only how the sheet looks on your screen. A dark background image with a white theme font is different: other people see it too, and it can print as blank-looking pages, because sheet backgrounds don’t print but the white text does.
These days, almost every application allows you to change its appearance to dark mode, and in the same way, Excel (Office) allows you to switch to dark mode. In this tutorial, we will learn to activate it, including the newer option in Microsoft 365 that turns the cells dark as well.
Steps to Activate the Dark Mode
- First, click on the File Tab.

- And open the Excel options.

- Now, in the “General” tab, go to “Personalize your copy of Microsoft Office”.

- From the “Office Theme” drop-down, select “Black”.

- In the end, click “OK”.

When you click OK, it applies dark mode to Excel, leaving the spreadsheet part as it is. But the rest of the window will be entirely black.

There’s one thing you need to know: when you change Excel’s appearance, it also makes changes to other Office applications, like Word and PowerPoint.

But as you can see, in Word, it changes the entire window into dark mode, while in Excel (with this setting alone), you still have white cells and black text. And if you are using Excel on Mac, you need to go to the Excel ⇢ Preferences… ⇢ General, and un-tick “Turn off Dark Mode”.
Turn the Cells Dark with Switch Modes (Microsoft 365)
Excel for Windows in Microsoft 365 now has a real dark mode for the worksheet as well, so the cells turn dark and the text turns light. Here’s how to use it:
- First, make sure the Office Theme is “Black” (or “Use system setting” with Windows in dark mode). You can check it in File ➜ Account ➜ Office Theme.
- After that, open the worksheet and go to the View tab.
- In the end, click “Switch Modes”. Click it again to go back to white cells.
This only changes how the sheet looks on your screen. The file still prints with a white page, and other people who open the file see it in their own mode. If you don’t see the Switch Modes button, your version of Excel doesn’t have this option yet, and you can use the method below.

Turning Cells into Dark Mode and Font as White
There’s a simple hack that you can use to turn your cells into dark mode in any version.
- Add a Black Background with an image.
- Change the Font Color to White in the theme.
Use these steps:
- First, open PowerPoint on your system and add a single slide.

- After that, click on the Design tab and go to “Format Background”.

- Now, change the color to Black or any other dark color you want. I have used the (HEX: #3a3a3a) color code to get a custom dark color.

- Then go to the File Tab, click “Save As”, and save the presentation in the PNG file format (image). Or you can download it from here.

- Now return to Excel and go to the “Page Layout” tab. From there, click on the “Background” button.

- Next, locate the background image we have just saved and apply it.

It will convert Excel into complete dark mode.

But there’s one thing you still need to change: the font color. So, go to the Page Layout ⇢ Themes ⇢ Colors ⇢ Customize Colors.

In the customized color, change the font color to white or any light color you want. And name it “Dark Theme”.

Now you have a completely dark theme with black cells and white font.

You can also save the entire current theme: Page Layout ⇢ Themes ⇢ Themes ⇢ Save Current Theme…, and name it “Dark Theme”.

Important Points
- Adding a black background with an image only works in the current worksheet, and the background image doesn’t print.
- Changing the font color with the theme only works for the active workbook.
Even though these steps are not hard to follow, a toggle to switch between dark and light modes with a single click was missing for a long time. Microsoft has now added it as Switch Modes (explained above) in Excel for Windows in Microsoft 365, but it’s not there in older versions.
You can go to this link and submit feedback to let Microsoft know what you need. And I’m opening comments for this post so that you can ask your question if you are facing a problem.
Frequently Asked Questions
It’s only in Excel for Windows in Microsoft 365, and it shows only when the Office Theme is Black (or follows a dark Windows setting). Update Office and check the theme in File ➜ Account.
Does dark mode change how the file prints?
No. Both the Office theme and Switch Modes only change the screen. The file prints with a white page, and a background image added from Page Layout doesn’t print either.
Does dark mode change the file for other people?
No, each person sees Excel in their own mode. Only the background image and the theme font color from the hack above are saved in the file.
Written by
Puneet Gogia
Microsoft MVP — Excel · Founder, Excel Champs
Twelve years of teaching Excel, and a decade before that using it as a data analyst. Every tutorial here is written from a file I actually built.