Cryptocurrency mining in Spain

Find out which rules you’ll need to follow and which taxes you'll have to pay to mine crypto in Spain safely and legally.

3 min read

The advent of cryptocurrencies, NFTs, and virtual currency mining hasn’t exactly been welcomed with open arms by the Spanish Tax Agency. But how do you approach crypto mining from a legal perspective, and what are your tax obligations if you decide to do it? We’ll tackle this and more in this article.  

The good news is, it is legal to mine crypto in Spain. However, the practice is largely unregulated, meaning you’ll need to do your research to make sure you’re fully complying with the law.

According to Spanish law, all business activities carried out in Spanish territory by natural or legal persons are subject to Business Tax (IAE), regardless of the business sector or profits made. So, if you’ve decided to mine crypto, the first thing you’ll have to do is register with the Spanish Treasury as a cryptocurrency miner, specifying the activity undertaken. If you generate revenue from your mining, then you’ll have to register as self-employed. You may also need to file a Business Tax Declaration to the Spanish Tax Agency (if applicable), submit form 036/037, and pay taxes on profits you earn. 

Crypto so easy

Learn the basics, and get the information, tools, and resources you need to get started with crypto
Read more

Cryptocurrency regulation in Spain

Before we discuss the laws surrounding cryptocurrencies in Spain, let’s briefly define them. Cryptocurrencies are digital currencies that use cryptography as a way to verify transactions. Transactions are verified through decentralized digital accounting ledgers called blockchains. Miners are responsible for issuing the cryptocurrencies, meaning that—unlike government-issued fiat currencies—they aren’t subject to an intermediary like a bank. The euro, for example, is regulated by the European Central Bank.

 According to new regulations in Spain, if you earn revenue greater than €1,000 in a single crypto transaction, this revenue counts toward your tax base on your Personal Income Tax (IRPF) and must be declared in the capital gains and losses section of your return.

To calculate the tax base on which Personal Income Tax (IRPF) will be levied, you’ll need to subtract the purchase value of your virtual currencies from their sale value. The tax rate on which profits on cryptocurrency investments are levied varies depending on the profits generated from investments you’ve sold. Revenue of €6,000 or under is taxed at 19%, revenue between €6,000 and €50,000 is taxed at 21%, revenue exceeding €50,000 is taxed at 23%, and revenue above €200,000 is taxed at  26%. 

What exactly is cryptocurrency mining?

Mining virtual currencies consists of verifying transactions carried out in a given network and issuing new cryptocurrencies through consensus and data mining algorithms.

 To earn profits, the miner or community of miners must try to find a solution to a cryptographic puzzle corresponding to a block in the blockchain. The computer or group of computers that solves the puzzle is then rewarded with a virtual currency incentive. The quantity varies depending on the type of cryptocurrency being mined.

If you plan on entering the mining business, it’s worth noting that in order to be profitable, you’ll first have to invest a large amount of money in computers, IT equipment, and above all, electricity. Then, you’ll have to decide which virtual currency to mine and join a pool or community of miners, as it's practically impossible to mine as an individual. Profits are then divided between the pool members’ cryptocurrency wallets, where they can be accessed through private keys.

Discover N26 Metal

Experience premium banking with a metal Mastercard, priority support & exclusive benefits.
Get N26 Metal (new tab)
N26 Metal card.

Paying your taxes with N26

Guess what? N26 allows customers to pay almost all their Spanish taxes and other Spanish Tax Agency (AEAT) payments directly from our app. To stay up to date with your taxes, tap the ‘Send money’ icon, select ‘Other payments’, then tap ‘Payments to AEAT’ to settle your taxes quickly and securely.

What’s more, with Spaces, our signature sub-accounts included with N26 Smart, N26 You, and N26 Metal accounts, setting money aside for rent, taxes, or a well-deserved vacation, is easier than ever. Isn’t it time to join a bank that makes life easier? Open an account in minutes directly from your phone.

FAQ

Cryptocurrencies are legal in Spain. Since Regulation 11/2021 on measures to prevent and combat tax fraud came into effect, those earning money from virtual currencies will have to declare any crypto holdings above a certain value with the Spanish Tax Agency.

Which cryptocurrencies can be mined?

Other than Bitcoin (BTC), you can mine many other virtual currencies like Ethereum (ETH), Ethereum Classic (ETC), Litecoin (LTC), ZCash (ZEC), Dogecoin (DOGE), Monero (XMR), Dash (DASH), and Grin (GRIN). Each virtual currency differs in its market value, the hardware and algorithm needed to mine it, and rewards given for mining it.

How is cryptocurrency mining taxed?

Virtual currency mining is regarded as a business activity that must be reported through Personal Income Tax (IRPF) or Corporation Tax and—if applicable—Business Tax, by submitting form 036/037 to the Spanish Tax Agency.

Posts that match the following Topic

By N26

The Mobile Bank

Related posts

These might also interest you
Hands holding Bitcoin coins.

The pros and cons of cryptocurrency: A guide for new investors

Find out which are the pros and cons of cryptocurrency

Crypto wallet.

What is a crypto wallet?

A crypto wallet is a secure, digital wallet for your cryptocurrency. Learn how to choose and set up your first crypto wallet with this beginner’s guide.

Hands holding Bitcoin coins.

What is a blockchain?

Blockchain technology is at the heart of cryptocurrencies like Bitcoin. Here’s how blockchain works to build a secure digital ledger of crypto transactions.