Living in Spain Home, bills and pets

Dog Laws and Pet Laws in Spain: A Guide for Owners

The main dog laws and pet laws in Spain come from one national law, the Animal Welfare Law (Law 7/2023), in force since 29 September 2023. Every dog, cat and ferret must have a microchip. A dog must not be left alone for more than 24 hours in a row, and no pet for more than three days. Dogs and cats cannot be kept on a balcony, terrace or patio as their home, and they cannot be sold in pet shops. Fines run from €500 to €200,000.

cats and dogs travelling to Spain

Two parts of the law are still waiting: the training course for dog owners and the liability insurance for every dog. Both depend on a regulation that had not been published on 14 November 2026. Owners of potentially dangerous dogs already need a licence and insurance under older laws. On top of the national law, each region and town hall adds its own rules on leads, muzzles, beaches and vaccinations.

This guide sets out what the law asks of anyone who keeps a pet in Spain, what it bans and what the fines are. Every rule was checked against the official texts on 14 November 2026.

Dog Laws and Pet Laws in Spain at a Glance

  • Microchip: compulsory for every dog, cat and ferret, fitted by a vet and entered in the regional pet register. Not identifying your pet is a serious offence, with a fine of €10,001 to €50,000.
  • Time alone: no dog may be left without supervision for more than 24 hours in a row, and no other pet for more than three days in a row.
  • Where the animal lives: dogs and cats may not be kept as a habit on terraces, balconies, rooftops, patios, in storerooms, basements or vehicles.
  • In the street: a pet may not be left tied up or loose in a public place without the person responsible for it watching over it.
  • Cats: every cat must be microchipped and surgically sterilised before it is six months old.
  • Buying: dogs, cats and ferrets can be sold only by a registered breeder, never in a pet shop, and no pet can be sold directly online.
  • Abandonment and cruelty: banned, with fines of up to €200,000, and also crimes under the Criminal Code.
  • Course and insurance for dog owners: written into the law, but not yet enforceable because the regulation is unpublished.
  • Potentially dangerous dogs: a licence from the town hall, liability insurance of at least €120,000, a muzzle and a short lead in public.

Spain’s Animal Welfare Law: A New Era of Pet Protection

Spain’s Animal Welfare Law (Ley 7/2023) was published on 29 March 2023 and has applied since 29 September 2023. Its aim is to prevent abandonment and cruelty, promote responsible ownership and set the same basic rules in every part of Spain. The regions (autonomous communities) and town halls still run the registers, carry out the inspections and can add stricter rules of their own.

Animals are legally sentient beings in Spain, not objects. That change was made by Law 17/2021, in force since 5 January 2022, which says in the Civil Code that animals are “living beings endowed with sentience”. Because of it, a pet cannot be seized to pay a debt, and in a divorce the judge decides who keeps the pet by looking at the animal’s welfare as well as the family’s interests.

The Animal Welfare Law covers pets and wild animals kept in captivity. It does not cover hunting dogs, working sheepdogs and livestock guard dogs, police, military and rescue dogs, farm animals or bulls used in bullfighting, which have their own rules.

What every pet owner must do

  • Keep the animal in decent living conditions, with the space, food, water, hygiene and company its species needs.
  • Give it the veterinary care it needs, including the checks and treatments that the authorities make compulsory.
  • Keep it identified, and report its loss or theft to the authorities within 48 hours.
  • Supervise it and stop it escaping, causing a nuisance or harming people, other animals or property. The owner is liable for the damage a pet causes.
  • Stop it breeding without control. Only registered breeders may breed pets.
  • Pick up its droppings and stop it fouling pavements and other places where people walk.
  • Never leave it in a closed vehicle in the sun or in any conditions that put its life at risk.

Dogs in Spain: what the law bans

  • Leaving a dog alone for more than 24 hours in a row. For any other pet, including cats, the limit is three days in a row.
  • Keeping dogs or cats as a habit on terraces, balconies, rooftops or patios, or in storerooms, basements or vehicles. This is a serious offence.
  • Leaving a pet tied up or wandering in a public place without the person responsible for it there to supervise it. Tying an animal to a moving motor vehicle is also banned.
  • Electric, impulse, punishment and choke collars, and any other handling tool that can injure the animal.
  • Mutilation, such as cutting ears or tails, unless a vet certifies that it is needed to treat the animal.
  • Abuse, abandonment and animal fights.
  • Putting a pet down for reasons of cost, age, lack of space or an illness that can be treated. Only a vet can decide on euthanasia, to end suffering that cannot be relieved.
  • Selling dogs, cats or ferrets in pet shops. Shops were given 12 months from the start of the law to stop. Selling any pet directly online is banned too.

