Edit

Share via


Configure proxy settings in Visual Studio

By default, Visual Studio uses your Windows proxy configuration, but if your organization's network requires a different proxy configuration for Visual Studio, you can set one directly in the IDE through the Proxy Settings options page.

Note

In this first release, the custom proxy settings apply to GitHub Copilot experiences and sign-in flows for Entra ID and GitHub within Visual Studio. A restart may be required for some features to pick up new proxy settings.

Prerequisites

The proxy configuration experience is not yet available in all Visual Studio 2026 installations. If you don't see this in your installation, you can install Visual Studio Insiders to try it. Or, view the Visual Studio 2022 proxy troubleshooting page for guidance.

Open the Proxy Configuration page

  1. Select Tools > Options from the menu bar.
  2. Select Proxy Configuration to open the proxy configuration page.

Default behavior

By default, Visual Studio uses your Windows proxy configuration. You don't need to change any settings unless you require a proxy configuration that differs from the default for your user account. If the Windows settings are set to No Proxy, Visual Studio respects this and sets no proxy.

Configure proxy settings

To supply Visual Studio with proxy settings:

  1. Open the Proxy Configuration page (Tools > Options > Proxy Configuration).
  2. Select Use custom proxy settings.
  3. Enter the proxy server URL and port.
  4. Choose an authentication method:
    • Use the logged-in Windows account — uses your current Windows credentials for integrated authentication (NTLM or Kerberos).
    • Use alternate credentials — provide a username and password for the proxy.
  5. Select OK.
  6. Restart Visual Studio.

Tip

If your proxy requires Basic authentication, choose Use alternate credentials and enter the credentials your proxy expects.