Guide: How to mine Monero

  • 64bit Intel or AMD CPU
  • AMD/Nvidia GPU
  • ARM CPU

  1. 1.
    Download latest miner binaries from
  2. 2.
    Pick a mining pool from
  3. 3.
    Configure your xmrig with the configuration wizard.
Example: Command Line to mine with CPU and AMD GPU
Windows
Linux
Mac
xmrig.exe --opencl -o de.minexmr.com:443 -u 44AFFq5kSiGBoZ4NMDwYtN18obc8AemS33DBLWs3H7otXft3XjrpDtQGv7SqSsaBYBb98uNbr2VBBEt7f2wfn3RVGQBEP3A -k --tls
./xmrig --opencl -o de.minexmr.com:443 -u 44AFFq5kSiGBoZ4NMDwYtN18obc8AemS33DBLWs3H7otXft3XjrpDtQGv7SqSsaBYBb98uNbr2VBBEt7f2wfn3RVGQBEP3A -k --tls
./xmrig --opencl -o de.minexmr.com:443 -u 44AFFq5kSiGBoZ4NMDwYtN18obc8AemS33DBLWs3H7otXft3XjrpDtQGv7SqSsaBYBb98uNbr2VBBEt7f2wfn3RVGQBEP3A -k --tls

Enabling huge pages can boost hash rate up to 50%
Windows
Linux
Two ways to enable huge pages.
  1. 1.
    Run the xmrig.exe one time with administrator and then reboot your PC.
    • Right-click xmrig.exe > select "Run as administrator"
Or,
  1. 1.
    Manually change the Lock Pages in Memory setting.
    1. 1.
      Press WindowsKey + R
    2. 2.
      Type gpedit.msc
    3. 3.
      In Local Group Policy Editor, make the following update
      1. 1.
        Open Computer Configuration
      2. 2.
        Open Window Settings
      3. 3.
        Open Security Settings
      4. 4.
        Open Local Policies
      5. 5.
        Select User Rights Assignment folder
      6. 6.
        Double-click Lock pages in memory
      7. 7.
        Click Add User or Group
      8. 8.
        Hit search
      9. 9.
        Select your Windows username
sudo bash -c "echo vm.nr_hugepages=1280 >> /etc/sysctl.conf"
Tip: Boost hash rate up to 3% more by enabling 1GB huge pages. Run the following command:
sudo ./scripts/enable_1gb_pages.sh

CPU Mining
GPU Mining
Find your potential CPU mining performance at https://monerobenchmarks.info/
  1. 1.
  2. 2.
    Enter the # of GPUs
  3. 3.
    Press RandomX
  4. 4.
    Press Calculate

Enter your hash rate at whattomine.com

When your earnings reaches the payout limit or threshold, payment is automatically sent to your address.

Copy link
Edit on GitHub
On this page
1. Prerequisites
2. Install and use a compatible wallet
3. Install mining software
CPU & GPU Mining software: xmrig
4. Enable Huge Pages
5. FAQ
5.1 How much performance should I expect from my hardware?
5.2 How much can I expect to mine?
5.3 When will I get paid?
5.4 How can I optimize and tune my miner?