Monero (XMR) NVIDIA miner
Clone or download
Failed to load latest commit information.
cmake Fix FindNVML.cmake. Jul 23, 2018
res Use unified architecture. Jul 21, 2018
src #184 Fixed build without NVML API. Jul 27, 2018
.gitignore Initial import. Aug 13, 2017 Update Jul 23, 2018
CMakeLists.txt Restore config and summary. Jul 21, 2018
LICENSE Initial import. Aug 13, 2017 Update Jul 23, 2018


⚠️ You must update miners to version 2.5 before April 6 due Monero PoW change.

Github All Releases GitHub release GitHub Release Date GitHub license GitHub stars GitHub forks

XMRig is high performance Monero (XMR) NVIDIA miner, with the official full Windows support.

GPU mining part based on psychocrypt code used in xmr-stak-nvidia.

⚠️ Suggested values for GPU auto configuration can be not optimal or not working, you may need tweak your threads options. Please feel free open an issue if auto configuration suggest wrong values.

Table of contents


  • High performance.
  • Official Windows support.
  • Support for backup (failover) mining server.
  • CryptoNight-Lite support for AEON.
  • Automatic GPU configuration.
  • GPU health monitoring (clocks, power, temperature, fan speed)
  • Nicehash support.
  • It's open source software.



Use to generate, edit or share configurations.

Command line options

  -a, --algo=ALGO           cryptonight (default) or cryptonight-lite
  -o, --url=URL             URL of mining server
  -O, --userpass=U:P        username:password pair for mining server
  -u, --user=USERNAME       username for mining server
  -p, --pass=PASSWORD       password for mining server
  -k, --keepalive           send keepalived for prevent timeout (need pool support)
  -r, --retries=N           number of times to retry before switch to backup server (default: 5)
  -R, --retry-pause=N       time to pause between retries (default: 5)
      --cuda-devices=N      List of CUDA devices to use.
      --cuda-launch=TxB     List of launch config for the CryptoNight kernel
      --cuda-max-threads=N  limit maximum count of GPU threads in automatic mode
      --cuda-bfactor=[0-12] run CryptoNight core kernel in smaller pieces
      --cuda-bsleep=N       insert a delay of N microseconds between kernel launches
      --cuda-affinity=N     affine GPU threads to a CPU
      --no-color            disable colored output
      --donate-level=N      donate level, default 5% (5 minutes in 100 minutes)
      --user-agent          set custom user-agent string for pool
  -B, --background          run the miner in the background
  -c, --config=FILE         load a JSON-format configuration file
  -l, --log-file=FILE       log all output to a file
  -S, --syslog              use system log for output messages
      --nicehash            enable nicehash support
      --print-time=N        print hashrate report every N seconds
      --api-port=N          port for the miner API
      --api-access-token=T  access token for API
      --api-worker-id=ID    custom worker-id for API
  -h, --help                display this help and exit
  -V, --version             output version information and exit


Default donation 5% (5 minutes in 100 minutes) can be reduced to 1% via command line option --donate-level.

  • XMR: 48edfHu7V9Z84YzzMa6fUueoELZ9ZRXq9VetWzYGzKt52XU5xvqgzYnDK9URnRoJMk1j8nLwEVsaSWJ4fhdUyZijBGUicoD
  • BTC: 1P7ujsXeX7GxQwHNnJsRMgAdNkFZmNVqJT

Release checksums