> ## Documentation Index
> Fetch the complete documentation index at: https://rajanand.org/llms.txt
> Use this file to discover all available pages before exploring further.

# How to enable dark mode in SSMS in 2025?

<Tip>
  🚨 Update: [SSMS v21](https://learn.microsoft.com/en-us/sql/ssms/install/install?view=sql-server-ver16#step-2---determine-which-version-of-sql-server-management-studio-21-to-install) preview now supports the dark mode natively. Although the dark mode is not implemented fully, this is the start of the implementation and it will take several release for the complete implementation. Go ahead and install SSMS v21 and check [dark mode](https://learn.microsoft.com/en-us/sql/ssms/ssms-21/roadmap?view=sql-server-ver16#modernization).
</Tip>

SQL Server management studio (version prior to 21) does not have the dark theme by default. You can make the below change to enable the dark theme option.

1. Go to the below path\
   `C:\Program Files (x86)\Microsoft SQL Server Management Studio 18\Common7\IDE\`
2. Modify the below file in Administrator mode. If you are using notepad++, you can launch it in admin mode.\
   File name: `ssms.pkgundef`

<Frame>
  ![1.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1646500808267/bqRqzZlPI.png)
</Frame>

3. Search for `Dark` and add <kbd>//</kbd> in front of the below line to comment and save the file.\
   \[$RootKey$\Themes\{1ded0138-47ce-435e-84ef-9ec1f439b749}]

<Frame>
  ![2.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1646500856209/0lbbEk-fq.png)
</Frame>

4. Open SSMS => Tools => Options => Environment => General => Color theme and choose dark theme.

<Frame>
  ![4.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1646501317549/_foiVuG2B.png)
</Frame>

5. Restart the SSMS.

<Frame>
  ![3.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1646500855531/YjDvO4AQI.png)
</Frame>

If you like this tips, you can sign up for my [newsletter](https://rajanand.substack.com) to receive these tips directly in your inbox.