The full text is in the official state gazette (BOE), mainly in articles 24 to 30.

For our news report from when the law came into force, see pet ownership as Spain's Animal Welfare Law takes effect.

Microchipping and Registration

A microchip is compulsory for every dog, cat and ferret in Spain, and it must be fitted by a vet (article 51 of Law 7/2023). The vet enters the chip number in the pet register of your region, the Registro de Animales de Compañía, together with your name, address and contact details. This is how a lost animal is returned to its family, and how the authorities find the person responsible for it.

Not identifying your pet is a serious offence under the Animal Welfare Law, with a fine of €10,001 to €50,000. If your pet is lost or stolen, you must report it within 48 hours.

From 2 January 2027 a national decree, Real Decreto 986/2026, published on 13 November 2026, sets the same deadlines for the whole country:

  • The microchip must be fitted before the animal is three months old, and in any case before it is first sold or given away.
  • A pet is registered in one region only, the one where it normally lives. If you move to another region, you must register it there within one month of arriving.
  • A new owner must tell the register within three working days of taking over the animal.
  • If the animal dies, the owner must tell the register within seven working days.
  • A pet brought from abroad keeps its own microchip. If it stays in Spain for more than six months, it must be entered in the regional register within five working days of the end of the sixth month.

Until that date the deadlines are the ones your own region sets, so ask your vet when you arrive or when you move.

Cats: Microchip and Sterilisation

The law has one rule that applies only to cats. Every cat must be microchipped and surgically sterilised before it is six months old (article 26). The only exception is for breeding cats registered in the name of a registered breeder. Town halls are responsible for the street cats that live in colonies, which they must sterilise and microchip, and it is forbidden to harm those cats or to abandon a cat in a colony.

The Course for Dog Owners: Not in Force Yet

Article 30 of the Animal Welfare Law says that anyone who wants to own a dog must first pass a training course in dog ownership. The law says the course is free and that its certificate is valid for life. What the course contains, and how it is taken, has to be set by a regulation.

On 14 November 2026 that regulation had not been published. The Government sent a draft to the European Commission in March 2026, but it has not appeared in the official state gazette, so there is no official course to take yet and nobody can be fined for not having the certificate. The new identification decree already leaves a space in the pet register to record the course once it exists.

Potentially Dangerous Dogs (Perros Potencialmente Peligrosos)

The Animal Welfare Law did not change the rules on “potentially dangerous dogs”. They are still set by Law 50/1999 and Real Decreto 287/2002. A dog is in this group in three cases:

  • It belongs to one of eight breeds, or is a cross of one: Pit Bull Terrier, Staffordshire Bull Terrier, American Staffordshire Terrier, Rottweiler, Dogo Argentino, Fila Brasileiro, Tosa Inu and Akita Inu.
  • It has all or most of the physical traits listed in the decree: a strong, muscular build, short coat, a large head with powerful jaws, a chest of 60 to 80 centimetres, a height of 50 to 70 centimetres and a weight of more than 20 kilos.
  • It has shown a clearly aggressive character or has attacked people or other animals, and the authorities have classed it as dangerous after a vet’s report.

Regions can add breeds. Andalusia, for example, adds the Doberman to the list.

If your dog falls under this category, you must apply for a PPP licence at your local town hall before you keep it. The requirements include being over 18, having no criminal record for the offences the decree lists, passing a physical and psychological aptitude test, and holding civil liability insurance covering at least €120,000. Andalusia asks for at least €175,000 per claim. Licences are valid for five years and can be renewed for further periods of five years. The dog must also be microchipped and entered in the town hall’s register of potentially dangerous animals.

In public places the dog must wear a muzzle and be on a lead that does not extend and is less than two metres long (one metre at most in Andalusia). One person may walk only one of these dogs at a time, and must carry the licence and the proof of registration.

The fines come from Law 50/1999: keeping a potentially dangerous dog without a licence is a very serious offence, fined with €2,404.06 to €15,025.30, and having it in a public place without a muzzle or lead is a serious offence, fined with €300.52 to €2,404.05.

Living with Pets in Apartments and Urbanisations

