Computer damage
Destruction of data or serious disruption of systems may constitute cybercrime.
What to check
To study computer damage, the modality must be specified and its requirements contrasted with facts and evidence. These are the specific questions that guide the assessment:
- Gravity
- Data or system affected
- Tools and authorization
The legal text below allows you to check the elements and variants. The name used in a complaint does not replace that analysis nor determine the outcome of the procedure.
Computer damage: requirements and legal delimitation
A distinction is made between serious alteration or destruction of data and serious obstruction or interruption of systems. Any technical incident or temporary loss of access is not enough. Authorization, severity and causality must be proven with an expert and records. Instruments intended to facilitate crime and corporate responsibility have specific rules.
Mitigating factors: requirements and evidence
The following are general rules that must be contrasted with the type of computer damage. It is not enough to invoke the name of a mitigating circumstance: its basis must be proven and it cannot already have been used to define a privileged modality for the same reason.
Confession, reparation and undue delays
- Confession (Article 21.4): It must occur before the authorities before knowing that the judicial procedure is directed against the person who confesses. A subsequent recognition does not automatically meet this mitigating circumstance; Any possible analogy requires its own foundation.
- Reparation (Article 21.5): repairing the damage or reducing its effects before the oral trial may be relevant. The reality and scope of the repair are examined; A promise to pay or an apology does not simply equal reparation. Payment does not necessarily extinguish the criminal action.
- Undue delays (art. 21.6): Extraordinary and undue delay is required, not attributable to the accused and disproportionate to the complexity. The total duration does not replace the study of stoppages and their causes.
Other personal circumstances
The incomplete defense, serious addiction, outburst or overwhelming passion (obcecación) and analogy have their own requirements. A diagnosis, consumption or anger does not produce an automatic reduction: its entity and connection with the event must be proven. Incomplete defenses have the special rule of article 68. In legal entities, their specific regime is applied, including article 31 quater, instead of simply transferring the circumstances of a natural person.
General aggravating factors and special modalities
Amount, object, damage, abuse of relationships and previous convictions can determine an aggravated rate. Doubling that same base through a generic aggravating circumstance must be avoided. The family excuse of article 268 is only examined in its scope and with its requirements and exclusions: it does not cover any economic crime.
Recidivism requires legally computable antecedents: previous final conviction, same title and nature in legal terms, without canceled or cancelable antecedents. Previous arrests or complaints are not enough. The 2026 reform requires distinguishing this aggravating circumstance from the special rules for multiple recidivism of minor crimes.
alevosía (means ensuring the attack without risk from the victim’s defence), abuse of superiority or trust, disguise, price, discrimination, cruelty and prevalence of public character are not boxes applicable to any crime. Compatibility with its structure and proof of foundation must be checked. The relationship of article 23 can aggravate or mitigate depending on its nature, reasons and effects. Article 67 prevents reassessing what already includes or sanctions the rate.
How grief is individualized
First identify the offence and its special rules. Then assess completion or attempt, the person’s role and the applicable circumstances. An attempt may lead to a penalty one or two degrees lower depending on the stage of execution and the danger created. Complicity follows Article 63 unless a special rule applies. An instigator or a person providing essential assistance does not automatically receive the reduction applicable to an accomplice.
General rule for intentional crimes, with legal exceptions: For intentional offences governed by these rules, one mitigating circumstance with no aggravating circumstances leads to the lower half of the penalty range; one or two aggravating circumstances with no mitigating circumstances lead to the upper half. Two or more mitigating circumstances, or one exceptionally strong mitigating circumstance, without aggravating circumstances require a reduction of one or two degrees according to their significance. When both kinds are present, the court makes a reasoned assessment of their combined effect: they are not cancelled out as numerical points. Minor offences and negligent offences are governed by Article 66.2, subject to the statutory exception for repeated minor offences.
Half the penalty and degree: they are not the same
As a purely arithmetic example, in an interval from six to eighteen months the midpoint is twelve months. The lower half falls within that range; lowering one grade creates an interval below its minimum under Article 70. This example does not select a penalty for your case and must respect legal units and limits.
A quota fine requires separating duration and daily quota; a proportional fine is calculated on a different basis. Prison, fine, disqualification, compensation and costs are not converted into one another or added together as if they were a single penalty. The suspension of prison requires checking its own budgets and is never deduced only from the fact that the maximum is two years.
Explore penalties and concurrent offences [Spanish] · Authorship and participation [Spanish] · Attempt [Spanish] · Concurrent offences [Spanish]. The tool compares scenarios; It does not replace the legal selection of the case.
Hypothetical example: what can change the rating
A system crash coincides with a user’s access. The coincidence does not prove that it caused the incident; records, permits and extent of damage must be reconstructed.
It is an invented didactic assumption, not a case of the office nor a prediction of conviction. Changing the intent, the context or an element of evidence can change the legal response.
Where is the border with a civil conflict?
A non-payment, a loss of money or a contractual dispute are not sufficient on their own to establish that a crime exists. It is necessary to reconstruct how the property was received, what powers each intervener had and when the conduct that is considered illegal appeared. In fraud, deception is essential; in the appropriation, the title of reception and the subsequent destination; in dishonest management of another person’s assets, management powers and damage.
Quantification needs a verifiable basis. It is advisable to separate the value of the property, the attributable damage, what was recovered and the possible civil liability. In repeated cases, criminal continuity must be examined and the same damage should be avoided twice. Family relationships may require studying the common provisions of article 268, without assuming an exemption.
Penalties, modalities and applicable rules
How to read Spanish penalties
A fine expressed in months is a monetary penalty under Spain’s day-fine system, not a prison term. The daily amount depends on financial circumstances; statutory calculation treats a month as 30 days and a year as 360 days (Article 50). Proportional fines instead use the stated amount or benefit as their basis (Article 52). “Or” indicates alternative penalties; “and” indicates cumulative penalties. The upper or lower half stays within the same statutory range; moving up or down a degree creates a different range under Article 70. These are Spanish-law concepts, not equivalents of a foreign sentencing system.
BOE · 50 · BOE · 52 · BOE · 70This is an assisted translation of our Spanish guide, with terminology adjustments. It concerns Spanish law, not the law of an English-speaking country. Legislative passages are unofficial translations: the linked Spanish BOE text is the source. Individual professional review remains pending. Examples are hypothetical and this guide does not assess a particular case.
The following precepts distinguish behaviors and consequences. If the article contains several crimes, not all its sections apply to this case. Read the complete modality and its conditions; Alternative penalties are distinguished from cumulative penalties.
Article 264. · conduct, penalty and modalities
1. Anyone who, by any means, without authorization and in a serious manner, erases, damages, deteriorates, alters, deletes or makes inaccessible computer data, computer programs or electronic documents of others, when the result produced is serious, will be punished with a prison sentence of six months to three years.
2. A prison sentence of two to five years and a fine of one to ten times the damage caused will be imposed when any of the following circumstances occur in the conduct described:
1. It would have been committed within the framework of a criminal organization.
2. Has caused especially serious damage or affected a large number of computer systems.
3. The event would have seriously harmed the operation of essential public services or the provision of basic necessities.
4. The events have affected the computer system of a critical infrastructure or a situation of serious danger has been created for the security of the State, the European Union or a Member State of the European Union. For these purposes, critical infrastructure will be considered an element, system or part thereof that is essential for the maintenance of vital functions of society, the health, security, protection and economic and social well-being of the population whose disturbance or destruction would have a significant impact by not being able to maintain its functions.
5. The crime has been committed using any of the means referred to in article 264 ter.
If the facts have turned out to be extremely serious, a higher sentence may be imposed.
3. The penalties provided for in the previous sections will be imposed, in their respective cases, in their upper half, when the acts have been committed through the illicit use of another person’s personal data to facilitate access to the computer system or to gain the trust of a third party.
Article 264 bis. · conduct, punishment and modalities
1. Anyone who, without being authorized and in a serious manner, hinders or interrupts the operation of another’s computer system will be punished with a prison sentence of six months to three years:
a) carrying out any of the behaviors referred to in the previous article;
b) entering or transmitting data; or
c) destroying, damaging, disabling, eliminating or replacing a computer, telematic or electronic information storage system.
If the events have significantly harmed the normal activity of a company, business or a public Administration, the penalty will be imposed in its upper half, with the possibility of reaching a higher penalty in degree.
2. A prison sentence of three to eight years and a fine of three to ten times the damage caused will be imposed when any of the circumstances in section 2 of the previous article have occurred in the events referred to in the previous section.
3. The penalties provided for in the previous sections will be imposed, in their respective cases, in their upper half, when the acts have been committed through the illicit use of another person’s personal data to facilitate access to the computer system or to gain the trust of a third party.
Article 264 ter. · conduct, punishment and modalities
Anyone who, without being duly authorized, produces, acquires for use, imports or, in any way, provides to third parties, with the intention of facilitating the commission of any of the crimes referred to in the two previous articles, will be punished with a prison sentence of six months to two years or a fine of three to eighteen months:
a) a computer program, designed or adapted mainly to commit any of the crimes referred to in the two previous articles; or
b) a computer password, access code or similar data allowing access to all or part of an information system.
Article 264c. · conduct, punishment and modalities
When, in accordance with the provisions of article 31 bis, a legal person is responsible for the crimes included in the three previous articles, the following penalties will be imposed:
a) Fine of two to five years or five to twelve times the value of the damage caused, if the amount is higher, in the case of crimes punishable by a prison sentence of more than three years.
b) Fine of one to three years or three to eight times the value of the damage caused, if the amount is higher, in the rest of the cases.
Taking into account the rules established in article 66 bis, judges and courts may also impose the penalties included in letters b) to g) of section 7 of article 33.
Attempt, participation and concurrent offences
What each person did must be individualized. Authorship, induction and necessary cooperation are not simply equated with complicity. You must also check if the type allows attempts and if there are special rules that displace general reductions.
Where other offences may be involved, first distinguish an apparent conflict between provisions (concurso de leyes) from multiple offences (concurso de delitos). Adding offence names or penalties is not enough: avoid punishing the same legal wrong twice and determine whether the relevant Spanish rules are concurso ideal, medial or real.
What documentation helps to study this matter
Copies, records and expert.
Prepare a brief chronology and identify what you know directly, what you have been told, and what documents exist. Preserve the originals and complete context. The usefulness and admissibility of each piece of evidence must be examined; An isolated capture does not always reflect the sequence.
If you have a summons, include the date, the body and the condition in which you are summoned. For an emergency, first indicate the action and the location. We will agree on the appropriate channel for sensitive documentation; It is not necessary to send a file via WhatsApp to request assistance.
Questions about computer damage
Which aspect should be clarified first?
Gravity. It is one of the points that can change the applicable modality. Gather copies, records and expert reports and compare them with the corresponding precept.
Is the article penalty the one that will be imposed?
Not necessarily. The modality, degree of execution, intervention and circumstances must be established, and the special rules must be checked. The sentence individualizes the penalty within the applicable regime.
Can I check if there is still no complaint?
Yes. The consultation allows you to organize the situation and assess the next steps. If there is already an upcoming action, communicate it to arrange the necessary assistance.
Crimes and related concepts
Sources and review
Editorial basis: “property crime” chapter of the Memento Penal provided to the office. Own writing, without reproducing its doctrinal comments. Regulatory text: BOE, consulted on November 8, 2026. The consolidated text is informative and the applicable law depends on the date of the events.
Status: editorial draft pending legal review by the firm. Doctrinal references are not presented as proven jurisprudence. No judicial decisions have been included without individual verification.
Your case needs its own assessment
Carlos Manrique de Torres and Javier Hernández Moreno. 24-hour emergencies in Madrid and surrounding areas, upon confirmation of availability and order. Consultation for one hour in person, telematic or telephone: €150 + VAT €181.50. It does not include review of complex documents or assistance with the procedure.
Basis of this extension
Own writing based on the «property crime» chapter of the Memento provided to the office and the linked regulations. The examples are original. Doctrinal comments are not reproduced nor are unverified judicial decisions cited.
Regulatory comparison of this extension: November 15, 2026. Consolidated Penal Code: last update published on April 9, 2026. The law applicable to the date of the events and, where appropriate, favorable retroactivity must be verified. Informative content pending professional review by the office.
General rules: mitigating circumstances, article 21; aggravating circumstances, article 22; individualization, article 66; prohibition of double valuation, article 67.
Speak to a criminal lawyer in Madrid
Carlos Manrique de Torres and Javier Hernández Moreno · lawyers registered with ICAM, the Madrid Bar Association.
Arrange a one-hour consultation
€150 + VAT (€181.50) · one hour · in person, by video or by telephone. Complex document review is not included. Court representation and urgent attendance require a separate scope and fee agreement.
Tell us your preferred language when contacting us so that the available arrangements can be confirmed before the consultation.
For an urgent enquiry, give the police station or court, the scheduled date and a brief description. Avoid sending identity documents, intimate material or a complete case file in the first WhatsApp message. We can agree how to provide the material needed for assessment.
About this translation
This is an assisted translation of our Spanish guide, with terminology adjustments. It concerns Spanish law, not the law of an English-speaking country. Legislative passages are unofficial translations: the linked Spanish BOE text is the source. Individual professional review remains pending. Examples are hypothetical and this guide does not assess a particular case.
Spanish original