If your computer has suddenly started mining bitcoin, you probably didn't launch it yourself. The usual cause is a program you once installed, or a trojan that slipped in quietly. Stop it by identifying the source first.
Mining Is a Bookkeeping Race
Bitcoin has no central ledger keeper. Instead, miners race their hardware to solve a hash puzzle, and the winner earns the right to write the next batch of transactions into the blockchain plus newly issued bitcoin. That race is what people mean by mining. The mechanism was described in the white paper published in 2008, and the first block appeared in January 2009.
If your computer is doing this now, you are almost certainly not a participant in that race. Some program is riding along, spending your electricity while the coins go elsewhere.
How to Tell Whether Your Computer Is Mining
The clearest sign is hardware running at full load for long stretches. Listen for fans that never slow down, feel for unusual heat, watch for a battery that drains fast, and notice sluggishness while the machine sits idle. On Windows, open Task Manager with Ctrl+Shift+Esc; on macOS, open Activity Monitor. Sort by CPU usage and the process at the top will tell you most of the story.
Browser-based mining scripts behave differently from resident malware: they only run while the page is open and stop the moment you leave it. A trojan keeps running in the background and often disguises its process name.
How to Stop Mining by Source
Different sources call for different fixes. Match your situation in the table below:
| Source | How to spot it | How to remove it |
|---|---|---|
| Browser mining script | CPU spikes on certain sites, returns to normal when the page closes | Close the page or the entire browser; add an extension that blocks mining scripts |
| Mining software you installed | A process with a clear miner name appears in Task Manager, tied to a pool or mining tool | End the process, uninstall from system settings, then delete leftover files |
| Mining trojan | A process with a strange name mimics a system file, stays loaded, and resists shutdown | Run a full scan with security software; for stubborn samples, clean in safe mode |
Take a screenshot of the process name and file path before removing anything — it makes checking for leftovers much easier. If the process comes back after you end it, a watchdog or scheduled task is restarting it, so cut the network before you clean. Back up important files to external storage first; a rough cleanup session can cause collateral damage.
The Cost Reality of Mining on a PC
Once the immediate problem is gone, keep the bigger picture in mind: mining on a personal computer is rarely worth the cost. Full-load operation pushes electricity bills up, heat shortens the life of the hardware, and the noise never stops. Meanwhile, professional mining farms and specialized machines dominate the race, leaving ordinary PCs with little to no edge.
If you still want to mine on purpose, put a pencil to the electricity and depreciation numbers before committing. If you don't want to be taken advantage of, remove every trace and keep the machine clean.
FAQ
Is ending the mining process enough?
Not yet. Ending the process merely pauses the miner; the executable file and any startup entry remain on disk, so it can return at the next boot. Delete the file itself, review startup entries, and scan the system once more.
How can I tell mining apart from a regular virus?
High load is just one clue. Miners also keep connections open to known pool addresses, which will show up in network monitoring or security logs. Ordinary viruses behave differently—encrypting files, showing pop-ups, or breaking system functions—and security software can classify the family for you.
Can mining happen by just browsing a page?
It can. A browser script embedded in a page borrows the visitor's CPU while the tab stays open. It stops when you leave, so the risk is lower than a resident trojan, but several tabs running scripts at once can drag the whole machine down.
Can a phone be mined without my knowledge?
Yes, malicious apps do this. Look for unusual heat, fast battery drain, and a strange entry in battery usage. Uninstall the app and reinstall from the official store; phones have far weaker cooling, so mining on one is an even worse trade than on a desktop.
Cleaning one machine is only half the job. Mining trojans often spread across the local network, so log into your router and look for unknown devices, then scan the other machines on the same network. Close that loop and the problem is less likely to come back.
Disclaimer: This article is for informational and educational purposes only and is not investment, financial, or legal advice. Crypto assets are highly volatile and you could lose your entire investment. Do your own research and decide carefully.

