I started experiencing this issue in my MacBook Pro M1 after the June 2022 autoupdate.

Setting "disable-color-correct-rendering": false in ~/.vscode/argv.json worked for me.

I hope this is fixed in the next release. It seems to be an old issue based on what I found when searching for a solution.

Answer from Oscar Soto on Stack Overflow
🌐
GitHub
github.com › microsoft › vscode › issues › 155242
The background of main interface became grey. · Issue #155242 · microsoft/vscode
July 14, 2022 - Issue Type: Bug I am using Jupyter Notebook in VS code. When I wheeled down the interface, it became grey. It happened before. Cannot see any pics clearly. VS Code version: Code 1.69.1 (b06ae3b, 2022-07-12T08:21:24.514Z) OS version: Wind...
Author   tengyuntian
🌐
Visual Studio Code
code.visualstudio.com › api › references › theme-color
Theme Color | Visual Studio Code Extension API
November 3, 2021 - Theme Color reference that lists all themable colors in Visual Studio Code.
Discussions

Any idea why and how to remove this gray "background"?
Based on some Googling, you're using Jupyter notebooks, which you should have mentioned. The gray color is possibly due to your Jupyter Cache size being too large. More on reddit.com
🌐 r/vscode
15
18
November 2, 2024
Codex and VSCode gray background and freeze
After the latest update, I noticed that Codex in VS Code more and more frequently shows only a gray background while the UI becomes completely unresponsive. In the background, Codex is still working on files. Has anyone else experienced similar issues? I already tried switching to the beta ... More on community.openai.com
🌐 community.openai.com
2
2
January 5, 2026
What are these grey background text helpers? How do I get rid of them?
Go to settings and turn off inlay hints C++. More on reddit.com
🌐 r/vscode
3
3
April 6, 2023
My VSCODE got gray background when I process a lot of data and I have a lot of output
Does this issue occur when all extensions are disabled?: I dont know VS Code Version: 1.67.0 OS Version: Windows 11 21H2 (22000.613) Steps to Reproduce: Open a notebook file (.ipynb) Processing a l... More on github.com
🌐 github.com
2
May 9, 2022
Top answer
1 of 3
10

I started experiencing this issue in my MacBook Pro M1 after the June 2022 autoupdate.

Setting "disable-color-correct-rendering": false in ~/.vscode/argv.json worked for me.

I hope this is fixed in the next release. It seems to be an old issue based on what I found when searching for a solution.

2 of 3
7

If you are on a mac, see Different colored area on macOS - although there is a linux report there too. Same dark grey patches of color. There are a couple of suggested fixes mentioned.

The most reliable appears to be changing this setting:
"disable-hardware-acceleration": true

  1. Open command palette and search for "Configure Runtime Arguments"
  2. Set "disable-hardware-acceleration": true
  3. Restart
  • from https://github.com/microsoft/vscode/issues/156405#issuecomment-1196503399

or starting vscode from a terminal with code --disable-gpu.

Also

What did work is removing "disable-color-correct-rendering": true from ~/.vscode/argv.json file and restarting vscode. Now the different coloured patch on the side and bottom is gone.

Or

This happens to me with an intel mac as well. It was fixed by setting "disable-hardware-acceleration": true in the .vscode/argv.json file.

More from the issue:

Had the same problem on my M1 macbook air, I had to open the argv.json file (you can use Shift + CMD + P and type Configure Runtime Arguments to open it) and set this line to false :

"disable-color-correct-rendering": false (it was on true, maybe by default).

After that, just close your VS Code instance with CMD + Q and restart it.

And here are download links (for macOS) for the previous vscode version v1.68 in case you want to rollback:

https://az764295.vo.msecnd.net/stable/4af164ea3a06f701fe3e89a2bcbb421d2026b68f//VSCode-darwin-universal.zip
https://az764295.vo.msecnd.net/stable/4af164ea3a06f701fe3e89a2bcbb421d2026b68f/VSCode-darwin.zip
https://az764295.vo.msecnd.net/stable/4af164ea3a06f701fe3e89a2bcbb421d2026b68f/VSCode-darwin-arm64.zip

Thanks for the information to those posting in the issue comments.

