To change the VS Code font, set Editor: Font Family to a font installed on your computer. If that font contains programming ligatures, turn on Editor: Font Ligatures to render sequences such as =>, !=, and >= as joined glyphs without changing the underlying characters.
Change the editor font
Open your settings and search for Editor: Font Family. In the text field, type the name of the font you want to use.
Or add it directly to your user settings JSON:
{
"editor.fontFamily": "Fira Code, monospace"
}VS Code uses the first font in the list that is installed on your system. The fallback monospace ensures a readable default if the primary font is missing.
You can specify multiple fallback fonts separated by commas:
{
"editor.fontFamily": "Cascadia Code, Fira Code, JetBrains Mono, monospace"
}The change takes effect as soon as you save the file. Open any code file to see the new font.
Enable font ligatures
Search for Editor: Font Ligatures in the Settings editor and select the checkbox.
Or add this to your settings.json:
{
"editor.fontLigatures": true
}Save the file and open a file with operators like =>, !=, or >=. If your font supports ligatures, these characters render as combined symbols.
Popular programming fonts with ligatures
These font projects document programming ligature support:
| Font | Download | Style |
|---|---|---|
| Fira Code | github.com/tonsky/FiraCode | Clean shapes and many operator ligatures |
| JetBrains Mono | jetbrains.com/lp/mono | Tall x-height, crisp |
| Cascadia Code | github.com/microsoft/cascadia-code | Microsoft-designed, with coding ligatures |
| Iosevka | github.com/be5invis/Iosevka | Narrow, highly customizable |
| Victor Mono | rubjo.github.io/victor-mono | Cursive italics |
Install a font on your system
Download the font only from its official project page, then follow that project's installation instructions. Font packages commonly contain .ttf or .otf files.
- Windows: Right-click each font file and select Install. Or drag them into the Fonts folder in Control Panel.
- macOS: Double-click each font file and select Install Font in Font Book.
- Linux: Use your distribution's font manager or the font project's Linux instructions. If you install files manually, follow the project instructions for the correct directory and font-cache step.
After installing, restart VS Code for the font list to refresh.
Change font size
Adjust the editor font size separately from the font family. This setting controls only the text size inside the editor, not the terminal or UI:
{
"editor.fontSize": 14
}The terminal has its own font size setting. Make sure to adjust it separately so the terminal text feels balanced with your editor:
{
"terminal.integrated.fontSize": 13
}Use different fonts per language
If you want a proportional font for Markdown but a monospace font for code, use language-specific settings:
{
"[markdown]": {
"editor.fontFamily": "Georgia, serif"
}
}Only Markdown files will use Georgia. All other file types use your global font setting.
What to try if ligatures do not appear
First confirm your font supports ligatures. Open the font project's documentation and look for a programming-ligatures section or examples.
Next check that Editor: Font Ligatures is set to true and not overridden by workspace settings. Open the Settings editor and look at both User and Workspace tabs.
If you installed a font and VS Code does not show it, restart the editor. VS Code reads the system font list at startup.
On Linux, make sure you refreshed the font cache after installing the font files.
Next steps
Now that your editor looks the way you want, you can change your color theme to match the new font. For more productivity settings, see 25 best VS Code settings.
Rune AI
Key Insights
- Set editor.fontFamily to your preferred font in settings.json.
- Use editor.fontLigatures: true to enable ligature rendering.
- Install fonts like Fira Code, JetBrains Mono, or Cascadia Code for ligature support.
- Test the font with a quick preview in the Settings editor before committing.
- Language-specific settings let you use different fonts for different file types.
Frequently Asked Questions
What are font ligatures?
Do I need a special font for ligatures?
Can I use different fonts for different file types?
Conclusion
Changing the editor font and enabling ligatures is a one-time setup that makes code easier to read. Install a font that supports ligatures, set editor.fontFamily in your settings, and turn on editor.fontLigatures. The change takes effect immediately.
More in this topic
How to Use VS Code with WSL 2 on Windows
Run VS Code connected to Windows Subsystem for Linux so you can develop in a full Linux environment with native tools, terminals, and debugging, all from Windows.
20 Best VS Code Extensions for Web Developers in 2026
Twenty carefully chosen VS Code extensions every web developer should know. Covers formatting, linting, frameworks, debugging, Git, and developer experience.
How to Install, Disable, Update, and Uninstall VS Code Extensions
Learn how to install, disable, update, and uninstall VS Code extensions from the Marketplace and the command line. Step-by-step instructions for every action.