Skip to content
Alonso Sala
CRIMINAL LAWYERS
Legal Analysis

Unlawful Possession of Weapons in Spain: Crime or Administrative Offence? (Art. 564 CP)

February 10, 2026Updated: 

Key Takeaways

  • The difference between a fine and prison
  • Prohibited vs regulated weapons
  • Table: knives, sprays, tasers and batons
  • Nullity of searches

Carrying a knife or another weapon is not always a crime: weapons possession sits between an administrative infringement under the Public Safety Act (a fine from EUR 601 for possessing regulated weapons outside permitted places or without documentation) and the criminal offence of unlawful possession under Articles 563 and 564 of the Criminal Code. It is an offence to possess prohibited weapons —automatic knives, double-edged daggers, non-approved electric stun devices— (Art. 563 CP) and to possess regulated firearms without a licence (Art. 564 CP). The Supreme Court also requires that the possession pose an abstract danger to public safety.

Need help with your case? Talk to a criminal defense lawyer at Alonso Sala.

One of the most frequent questions in our firm is: is carrying a knife in the car an offence? The answer is not simple, as it depends on three factors: the type of weapon, the place where it is carried and the intent. In Spain, the possession of weapons sits on a fine line between an administrative infringement (a fine under the Public Safety Act) and the criminal offence of unlawful possession (Articles 563 and 564 of the Criminal Code). Our lawyers experienced in the unlawful possession of weapons in Madrid can help you with this type of situation.

What Is Weapon Possession Law in Spain?

Weapon possession law in Spain runs on two separate tracks that decide whether carrying a weapon ends in a fine or in prison. The administrative track is the Public Safety Act (Ley Orgánica de Protección de la Seguridad Ciudadana), which fines the irregular carrying or storage of regulated weapons — a legal knife carried without justification, an expired firearms licence, incorrect storage — with penalties starting at EUR 601. The criminal track sits in Articles 563 and 564 of the Criminal Code (CP): Art. 563 CP punishes, with one to three years in prison, the possession of prohibited weapons — those barred to private individuals under any circumstances. Art. 564 CP punishes, with six months to two years in prison (more if aggravating circumstances concur), the possession of regulated firearms without the required licence. On top of both offences, the Supreme Court demands that the possession create an abstract danger to public safety, so where and how the weapon was carried weigh as much as the object itself.

The Boundary: Offence vs. Infringement

Not all irregular possession is an offence. For criminal law to come into play, the conduct must have a specific seriousness:

  • Administrative infringement (fine): applies where regulated weapons are possessed (e.g. a legal knife) but outside the permitted places, or without the necessary documentation, or where they are carried in public places without justification. The penalty is financial.
  • Offence (prison): reserved for cases of particular dangerousness: the possession of prohibited weapons (e.g. double-edged daggers, non-approved electric stun devices, modified firearms) or the possession of regulated firearms without a licence.

The Supreme Court also requires that the possession pose an "abstract danger" to public safety. Carrying a baseball bat in the boot on the way to training is not punishable; carrying it under the passenger seat on a Saturday night in a nightlife area is (a fine), and if it were a prohibited weapon, it would be an offence.

The same object can be legal, fineable under the Public Safety Act or a criminal offence depending on its type, its documentation and how it is carried. This table summarises the position for the weapons that generate the most queries in our practice:

Weapon Administrative infringement (fine) Criminal offence (prison)
Regulated firearm Licensed, but carried without justification or stored irregularly No licence or permit at all — Art. 564 CP
Knife Ordinary folding or fixed-blade knife carried in public without justification Automatic knives or double-edged daggers — Art. 563 CP, always
Pepper spray / defence spray Approved model bought from an authorised gun shop, carried without justification Non-approved sprays, typically bought online from abroad — Art. 563 CP
Electric stun devices ("tasers") No administrative-only tier — private possession is not authorised Always an offence unless approved for authorised officers — Art. 563 CP
Extendable / telescopic baton No administrative-only tier — private possession is not authorised Always an offence, reserved to specially authorised police officers — Art. 563 CP