Many expats live in apartments or urban communities where additional rules apply. Spain’s Ley de Propiedad Horizontal (Horizontal Property Law) governs shared residential buildings. It does not mention pets and does not prohibit them. What article 7.2 forbids is any activity that the community’s statutes ban or that is a nuisance, unhealthy, harmful or dangerous. If constant barking, bad smells or an aggressive dog become that kind of nuisance, the president of the community can demand that it stops and, if it does not, take the matter to court. A judge can order the nuisance to end and, in the worst cases, take away the right to use the home for up to three years.

Before buying or renting a property, review the Estatutos de la Comunidad de Propietarios (Community Statutes) to check any internal pet clauses. Landlords can also set their own terms in rental contracts, so always clarify this before signing a lease.

Good practice includes keeping common areas clean, using lifts or stairs considerately, and respecting local quiet hours, above all at night.

Dog owners need liability cover

Spanish law is bringing in third party liability cover for dogs. Sanitas pet insurance covers vet bills and round-the-clock phone advice. Liability cover is a separate policy and we can help you sort it.

  • 80% of vet bills covered
  • Vet bills covered
See pet cover

Pets on Beaches and in Public Places

Dog-friendly beaches (playas caninas) are now increasingly common across Spain, but there is no single national rule: each town hall decides. During the bathing season most beaches do not admit dogs, though several allow them in signposted sections or during early morning and evening hours. Off-season access is usually more flexible.

Check your local ayuntamiento (town hall) website before heading out, because the fine for taking a dog onto a beach where it is not allowed is set by each town’s own bylaw.

The national law bans leaving a dog loose in a public place without supervision. Whether it must be on a lead, and when it needs a muzzle, is set by each region and town. In Andalusia, for example, Law 11/2003 says every dog in a public place must be on a lead, and dogs of more than 20 kilos must also wear a muzzle and be on a strong lead that does not extend. Owners everywhere must pick up their dog’s droppings: in Andalusia, not doing so is a minor offence with a fine of €75 to €500.

Health, Hygiene, and Veterinary Care

Spain’s pet laws also set welfare standards. Owners must give their animals the veterinary care they need, take them for periodic check-ups and give them the treatments that the authorities make compulsory. Uncontrolled breeding is banned: only breeders registered with their regional authority may breed animals or sell dogs, cats and ferrets.

Vaccinations are decided by each region. Rabies is the only compulsory vaccine, for dogs in 15 of the 17 regions and in Ceuta and Melilla: see which vaccinations are mandatory for pets in Spain for the rule where you live.

It is illegal to keep a dog or cat as a habit on a terrace, balcony or rooftop, or in a patio, storeroom, basement or vehicle. An animal that lives outdoors must have shelter from sun, rain and cold, enough space, and clean water and food. In a car, Spain’s traffic rules require animals to be placed so that they cannot get in the driver’s way, which in practice means a carrier, a harness fixed to the seat belt or a crate.

Dog Liability Insurance: Where the Law Stands

Article 30 of the Animal Welfare Law says every dog owner must hold civil liability insurance for the whole of the dog’s life, to pay for harm the dog causes to other people. The amount of cover is left to a regulation, and on 14 November 2026 that regulation had not been published, so the national rule cannot yet be enforced. What does apply across Spain today is the older rule for potentially dangerous dogs, whose owners need at least €120,000 of liability cover to get their licence. Cats are not included in the duty.

Liability insurance is not the same as vet insurance. Vet bills are the owner’s to pay, and a serious illness or an operation can run into thousands of euros. Many owners take out pet insurance in Spain so that 80% of the vet’s bill comes back, up to €2,500 a year, at any vet they choose. The Sanitas pet policy is vet cover only: it does not include civil liability, which is a separate policy and is often already part of a home contents policy. That page also explains where a regional or town rule already asks for liability insurance.

Fines and Penalties

The Animal Welfare Law divides penalties into three levels (articles 73 to 76):

  • Minor offences: any breach of the law’s duties or bans that does not harm the animal, for example leaving a dog alone for more than 24 hours. A warning or a fine of €500 to €10,000.
  • Serious offences: not identifying your pet with a microchip, abandoning an animal, harming it, training it with aggressive or violent methods, mutilating it, keeping a dog or cat permanently on a terrace, balcony or patio, or committing more than one minor offence in three years. Fines of €10,001 to €50,000.
  • Very serious offences: causing an animal’s death, using animals in fights, selling dogs, cats or ferrets in pet shops, or breeding and selling animals without authorisation. Fines of €50,001 to €200,000.

On top of the fine, the authorities can take the animal away and ban the offender from keeping animals: for up to five years after a serious offence and for five to ten years after a very serious one.

