How to Change the Terminal Font and Font Size in VS Code

In Visual Studio Code, use terminal.integrated.fontFamily to change the integrated terminal font and terminal.integrated.fontSize to change its text size. Set them under User for all your projects or under Workspace for the current project.

Choose the setting that changes the right text

Enter a font family installed on your computer and a numeric text size. With a comma-separated list of families, VS Code tries the earlier fonts first. See the official VS Code terminal appearance guide for supported options.

Setting ID What it changes
terminal.integrated.fontFamily Font in the integrated terminal
terminal.integrated.fontSize Text size in the integrated terminal
editor.fontFamily / editor.fontSize Font and size in the code editor
window.zoomLevel Zoom for the VS Code interface, including tabs and sidebars

For source files, see how to change the VS Code editor font and size. To enlarge the full interface, use VS Code zoom settings.

Change the font and size in the Settings editor

  1. Open Settings with Ctrl+, on Windows or Linux, or ⌘+, on macOS. Select the User or Workspace tab.
  2. Search for @id:terminal.integrated.fontFamily. In Terminal › Integrated: Font Family, enter an installed monospace font. On Windows, you can try Consolas, 'Courier New', monospace.
  3. Search for @id:terminal.integrated.fontSize. Enter 17 in Terminal › Integrated: Font Size and move to another field. Compare the same terminal line before and after, then adjust the number to your preference.

If the terminal panel is closed, follow the guide to opening the integrated terminal to open Terminal → New Terminal. Check the size of the prompt and its output after you apply the setting.

Set the terminal font in settings.json

Open the Command Palette with Ctrl+Shift+P or ⇧⌘P on macOS. Run Preferences: Open User Settings (JSON). The setting IDs stay the same across interface languages. See the VS Code user and workspace settings guide for other scopes and file locations.

{
  "terminal.integrated.fontFamily": "Consolas, 'Courier New', monospace",
  "terminal.integrated.fontSize": 17
}

If the file already contains settings, add or update only these two properties inside the existing outer braces. Separate entries with commas and save the file.

The font list above is a Windows example. On macOS, use an installed font such as Menlo. On Linux, an installed DejaVu Sans Mono is one option. Add only fontSize if you want to keep the current font family.

Check which scope wins and reset a setting

A workspace value overrides a user value for the same setting in that workspace. In a single-folder project, workspace settings usually live in .vscode/settings.json. See the VS Code user and workspace settings guide for the full scope rules.

In the tab where you set the value, open that setting’s gear menu and select Reset Setting. You can also remove its property from the corresponding JSON file. Removing a workspace override can restore your user value.

Troubleshoot a change that seems missing

  • If the size changes but the font looks the same, verify that the family is installed and the name is correct. A later font in your list can supply missing glyphs.
  • If the value differs in just one project, look for the same setting ID in the Workspace tab or .vscode/settings.json.
  • Check the integrated terminal inside VS Code. A separately opened PowerShell window or system terminal uses its own font settings.