Mining Activity: income from economic activity

Picture of Pedro Alonso Gil

Pedro Alonso Gil

mining activity

According to article 27.1 of the LIRP, economic activity income can be defined as

"those which, proceeding from personal labor and capital jointly, or from only one of these factors, involve the taxpayer's own management of means of production and human resources or of one or both, with the purpose of intervening in the production or distribution of goods or services."

According to this legal wording, the concept of income from economic activities is delimited by the concurrence of two facts: the existence of an autonomous organization of means of production or human resources and the purpose of intervening in the production or distribution of goods or services.

First of all, we can briefly define cryptocurrency mining as those operations that allow the creation of new blocks, from which in turn new cryptocurrencies are derived and which are remunerated by the system or protocol with an amount of them.

A miner therefore engages in an economic activity, since, in order to be able to undertake this action, it is assumed that material means and other resources have to be arranged in order to be able to participate and intervene in the provision of a service for which they receive a consideration. 

With respect to personal income tax, the income obtained from the mining activity will be included in the general tax base and, as in any economic activity, the miner may deduct from his income from the activity all those expenses necessary to obtain it, among which may be the depreciation of mining equipment, expenditure on materials and services necessary for the development of the process, and all those related supply expenses used exclusively to undertake the activity.

blockchain mining

What implications can the exercise of this activity have on other taxes such as VAT or IAE? Well, for VAT purposes, based on the existing administrative regulations, we can conclude that the development of this activity is outside the scope of VAT, an interpretation that extends to the other activity mentioned about trading, buying and selling, exchange or intermediation in cryptocurrencies for third parties.

We have, to provide confirmation and legal certainty in this regard, different binding consultations issued between 2016 and 2020, which determine that the mining of cryptocurrencies is not subject to VAT since it is impossible to identify the recipient of the transaction, in addition to not being able to determine a direct relationship between the service provided and the consideration received, but involves the performance of an economic activity subject to IAE, for which the taxpayer must register under heading 831.9 "other financial services not classified elsewhere", within the tax on economic activities.within the tax on economic activities. Therefore, neither mining, nor the aforementioned exempt cryptocurrency operations entitle the taxpayer to deduct the VAT incurred for the performance of such activities. Those taxpayers who carry out the activity of buying and selling cryptocurrencies for third parties through a web portal will also have to register under this IAE epigraph.

We can in turn extend this explanation to other related activities, in order to determine their relationship with the VAT tax, such as the rental service of electronic equipment for mining cryptocurrencies. In this case, we would be dealing with an economic activity subject to the tax and not exempt from the payment and presentation of this tax. Services of purchase and sale of cryptocurrencies in vending machines or ATMs, whose operations constitute the delivery of goods subject to and exempt from VAT, as cryptocurrencies are qualified, for the purposes of this tax, as a means of payment assimilated to fiat currency. However, the sale and purchase of cryptocurrencies in these vending machines or ATMs also implies the performance of an economic activity subject to the IAE, for which the taxpayer must register in the epigraph 969.7 "Other automatic machines".. Likewise, we can also state that financial services related to the transmission of cryptocurrencies are exempt from VAT, while those services focused on the research and development of blockchain networks, on the contrary, are subject to and not exempt from VAT.

Facebook
Twitter
LinkedIn

Mining Activity: income from economic activity

Contact with us

Check out our latest publications
Guide to Buying Property with Cryptocurrencies in Spain
20Nov

Guide to Buying Property with Cryptocurrencies in Spain

We are a firm specialized in the purchase of properties with cryptocurrencies in Spain. We operate throughout the national territory, covering cities such as Malaga, Marbella, Alicante, Madrid, Barcelona and Valencia. If you are considering acquiring a property through digital assets such as Bitcoin, USDC or USDT, we provide a transparent, secure and tailored to your needs process. Process [...]

Can You Pay a House Directly with Bitcoin in Spain?
26Jan

Can You Pay a House Directly with Bitcoin in Spain?

The Full Legal Reality of Paying for a House with Bitcoin in Spain Yes. Spanish law allows a property to be paid in Bitcoin if both parties agree, but the transaction must comply with anti-money laundering rules, Source of Funds verification, tax reporting and notarial requirements, including euro valuation in the public deed. Buying real […]

Investing in Spanish Commercial Real Estate with Crypto: Hotels, Offices & Retail (The 2026 Corporate Guide)
22Ene

Investing in Spanish Commercial Real Estate with Crypto: Hotels, Offices & Retail (The 2026 Corporate Guide)

For institutional investors and Family Offices holding digital assets, Spanish commercial real estate offers a strategic hedge against volatility. However, acquiring yield-generating assets like hotels or office buildings with Bitcoin requires sophisticated corporate structuring. This guide details the «Share Deal» vs. «Asset Deal» dilemma, SPV creation, and complex compliance. While the residential market grabs the […]

🏛️ The Ultimate Guide to “Source of Funds” (SoF) Verification for Crypto Real Estate Deals in Spain
18Jan

🏛️ The Ultimate Guide to “Source of Funds” (SoF) Verification for Crypto Real Estate Deals in Spain

What is Source of Funds (SoF) in Crypto Real Estate? Source of Funds (SoF) is the legal, tax, and forensic verification process used in Spain to prove the exact origin, traceability, and legitimacy of the cryptocurrency used in a property transaction, ensuring compliance with anti-money laundering (AML), counter-terrorist financing (CTF), and tax regulations before a […]