🌐
Reddit
reddit.com › r/vscode › any idea why and how to remove this gray "background"?
r/vscode on Reddit: Any idea why and how to remove this gray "background"?
November 2, 2024 - The IDE sometimes (not sure I can identify when the issue arises) turns the blue background behind the cells from blue to gray. It s like if I were to select all cells and it highlights the whole IDE background in gray. This problem does not allow me to clearly read the output of a cell and the only way to return to a normal behaviour is to restart vscode
🌐
OpenAI Developer Community
community.openai.com › codex
Codex and VSCode gray background and freeze - Codex - OpenAI Developer Community
January 5, 2026 - After the latest update, I noticed that Codex in VS Code more and more frequently shows only a gray background while the UI becomes completely unresponsive. In the background, Codex is still working on files. Has anyone else experienced similar issues? I already tried switching to the beta version, but the same bug is present there.
🌐
Visual Studio Marketplace
marketplace.visualstudio.com › items
MZ Light Grey Theme - Visual Studio Marketplace
Extension for Visual Studio Code - A hand crafted, minimalistic and modern gray theme that's friendly to your eyesight.
🌐
GitHub
github.com › microsoft › vscode › issues › 166671
a gray background · Issue #166671 · microsoft/vscode
Does this issue occur when all extensions are disabled?: Yes VS Code Version: 1.70.2 (user setup) OS Version: Windows_NT x64 6.1.7601 I'm not sure Is this a really bug . but now it deeply affects my use. It may be caused by auto-upgradin...
Find elsewhere
🌐
Reddit
reddit.com › r/vscode › what are these grey background text helpers? how do i get rid of them?
r/vscode on Reddit: What are these grey background text helpers? How do I get rid of them?
April 6, 2023 - Go to vscode · r/vscode • · xii · FrançaisEspañol (España)ไทย · Share · Share · The-Observer95 • 3y ago · Go to settings and turn off inlay hints C++. xii · • 3y ago · You da man.
🌐
GitHub
github.com › microsoft › vscode › issues › 149049
My VSCODE got gray background when I process a lot of data and I have a lot of output · Issue #149049 · microsoft/vscode
May 9, 2022 - Does this issue occur when all extensions are disabled?: I dont know VS Code Version: 1.67.0 OS Version: Windows 11 21H2 (22000.613) Steps to Reproduce: Open a notebook file (.ipynb) Processing a large number of data. In my case is text ...
Author   romualdoalan
🌐
Visual Studio Code
code.visualstudio.com › docs › getstarted › themes
Themes
August 19, 2023 - Changing the color theme in Visual Studio Code. You can use color themes provided by VS Code, the community or create your own new themes.
🌐
Visual Studio Marketplace
marketplace.visualstudio.com › items
Spacegray VSCode - Visual Studio Marketplace
Extension for Visual Studio Code - Spacegray theme for visual studio code.
🌐
GitHub
github.com › Microsoft › console › issues › 121
Weird grey text background rendering in VS Code integrated terminal using bash · Issue #121 · microsoft/terminal
February 25, 2018 - Weird grey text background rendering in VS Code integrated terminal using bash#121 · Copy link · Labels ·
Author   HymanZHAN
🌐
Stack Overflow
stackoverflow.com › questions › 74879783 › how-to-remove-that-gray-background
visual studio code - How to remove that gray background - Stack Overflow
Visual Studio Code - Grey boxes · 1 · Visual Studio Code, how to change background of a specific · 0 · How to erase the straight gray line in the Visual Studio Code editor? 10 · Visual Studio gray text background, how to remove it? 1 · How to change background color of vs code menu · 1 · how to remove the color on my console VS code? 0 · In Visual Studio Dark Theme how to get rid of white rectangle surrounding active line of code? 0 · VSCode "View Problem" Dialog Background Property ·
🌐
GitHub
github.com › microsoft › vscode › issues › 48763
The console appears in a gray background with vscode terminal · Issue #48763 · microsoft/vscode
March 5, 2020 - run any cmd by vscode terminal · when gray background appear · Does this issue occur when all extensions are disabled?: No · try: 1 uninstall all extensions not work · 2 uninstall vscode and reinstall not wrok · 3 use OS self terminal all is well · Sign up for free to join this conversation on GitHub.
🌐
GitHub
github.com › Mohamed3nan › gray-plus-theme
GitHub - Mohamed3nan/gray-plus-theme: 🎨A theme extension for Visual Studio Code based on Drak+ (default dark) Syntax but with Gray UI.
🎨A theme extension for Visual Studio Code based on Drak+ (default dark) Syntax but with Gray UI. - Mohamed3nan/gray-plus-theme
Author   Mohamed3nan
🌐
Jit
jit.io › blog › best-vs-code-themes-2023
20 Best VS Code Themes in 2026 | Jit
September 9, 2025 - Brackets Light Pro VS Code theme has a light grey background with a beautiful color scheme for text and syntax highlighting.
🌐
Visual Studio Marketplace
marketplace.visualstudio.com › items
Grey Theme - Visual Studio Marketplace
June 20, 2021 - Extension for Visual Studio Code - A grey theme for VS Code