What server specs do I need to host a FiveM server?

FXServer cares most about single-core CPU speed, because much of the server work runs on one main thread. For a small public server, a modern high-clock CPU, 8 GB of RAM and NVMe storage is a typical starting point; larger roleplay servers often run 16 to 32 GB with the database on the same fast disk. Location close to your players and real DDoS filtering matter as much as raw specs.

Single-thread speed beats core count

FXServer spreads some work across threads, but a large share of script execution and sync happens on the main server thread. That is why a 16-core server CPU with low clock speeds can perform worse than a recent desktop-class chip. When comparing hosts, look for the CPU model and its boost clock, not the number of vCPUs on the plan.

Typical starting points

These are common setups, not hard requirements. Your scripts decide the real numbers.

Server sizeCPURAMStorage
Development or under 32 playersModern CPU, 2 to 4 fast cores4 to 8 GBNVMe SSD
32 to 128 playersHigh-clock CPU, 4 to 8 cores8 to 16 GBNVMe SSD
128+ players, heavy roleplayTop single-thread CPU, dedicated16 to 32 GB+NVMe, separate backup disk

RAM usage grows with streamed assets, the database buffer pool and how many resources you run. Storage speed matters because MariaDB and asset streaming both read from disk constantly.

Network and location

  • Location: host where most of your players live. A European community on a US machine will feel every millisecond of ping.
  • Bandwidth: new players download every streamed asset on first join. A large car pack on a slow uplink means long loading screens.
  • DDoS protection: FiveM traffic is UDP-heavy and game-aware filtering matters. See handling DDoS.

Windows or Linux

Cfx.re publishes server artifacts for both. Linux is usually lighter and cheaper to host; Windows is easier if your team is not comfortable on a shell. Pick the one your team can maintain at 3 a.m. when something breaks.

The database

For most servers, MariaDB on the same machine is the right choice because it keeps query latency near zero. Give it its own memory budget and make sure your connection string points to localhost:

set mysql_connection_string "mysql://fivem:password@localhost/fivem?charset=utf8mb4"

What really decides performance

Hardware hides problems for a while, but it does not fix them. A single badly written resource can eat more server time than a hundred well-written ones. Before upgrading, check resmon and the server profiler, and read the lag guide.

Checklist before you sign up with a host

  • Exact CPU model and clock speed listed
  • NVMe storage, not network storage of unknown speed
  • Data center near your player base
  • Game-aware DDoS filtering, not just generic volumetric protection
  • Root or administrator access so you can run txAdmin and MariaDB yourself
  • Clear upgrade path when you outgrow the plan

Related questions

Stop being invisible on the server list

Upvote power decides where your server appears. FiveM Upvotes delivers it — paced, refilled, with no access to your server required.