Tutorial

VS Code Settings Sync 2026: Complete Setup Guide

Published: March 2026 | 8 min read

If you use Visual Studio Code on multiple machines — say a desktop at home and a laptop on the go — Settings Sync is the feature you didn't know you needed. In 2026, it synchronizes not just settings, but extensions, keybindings, snippets, UI state, and even your extensions' settings across every device. Here's everything you need to know.

What Is Settings Sync?

Settings Sync is VS Code's built-in feature that keeps your editor configuration consistent across machines. It uploads your local VS Code profile to Microsoft's servers (via your GitHub or Microsoft account) and downloads it on any other machine where you're signed in.

In 2026, Settings Sync handles:

Enabling Settings Sync

Step 1: Sign In to VS Code

Settings Sync requires authentication. Click the Accounts icon (top right, person silhouette) or use Ctrl+Shift+P → "Sign in to sync settings."

You can use either:

Step 2: Enable Sync

  1. Open Command Palette (Ctrl+Shift+P on Windows/Linux, Cmd+Shift+P on Mac)
  2. Type "Settings Sync" and select "Settings Sync: Turn On"
  3. Choose what to sync (see options below)

Sync Options

CategoryDescriptionDefault
SettingsAll editor settings (font size, theme, formatter config)✅ On
ExtensionsAll installed extensions✅ On
Keyboard ShortcutsCustom keybindings✅ On
UI StateOpen tabs, panel layout, sidebar position✅ On
SnippetsUser-created and extension snippets✅ On
ProfilesNamed profiles (see Multi-Profile section)❌ Off

For most users, leaving all options enabled is fine. The sync happens in the background — you won't notice it during normal coding.

Syncing Extensions

When you install an extension on Machine A, it automatically installs on Machine B when you open VS Code there. The first launch after syncing may take a few minutes as extensions download.

Important: Settings Sync syncs which extensions you have installed, but not extension-specific data (like saved API keys or login sessions). You'll need to re-authenticate in each extension on each machine.

Extension Sync Tips

Multi-Profile Support (New in 2025)

VS Code added Profile support in 2025, and in 2026 it's fully integrated with Settings Sync. Profiles let you maintain separate configurations for different work contexts:

Creating a Profile

  1. Ctrl+Shift+P → "Profiles" → "Create Profile"
  2. Name it (e.g., "Work" or "Python Dev")
  3. Choose whether to copy current settings or start fresh
  4. Toggle "Sync this profile" to sync it across machines

Switch between profiles via the Accounts icon → "Profiles" → select your profile.

Syncing Keyboard Shortcuts

Settings Sync includes your custom keybindings. If you've remapped Ctrl+P to "Quick Open" (it is by default) or created custom shortcuts, they sync too.

Conflict handling: If you change a keybinding on Machine A and a different binding on Machine B, the most recent change wins. VS Code will notify you if there's a conflict.

Exporting/Importing Keybindings

To manually export keybindings:

File → Preferences → Keyboard Shortcuts → "Export Keymaps" (JSON file)

To import:

File → Preferences → Keyboard Shortcuts → "Import Keymaps"

Troubleshooting Common Issues

Sync Not Turning On

Problem: "Turn On Sync" option greyed out or fails.

Fixes:

Extensions Not Syncing

Problem: Extensions install on one machine but not others.

Fixes:

Conflict Between Machines

Problem: You get a "Sync Conflict" notification.

Fixes:

Selective Sync Issues

Problem: You disabled "Settings" sync but want to sync only extensions.

Fix: Settings Sync requires at least one category enabled. If you turn off Settings, you can still sync Extensions, Shortcuts, and UI State independently.

GitHub Integration

If you use GitHub Copilot, signing in with GitHub for Settings Sync is convenient — one less account to manage. Here's how:

  1. Click the Accounts icon → "Sign in with GitHub"
  2. Authorize VS Code in the browser popup
  3. Return to VS Code — you're now synced via GitHub

Benefit: Your GitHub Copilot subscription and Settings Sync now share the same authentication. If your organization uses GitHub Enterprise, you can sign in with your enterprise account for org-specific settings.

Manual Backup: export.json

While Settings Sync handles most cases automatically, some users prefer manual backups. Export your full VS Code state:

code --export-user-data .

This creates a .vscode.tar file you can import on another machine:

code --import-user-data ./vscode.tar

This is useful for migrating between completely fresh installations or when syncing isn't working.

Performance Tips

Enterprise Settings Sync

For enterprise teams, VS Code supports managed profiles via policies. Admins can:

This requires VS Code Enterprise ($21/user/month) and organization-level policy configuration.

Final Recommendations

  1. Enable Settings Sync today — it's free and takes 2 minutes to set up
  2. Use GitHub authentication if you use Copilot — unified login
  3. Consider Profiles if you have distinct work contexts
  4. Don't disable any sync categories — they don't take much space
  5. Re-authenticate extensions after a fresh install — this is normal

Settings Sync is one of VS Code's most valuable features for developers working across multiple machines. Once you set it up, you'll wonder how you lived without it.

Affiliate Link: Download VS Code | Official Settings Sync Docs

Affiliate Disclosure: This page contains affiliate links. If you purchase through our links, we may earn a commission at no extra cost to you.