Where the numbers escalate — several regulated firearms gathered together, or their manufacture or trading — the classification changes again: from the individual offences of Arts. 563-564 CP to the more serious offence of weapons stockpiling under Arts. 566 and 567 CP, punished with up to four years in prison for regulated firearms and up to ten years for weapons of war. See our full analysis of weapons stockpiling (Art. 566 CP).

Which Weapons Are ALWAYS an Offence?

Article 563 of the Criminal Code punishes the possession of prohibited weapons. These are weapons barred to private individuals under any circumstances. Common examples that people are unaware of:

  • Automatic knives: of any size. Their opening mechanism makes them illegal in themselves.
  • Daggers: bladed weapons with a blade under 11 cm but with a double edge and a sharp point.
  • Electric stun devices ("tasers"): except those approved for authorised officers.
  • Knuckledusters and non-approved defence sprays: those not sold in authorised gun shops (beware of online purchases from abroad).

For a detailed breakdown of the unlicensed-firearms offence itself, see our guide on illegal weapons possession under Art. 564 CP. And for a real case confirming that even an everyday object like an extendable baton counts as a prohibited weapon, see STS 217/2026 on the extendable baton.

Defence Strategy

If you are accused of unlawful possession, the defence focuses on:

  1. Nullity of the search: did the police have grounds to search your car or backpack? If the search was speculative and without any indications, the evidence (the weapon) is void.
  2. The nature of the object: an expert report to show that the object is not a "weapon" in the strict sense or is not "prohibited" (e.g. a non-automatic knife, an approved spray).
  3. Absence of danger: showing that the possession was circumstantial and posed no risk to third parties (collecting, a one-off transport).

Arrested for Possession of Weapons?

Our lawyers experienced in the unlawful possession of weapons in Madrid can analyse your case: the nullity of searches, the reclassification of the weapon or the dismissal of the proceedings.

📞 Call us: +34 91 078 65 74

Frequently asked questions

Is carrying a knife in the car an offence?

It depends on the type of weapon, the place and the intent. Carrying a legal knife outside the permitted places or without justification is usually an administrative infringement under the Public Safety Act (a fine). If it is an automatic knife or another prohibited weapon, or a firearm without a licence, it falls within the offence of Arts. 563 and 564 CP.

Where is the boundary between an administrative infringement and an offence?

The administrative infringement (a fine from EUR 601) applies to the possession of regulated weapons outside the permitted places or without the necessary documentation. The offence is reserved for cases of particular dangerousness: prohibited weapons or regulated firearms without a licence. The Supreme Court also requires an abstract danger to public safety.

Which weapons are always an offence?

Art. 563 CP punishes the possession of prohibited weapons: automatic knives of any size, double-edged daggers with a sharp point, non-approved electric stun devices reserved to authorised officers, and knuckledusters or non-approved defence sprays. These are weapons barred to private individuals under any circumstances.

Can the search that found the weapon be declared void?

Yes, this is one of the main lines of defence. If the police searched the car or backpack speculatively and without any prior indications, the evidence obtained (the weapon) can be declared null and void. It is also possible to obtain an expert report on the nature of the object to show it is not a prohibited weapon and to demonstrate the absence of danger to third parties.

Is it safe to buy a defence spray or stun device online from abroad?

Not necessarily. Defence sprays and other devices not sold in authorised gun shops may be treated as prohibited weapons because they are not approved. Caution is needed with online purchases from abroad, because possessing them may constitute an offence under Art. 563 CP.

Do you need criminal defense in this area?

We are criminal defense lawyers specializing in illegal weapons possession. We act urgently to protect your rights.

View expertise

Related Articles

View all

Before you act, speak to a criminal defence lawyer.

What you read here is just the beginning. Transform information into active defence by contacting our team of experts.