The worst cases are crimes as well. Since 18 April 2023 the Criminal Code punishes anyone who injures a pet badly enough to need a vet with three to 18 months in prison or a fine, and anyone who kills one with 12 to 24 months in prison. Abandoning an animal where its life is at risk is also a crime. The Guardia Civil’s SEPRONA unit (Nature Protection Service) and local police investigate reports of neglect or abuse.

Adopting and Rehoming Animals in Spain

Thousands of dogs and cats are waiting for a home in Spain’s shelters and municipal centres. Under the Animal Welfare Law an adoption can only be arranged by a public animal centre or a registered animal protection organisation, and always with a written adoption contract. The animal must be handed over microchipped, treated by a vet and sterilised, or with a commitment to sterilise it. Adoption cannot be a sale: you can be asked only for the basic veterinary costs.

If you buy instead, a dog, cat or ferret can be sold only by a registered breeder, with a written contract, already microchipped, and not before it is two months old. Nobody may give away a puppy, kitten or young ferret under eight weeks old.

For expats, adoption can be a rewarding alternative to buying, and it gives a second chance to an animal in need.

Pets in Spain: Which Animals Can You Keep?

Dogs, cats and ferrets can always be kept as pets. For other animals the law plans official lists: one of domestic species and a “positive list” of wild species. Only the wild species on that list will be allowed as pets.

The positive list did not exist yet on 14 November 2026. The law gave the Government 24 months from its start to approve the regulation, and that deadline passed. The ministry published a draft decree for public comment on 17 April 2026, and it had not been approved when we checked.

Until the list arrives, the law already bans keeping these animals as pets: venomous reptiles, and any reptile that weighs more than two kilos as an adult, except tortoises and turtles; all primates; wild mammals that weigh more than five kilos as adults; spiders, insects, fish and amphibians whose bite or venom is a serious risk to people; and invasive species. Anyone who already had one had to declare it to the authorities.

Everyday Pet Etiquette for Expats

Living harmoniously with pets in Spain often comes down to courtesy and awareness. Carry bags and pick up after your dog every time. Bars, restaurants and hotels may admit pets, and the law says a business that does not must show a sign you can see from outside, so look for it or ask before entering. On public transport the law tells operators to make access easier for pets that pose no risk, but each operator sets its own conditions, so check before you travel.

In the hot summer months, never leave animals unattended in vehicles. The law forbids leaving a pet in a closed vehicle in conditions that put its life at risk.

Moving to Spain with a Dog

To enter Spain a dog, cat or ferret needs a microchip and a valid rabies vaccine, plus a European pet passport if it comes from a European Union country or, from Great Britain, an animal health certificate, which is valid for 10 days to enter and then for six months of onward travel. Our guide to taking pets to Spain explains every step, and once you live here the laws on this page apply to you and your dog from the first day.

Summary: Dog Laws and Pet Laws in Spain

Owning a pet in Spain is about more than following the rules: your animal is a sentient being protected by national law. Microchip and register it, never leave a dog alone for more than 24 hours, do not keep it on a balcony or terrace, sterilise your cat, and check your region’s and town’s rules on leads, muzzles and beaches. The course and the liability insurance for dog owners are in the law but were still waiting for their regulation on 14 November 2026. With proper care and respect for local rules, you and your pet can enjoy a safe, happy life together in Spain.

Looking for Health Cover While Living in Spain?

Life in Spain is full of adventure, but accidents and illness can happen when you least expect them. Protect yourself and your family with private medical cover that gives you fast access to private doctors and hospitals across Spain. Compare affordable Sanitas health insurance plans here and enjoy peace of mind while you settle into your new home.

Sources

Ley 7/2023 de Protección de los Derechos y el Bienestar de los Animales
Real Decreto 986/2026 sobre identificación de animales de compañía
Ley 50/1999 sobre tenencia de animales potencialmente peligrosos
Real Decreto 287/2002
Ley 17/2021 sobre el régimen jurídico de los animales

More in Home, utilities, television and pets 16 guides and 2 articles

See all 18

Back to top

Read next

Share this

Reviewed by Sean Guy, authorised Sanitas agent (agent code 22395) and DGSFP-registered insurance mediator (C0320X5769518Z), Marbella.

Written by the HealthPlan Spain team: English-speaking Sanitas health insurance specialists, helping expats in Spain get the right cover since 2011. Authorised and regulated by the DGSFP.

Cover for your dog or cat

Vet bills, phone advice and help with the liability cover the law is bringing in. Already a Sanitas customer? Save €100 a year.