Guide: How to mine Monero

1. Prerequisites

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

2. Install and use a compatible wallet

3. Install mining software

CPU & GPU Mining software: xmrig

  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
xmrig.exe --opencl -o -u 44AFFq5kSiGBoZ4NMDwYtN18obc8AemS33DBLWs3H7otXft3XjrpDtQGv7SqSsaBYBb98uNbr2VBBEt7f2wfn3RVGQBEP3A -k --tls
./xmrig --opencl -o -u 44AFFq5kSiGBoZ4NMDwYtN18obc8AemS33DBLWs3H7otXft3XjrpDtQGv7SqSsaBYBb98uNbr2VBBEt7f2wfn3RVGQBEP3A -k --tls
./xmrig --opencl -o -u 44AFFq5kSiGBoZ4NMDwYtN18obc8AemS33DBLWs3H7otXft3XjrpDtQGv7SqSsaBYBb98uNbr2VBBEt7f2wfn3RVGQBEP3A -k --tls

4. Enable Huge Pages

Enabling huge pages can boost hash rate up to 50%
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"
  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/

5. FAQ

5.1 How much performance should I expect from my hardware?

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

5.2 How much can I expect to mine?

Enter your hash rate at

5.3 When will I get paid?

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

5.4 How can I optimize and tune my miner?