15% off every yearly plan until 31 August Code YEAR15 →
New machines build in about 60 seconds See plans →
Two new nodes live: Ashburn and Riyadh All locations →
Pay in Bitcoin — no extra fee, 14-day money-back How it works →
Nearest Amsterdam 0.8 ms

Home/ Knowledge base/ MT4/MT5 Keeps Disconnecting on VPS –…

Knowledge Base

MT4/MT5 Keeps Disconnecting on VPS – Complete Fix Guide

Learn how to fix MT4 and MT5 disconnecting issues on Forex VPS. Troubleshoot broker latency, Windows updates, VPS internet, CPU/RAM usage, and MetaTrader settings.

FXS VPS • Troubleshooting Guide

MT4/MT5 Keeps Disconnecting On VPS – Complete Fix Guide

If your MT4 or MT5 terminal keeps disconnecting on a Forex VPS, it can interrupt Expert Advisors, delay trade execution, and create serious problems during live trading. This guide explains the most common reasons behind MetaTrader disconnection issues and how to fix them step by step.

MT4 MT5 Keeps Disconnecting On VPS

01Why Does MT4/MT5 Keep Disconnecting On VPS?

MT4 and MT5 disconnection issues can happen for several reasons. Sometimes the issue is related to VPS internet, but many times it can also be caused by broker server routing, incorrect trading server selection, Windows updates, high VPS resource usage, or a corrupted MetaTrader installation.

  • Unstable network connection inside VPS
  • Broker server latency or routing issue
  • Incorrect MT4/MT5 broker server selected
  • Windows update or background services
  • High RAM or CPU usage on VPS
  • Too many charts, indicators, or Expert Advisors
  • Firewall or antivirus interruption
  • Corrupted MetaTrader installation files
Important: MT4/MT5 disconnection does not always mean the VPS itself is down. Broker server connectivity, latency, and MetaTrader settings can also cause the issue.

02Step 1 – Check Your VPS Internet Connection

Before changing MT4 or MT5 settings, first confirm that the VPS internet connection is working properly.

  1. Open a browser inside your VPS
  2. Visit websites such as Google or your broker website
  3. Check if pages load normally
  4. Open Command Prompt and run a basic ping test
ping google.com

If websites are not loading or ping fails, the issue may be related to VPS networking, firewall, DNS, or provider routing.

Related Guide: You may also read How To Optimize Forex VPS to improve overall VPS performance.
Check VPS internet connection Step 2 – Check if your VPS internet connection is stable before troubleshooting MT4/MT5.

03Step 2 – Restart MT4/MT5 Properly

If MT4 or MT5 has been running for a long time, it may temporarily stop responding or lose connection to the broker server. Restarting the terminal properly can refresh the connection.

  1. Close MT4 or MT5 completely
  2. Wait 15–20 seconds
  3. Open the terminal again
  4. Wait until the connection bars become stable
Avoid force closing MetaTrader from Task Manager unless the terminal is completely frozen.

04Step 3 – Disable Windows Automatic Updates During Trading Hours

Windows updates can consume CPU, RAM, disk, and network resources. They may also restart services or reboot the VPS unexpectedly, which can disconnect MT4/MT5 and stop Expert Advisors.

Recommended Practice: Disable automatic Windows updates during trading days. Run manual updates only during weekends or non-trading hours.
Automatic Windows updates may interrupt trading activity, restart the VPS, or temporarily slow down MT4/MT5.

05Step 4 – Check Broker Server Latency

High latency between your VPS and broker server can cause delayed ticks, unstable connection, and frequent MetaTrader reconnection attempts.

You can check MT4/MT5 latency from the bottom-right corner of the terminal or from your broker server list.

Good latency: 1ms – 10ms Average latency: 10ms – 50ms High latency: 50ms+

If the latency is too high, consider switching to a VPS location closer to your broker trading server.

Related Guide: Read Best VPS Location For Forex Trading to understand how location affects latency.

06Step 5 – Optimize Your VPS Performance

High CPU or RAM usage can make MT4/MT5 unstable, especially when running multiple terminals, heavy indicators, or Expert Advisors.

  • Close unused charts
  • Remove unnecessary indicators
  • Disable unused Expert Advisors
  • Reduce MT4/MT5 chart history size
  • Avoid heavy browser usage inside VPS
  • Restart VPS weekly during non-trading hours
  • Use auto startup tools only for required terminals
MT4 / MT5 Optimization: Tools → Options → Charts Max bars in history: 5000 – 10000 Max bars in chart: 5000 – 10000
A clean and optimized VPS environment helps MetaTrader run more stable and reduces random freezing or disconnection.

07Step 6 – Reinstall MT4/MT5 If Files Are Corrupted

If the issue continues after checking internet, latency, updates, and performance, your MT4/MT5 installation may be corrupted.

  1. Backup profiles, templates, indicators, and Expert Advisors
  2. Uninstall the current MT4/MT5 terminal
  3. Download a fresh installer from your broker
  4. Install MT4/MT5 again
  5. Login with the correct broker server

You can also download MetaTrader from the official websites: MetaTrader 4 or MetaTrader 5.

Security Tip: Always download MT4/MT5 from your broker or official MetaTrader sources only. Avoid unknown websites or Telegram file links.

Need A Stable Forex VPS For MT4/MT5?

FXS VPS provides optimized Forex VPS solutions for MT4, MT5, Expert Advisors, scalping, copy trading, and low-latency Forex trading.

Explore Forex VPS Plans

08Frequently Asked Questions

Why does MT4 keep disconnecting on VPS?

MT4 may disconnect because of broker server latency, unstable internet, Windows updates, high VPS resource usage, or incorrect broker server selection.

Can Windows updates disconnect MT4 or MT5?

Yes. Windows updates can consume resources, restart services, or reboot the VPS, which may interrupt MT4/MT5 trading sessions.

Does high latency cause MT5 disconnection?

High latency can cause delayed ticks, unstable connectivity, and frequent reconnection attempts between MT5 and the broker server.

Should I restart my Forex VPS weekly?

Yes. Restarting your VPS weekly during non-trading hours can clear temporary memory usage and improve long-term stability.

Not sure which city yours needs?

Send us the account server name and we will measure it from every node before you spend anything.

See the plans
Share