We use cookies

We use essential cookies to run the site, and optional cookies for analytics. We never sell your data.Cookie Policy·Privacy Policy

How crypto mining is taxed

Like staking, mining rewards are usually taxed as income when you receive them, then as a capital gain or loss when you sell. The extra wrinkle is whether you mine as a hobby or a business, which changes what you owe and what you can deduct.

Calculate my mining taxes

General information, not tax advice. Mining rules differ by country and by whether you mine as a business, verify against your country's guidance or a qualified tax advisor.

How crypto mining is taxed

The general rule

When you receive mining rewards, you generally have ordinary income equal to the fair market value of the coins at receipt. That value becomes your cost basis, so a later sale produces a capital gain or loss.

Hobby vs business

This distinction drives the tax in many countries:

  • Hobby/personal mining, rewards are income, but you usually can't deduct costs like hardware and electricity (and in some countries may not owe self-employment/social charges).
  • Business mining, rewards are business income; you can typically deduct equipment, electricity, and other costs, but may owe self-employment / social contributions and have extra filing.

How countries differ

  • United States, rewards are ordinary income at receipt; business miners report on a business schedule (with deductions and self-employment tax), hobby miners report as other income. US crypto tax →
  • United Kingdom, mining is taxed as income (trading or miscellaneous, depending on scale and organisation); disposals are capital gains. UK crypto tax →
  • Germany, mining income is taxable; sustained, organised mining can be treated as commercial activity. Germany crypto tax →
  • France, mining falls under the BNC (non-commercial profits) regime at progressive rates. France crypto tax →

How CryptaTax handles mining

  • Identifies your mining rewards across wallets and pools
  • Values each at its fair market value on receipt
  • Classifies it as income under your country's rules automatically
  • Tracks the cost basis for accurate capital gains when you later sell

Income report → · Import your exchanges & wallets →

Calculate my mining taxes

Drawing the hobby-versus-business line in practice

No single fact decides whether you are a hobby miner or a business, tax authorities look at the overall picture. The signals that tend to push you toward business treatment are familiar across many countries: mining in an organised, repeated, commercial way; investing in dedicated hardware and infrastructure; running it with the intention and realistic prospect of profit; and the sheer scale of the operation. A single GPU running occasionally looks very different from a rack of ASICs on a dedicated electricity contract. Because the line is judged on substance rather than a checkbox, two people mining the same coin can land on different sides of it.

The stakes of that classification are real. Business treatment usually lets you deduct the costs of earning the income, hardware depreciation, electricity, cooling, rent, repairs, but typically brings self-employment or social contributions and additional filing obligations. Hobby treatment is simpler to file but generally denies those deductions, so you are taxed on the gross value of what you mined. Neither is automatically "better"; the right answer is whichever one your facts actually support.

A worked example through both lenses

Imagine you mine coins over a year and receive them in many small block rewards. Under either treatment, each reward is income at its fair market value on the day you receive it, and that value becomes the cost basis for a later sale. The divergence is what happens around that income. As a hobby miner you generally report the total received value as income and cannot net off your electricity bill or the cost of your rig. As a business miner you report the same gross income but then deduct allowable running costs and capital allowances, lowering the taxable profit, while potentially owing social charges on that profit and filing as a self-employed person.

Then comes the second event for both: when you sell the mined coins, you compute a capital gain or loss against the receipt-day basis, exactly as in the cost basis → guide. The mistake to avoid is treating the eventual sale price as the income figure, the income was fixed on the day you mined the coin, and the sale only settles the gain on top of it.

Pool mining, cloud mining, and shared rewards

  • Pool mining, you receive frequent partial payouts from the pool rather than whole blocks. Each payout is an income event valued on its own date; the cadence just means more events to track, not a different principle.
  • Cloud mining / hashpower rental, you pay a provider for hashpower and receive coins. The coins are still income at receipt, and the fees you paid may be a cost (deductible if you are a business, generally not if you are a hobbyist).
  • Mining to an exchange vs a self-custody wallet, the destination does not change that the reward is income at receipt; it only changes where your records come from.
  • Coins mined but not yet withdrawn from a pool, control usually attaches when you can actually move the balance, which is the date that fixes the value.

Common mistakes people make with mining

  • Assuming all electricity is deductible. Only business miners can generally deduct it, and even then often only the share genuinely used for mining rather than the whole household bill.
  • Reporting only net cash at year end. Income is the value of each reward as received, not the amount left after you sold some to pay bills.
  • Forgetting depreciation rules for hardware. Where rigs are deductible, the cost is often spread over time rather than taken in full immediately, a country-specific mechanic.
  • Overlooking the second tax event. Selling mined coins later is its own capital gain or loss; the income filing does not cover it.
  • Self-classifying as a business to grab deductions without meeting the substance tests, a position that can unravel under scrutiny.

Record-keeping for miners

Miners need two overlapping sets of records. For the income side: the date, quantity, and home-currency value of every reward or pool payout, plus its source. For the deduction side (if you are a business): invoices for hardware, electricity bills, hosting or rent, and enough detail to show the business-use proportion. For the disposal side: the date, proceeds, and basis consumed whenever you sell. Keeping electricity and equipment evidence contemporaneously matters as much as the reward log, because a deduction you cannot substantiate is a deduction you may lose. This is also where automating the income → record pays off, the reward stream is high-volume and easy to undercount by hand.

How CryptaTax automates mining tax

CryptaTax pulls your mining rewards in from pools, wallets, and exchanges, values each payout in your home currency on its receipt date, and books it as income under the rules that apply where you live. It then carries that value forward as the cost basis so your eventual sales compute the correct capital gain or loss, no double counting, no zero-basis surprises. Whether your facts point to hobby or business treatment is a judgement you and your advisor make, but the underlying figures CryptaTax produces feed straight into either path.

