Criminal matters · urgent enquiries+34 722 221 811 ↗
Carlos & Javier · Criminal lawyers · ICAM

Illicit access to computer systems

IN ONE MINUTE · Privacy and home

Accessing systems or intercepting transmissions in violation of legal conditions may have criminal relevance.

CP · 197 bis, 197 ter, 197 quater, 197 quinquiesInformation guidePending legal review

What to check

To study illicit access to computer systems, the modality must be specified and its requirements contrasted with facts and evidence. These are the specific questions that guide the assessment:

  1. Security measures
  2. Authorization
  3. Tools and purpose of facilitating attacks

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.

Illicit access to computer systems: requirements and legal delimitation

Article 197 bis distinguishes unauthorized access or permanence violating security measures and interception of non-public transmissions. A contractual breach of use does not replace the elements of the type. Programs or credentials intended to facilitate certain crimes have specific regulation in article 197 ter. Authorization, technical scope, and access attribution must be examined.

Mitigating factors: requirements and evidence

The following are general rules that must be contrasted with the modality of illicit access to computer systems. 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

Dissemination, specially protected data, the duty of confidentiality, the personal relationship or the precedence of functions have different effects depending on the section. The authorization must refer to the specific action, and is not presumed unlimited.

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 former employee retains technical access to a system. The investigation must determine whether it was still authorized and what measures were violated; The material possibility of entering is not equivalent to permission.

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.

Authorization and scope of access

Knowing a password, having a device, or maintaining a personal relationship does not alone resolve the legitimacy of access or dissemination. It must be specified what information was obtained, by what means, with what authorization and for what purpose it was used. The protection of the home requires identifying the real use of the space.

Digital analysis needs to preserve originals and context, not just selected captures. Initial access and subsequent dissemination may pose different problems. A privacy dispute may also have civil or administrative avenues, the existence of which does not in itself determine the criminal classification.

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 · 70

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.

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 197 bis. · conduct, punishment and modalities

1. Anyone who, by any means or procedure, violating the security measures established to prevent it, and without being duly authorized, accesses or provides another with access to all or part of an information system or remains in it against the will of whoever has the legitimate right to exclude it, will be punished with a prison sentence of six months to two years.

2. Anyone who, through the use of technical devices or instruments, and without being duly authorized, intercepts non-public transmissions of computer data that occur from, to or within an information system, including their electromagnetic emissions, will be punished with a prison sentence of three months to two years or a fine of three to twelve months.

Consult this provision in the BOE ↗

Article 197 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 sections 1 and 2 of article 197 or article 197 bis, 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 primarily to commit such crimes; or

b) a computer password, access code or similar data allowing access to all or part of an information system.

Consult this provision in the BOE ↗

Article 197c. · conduct, punishment and modalities

If the acts described in this Chapter have been committed within a criminal organization or group, higher penalties will be applied respectively.

Consult this provision in the BOE ↗

Article 197d. · conduct, punishment and modalities

When, in accordance with the provisions of article 31 bis, a legal person is responsible for the crimes included in articles 197, 197 bis and 197 ter, a fine of six months to two years will be imposed. 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.

Consult this provision in the BOE ↗

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

Records, expert and scope of permits.

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 illicit access to computer systems

Which aspect should be clarified first?

Security measures. It is one of the points that can change the applicable modality. Gather records, expertise and scope of permits 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: “privacy 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 “privacy 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
Call · urgent enquiriesWhatsApp ↗
WhatsApp ↗