Calculate my mining taxes

If I mine as a hobby, do I still owe tax?

Yes, in most countries. Hobby status changes what you can deduct, not whether the rewards are taxable. The value of what you mined is generally income at receipt either way.

Can I switch from hobby to business treatment as I scale up?

Your treatment can change as the facts change, growing scale, dedicated equipment, and a genuine profit motive can tip a hobby into a business. The classification follows the reality of the year in question, so the same person may be a hobbyist one year and a business the next. Check your country guide for how the transition is handled.

How do I value a reward when the coin barely trades?

You still need a defensible fair-market value on the receipt date, typically drawn from a reputable market price. For thinly traded coins this is harder, so keep a record of the source you used. CryptaTax applies consistent pricing so the same method is used across every reward.

Does selling mined coins at a loss help me?

A later sale below your receipt-day basis is a capital loss, which many countries let you offset against other gains, the foundation of tax-loss harvesting →. The offset and carry-forward rules vary by country.

Two layers of tax, in the right order

It helps to think of mining as two taxes stacked in sequence, because confusing them is the most common source of mistakes. The first layer is income: the value of every reward as you receive it, taxed in the year of receipt under either hobby or business rules. The second layer is capital gains: the change in value between receipt and the day you sell, taxed only when you dispose. These are separate events with separate dates, and they can even fall in different tax years. A miner who receives coins in one year and sells them the next reports income in the first year and a gain or loss in the second, not one blended number across both.

Business miners carry an extra consideration on top: because deductions and any social or self-employment charges attach to the income layer, the timing of costs matters too. Buying hardware, paying for hosting, or settling electricity bills in a given period feeds the deductions for that period, which is why contemporaneous invoices and a clear business-use split are worth keeping as carefully as the reward log itself. The capital-gains layer, by contrast, only cares about the receipt-day basis and the eventual sale, the same mechanic as any other income →-then-disposal asset.

If I mine straight into an exchange and sell the same day, is it still two events?

Technically yes, you have income at receipt and a disposal on sale, but because both happen at almost the same value, the capital gain or loss is usually tiny. The income is still the headline figure for that reward, and CryptaTax records both legs so the small same-day movement is captured accurately rather than ignored.

Does the country where my mining pool is located change my tax?

Generally no, your own tax residence drives the rules, not where the pool's servers sit. The pool's location may affect the paperwork you receive, but the income and gains are reported under the laws of the country where you are resident.

Can I deduct the cost of the rig against my mining income?

Only if you mine as a business in your country, and even then the cost is often spread over several years through depreciation or capital allowances rather than deducted all at once. Hobby miners generally cannot deduct hardware at all. Keep the purchase invoices and a record of how much of the equipment is genuinely used for mining, because an unsupported deduction is one you may lose if questioned.

A final word on getting mining right

Mining sits awkwardly across two tax events, income when you receive the coins, then a capital gain or loss when you sell them, so the single most valuable habit is to record the value of every reward on the day it lands. Miss that, and the income is understated now and the later gain is overstated because the basis reads as zero. Capturing each reward at its receipt value, with the date and the source, is what keeps both halves of the mining calculation honest. CryptaTax does this automatically across pools, wallets and exchanges, and rolls it into a report you can file. See the income guide → and cost basis guide → for the mechanics that sit underneath.

Where mining fits in your overall crypto tax

Mining can feel like a standalone activity with its own rules, but the tokens it produces rejoin the same stream as everything else you hold. A mined coin is income valued on receipt, then a coin with a known cost basis that behaves exactly like any other when you eventually sell it, the disposal logic of the trading guide and the cost basis guide applies without modification. The hobby-versus-business question shapes the income layer, but it does not change the fact that the second, capital-gains layer is shared with the rest of your portfolio.

That shared structure is why mining should be reconciled alongside your other crypto rather than kept on a separate spreadsheet. Mined coins are often moved to an exchange, swapped, or spent, and at that point their basis has to follow them cleanly or the gain comes out wrong. Mining also sits next to other earned-crypto categories in the income guide, the receipt-day valuation habit that keeps mining honest is the same one that governs staking and rewards across the board.

Getting mining right the first time means respecting both layers in the right order: record the value of every reward as it lands, and only then track the gain or loss when you sell, never collapsing the two into a single year-end number. For business miners there is a third strand, deductions and any social charges attach to the income layer, so contemporaneous invoices and a clear business-use split matter as much as the reward log. CryptaTax pulls rewards from pools, wallets, and exchanges, values each on its receipt date, and carries that value forward as basis, so both layers stay consistent, while whether your facts point to hobby or business treatment, and what you can deduct, is confirmed on your crypto tax by country page. The throughline is that mining is not an exception to the ordinary crypto tax rules but a high-volume instance of them, with an extra deductions question bolted on for those who run it as a business. Handle the income layer faithfully as the coins arrive and the rest falls into the same framework as everything else you hold.

FAQ

Is crypto mining taxable?

Yes. In most countries mining rewards are income at their value when received, and a capital gain or loss applies when you later sell.

Can I deduct electricity and hardware for mining?

Usually only if you mine as a business. Hobby miners generally cannot deduct those costs. Rules vary by country.

When is mining income taxed?

Generally at the moment you receive the coins, valued at their fair market value then.

Do I pay tax again when I sell mined coins?

Yes. A capital gain or loss based on the difference between the sale price and the value you reported as income.

Related guides

Country-specific rules