At a Spanish weekly market, you choose ripe tomatoes, cheese cut to order and fresh fish packed over ice. Most stalls handle food responsibly, but simple signs—clean surfaces, proper chilling, clear prices and labels—help you buy with confidence.
Spain’s ley de seguridad alimentaria y nutrición—Law 17/2011—protects consumers from farm to market stall, but it does not replace EU hygiene, traceability or food-information rules. It sets out who must keep unsafe food off sale and how alerts work, while EU rules cover many daily stall duties shoppers can recognise.
Law 17/2011 is a framework, not a stall rulebook
Law 17/2011 gives Spain a national framework for food safety, nutrition and consumer protection. At a weekly market, detailed duties on clean handling, supplier records, allergen information and labels mainly come from EU law, Spanish retail rules and local council conditions.
Think of the law as the roof of a house. It tells public authorities what the house must protect: people’s health and informed choice. The rooms underneath are the working rules for hygiene, traceability, labelling, inspections and local market permits.
This distinction matters for shoppers. A stall may have a municipal authorisation to trade in a street market, yet an individual product could still have a missing allergen notice, poor cold storage or an inaccurate label.
Law 17/2011 on Food Safety and Nutrition supports safe food, public-health action, consumer protection and nutrition policy in Spain. It also gives a role to bodies such as the Ministry of Health and the Spanish Agency for Food Safety and Nutrition, known as AESAN.
The law supports action when food may harm health. It also covers areas such as nutrition, advertising aimed at children and coordination between public authorities. It is not a checklist saying that every cheese stall must use one named fridge or one exact sign.
A shopper can rely on one clear principle: food placed on sale must be safe under normal conditions of use. That principle is reinforced by Regulation (EC) No 178/2002, often called the EU General Food Law.
Regulation (EC) No 852/2004 is the main EU hygiene rule for food businesses. It requires operators to control hygiene risks in their own activity, from transport and storage to display and sale.
Regulation (EU) No 1169/2011 covers food information for consumers. This is where many rules on ingredients, allergens, dates, origin claims and mandatory label information are found.
A common mistake is assuming that a market licence proves every food item is compliant. A licence normally allows the trader to occupy a pitch; it does not replace checks on the food, its label, its temperature or its supplier trail.
Local councils can add market-specific rules. They may regulate stall permits, pitch layout, opening hours, waste handling, access to water, display height or the sale of particular product types.
Madrid is a useful local example because its district markets and street-market permissions are managed through municipal arrangements alongside regional food controls. A permit to trade at a Madrid market tells you something about the stall’s right to be there, but it is not a food-safety certificate for every tomato, cooked dish or cheese sold that day.
Local conditions differ between municipalities and Autonomous Communities. For a shopper, that means the best first contact for a visible market problem may be the council, while a wider food-safety issue may sit with the competent regional authority.
For shoppers: Law 17/2011 explains the protection system. EU hygiene, traceability and labelling rules explain many of the checks you can make at a stall. A municipal permit and a safe product are related, but they are not the same thing.
Before turning to those duties, it is worth noting that the nutrition side of Law 17/2011 goes beyond reacting to unsafe products. It supports policies that promote healthier food choices and help prevent obesity, including action in settings such as schools and measures concerning food advertising aimed at children. This public-health purpose sits within the broader protection of health recognised by Article 43 of the Spanish Constitution and the General Health Law. AESAN helps coordinate food-safety and nutrition work between national, regional and local administrations, although regional authorities and councils retain important enforcement and market-management roles.
For consumers, this means a right to food that is safe and not misleading, alongside public policies intended to make healthier choices more accessible.
With this broader purpose in mind, the next section maps each duty to the person responsible and the rule behind it.
Which rules apply to each market safety duty
At Spanish weekly markets, the seller is chiefly responsible for safe handling and accurate information, while councils and regional authorities enforce different parts of the system. No single rule covers everything a shopper sees at a stall.
A food business operator is the person or business responsible for meeting food-law requirements in the activity under its control. In plain language, it is usually the trader, producer, shop or company selling the food, not the customer.
Traceability is another term worth clearing up. It means being able to follow food through the supply chain, like following a parcel from sender to recipient. It is not merely a label that must always be visible on the counter.
| Safety area | Main responsible party | What a shopper may see | Main rule |
|---|
| Food hygiene | Seller or producer | Protected food, clean tools, chilled display | Regulation (EC) No 852/2004 |
| Traceability | Seller and supplier | Lot, origin or supplier details when relevant | Regulation (EC) No 178/2002 |
| Allergen information | Seller | Written notice or reliable staff information | Regulation (EU) No 1169/2011 |
| Official controls | Competent authority | Inspection, sampling or enforcement | Regulation (EU) 2017/625 |
| Retail conditions | Seller and market organiser | Pitch conditions and waste arrangements | Royal Decree 1021/2022 and local rules |
Hygiene controls depend on the food
Whole, uncut fruit and vegetables do not face the same risks as raw chicken, fresh fish, sliced cheese or chilled prepared meals. The more a food is cut, cooked, chilled or ready to eat, the more careful handling usually needs to be.
For example, a box of whole oranges can usually be displayed in ambient conditions. Fresh fish, raw poultry and refrigerated ready-to-eat salads need a controlled cold chain, meaning the food stays at a suitable cold temperature from delivery through sale.
The European Commission sets the legal framework, while the relevant regional and local authorities inspect compliance. You can read the official EU food-law framework at the European Commission food safety portal.
Traceability works behind the counter
A trader must generally know who supplied the food and must be able to act if a product is unsafe. This does not mean every shopper has a right to inspect every invoice, but it does mean the food should not become anonymous once it arrives at the stall.
A usual case is a vendor selling several similar goat cheeses from different producers. If one batch is recalled, the seller needs records that separate the affected batch from the other cheeses. Without that separation, removing only the risky product becomes much harder.
In practice, a precise product record protects both the customer and the trader. It allows a narrow withdrawal instead of causing unnecessary alarm about all similar food.
Inspections are not just local permits
Official controls can include visits, document checks, samples, temperature checks and action where rules are breached. Regulation (EU) 2017/625 provides the wider EU framework for these official checks.
Autonomous Communities have major responsibilities for food-control enforcement. Municipal market authorities can also deal with local trading conditions, such as an unapproved pitch, blocked waste area or a stall operating outside authorised hours.
But permits and inspections are only part of the picture. Shoppers also need to know what they can spot when food is exposed to heat, hands and transport.
For food business operators, compliance is more than keeping a counter clean. A producer, distributor, market trader, restaurant or school caterer should be able to identify suppliers, retain batch or delivery records, apply proportionate self-control procedures and keep allergen information accurate as food is prepared or sold. In practice, a cheese trader should separate lots from different dairies; a prepared-food stall should record cleaning, temperature and ingredient controls; and a caterer serving a community meal should be able to trace ingredients and isolate a dish if an allergen or microbiological concern is identified.
These records do not remove the need for professional advice, but they make a withdrawal faster and more precise.
Safe market food depends on handling, not appearance
Food sold at an open-air market can be safe when it is protected, handled hygienically and kept at the conditions its type requires. Looking fresh is useful, but appearance alone cannot confirm safety.
A bright fish counter, a clean apron or attractive packaging may reassure you. They do not show whether the item stayed cold during a two-hour delivery, whether raw and ready-to-eat foods were separated, or whether a recalled lot was removed.
The practical checks are still simple. Look for food that is protected from touching, dirt and insects, and ask a calm, direct question when something is unclear.
Chilled food needs a cold chain
Chilled food should remain cold from transport to display. The exact temperature target depends on the product and national or sector rules, but the key point is continuity: repeated warming and cooling creates more risk than a properly managed cold display.
Raw meat, fish, dairy products and chilled cooked foods deserve the closest attention. If a supposedly refrigerated product sits in direct sun without a suitable chilled unit, do not assume it is fine because the packaging is sealed.
A short market queue is not itself a danger. A problem arises when a perishable product remains outside its required cold conditions for long enough to allow harmful bacteria to grow, like leaving milk in a warm car rather than returning it promptly to the fridge.
Unpacked food needs a barrier
Bread, pastries, olives, sliced cheese and prepared foods should be protected from dust, insects and repeated customer handling. Tongs, serving paper, display guards and separate utensils are ordinary signs of sensible food hygiene.
Handling money and then ready-to-eat food without a clean routine is a fair concern. A trader may use a separate person for cash, hand hygiene between tasks, gloves for a specific job or tools that avoid direct contact.
Gloves are not magic. Dirty gloves used all morning can spread contamination just as hands can, so clean tools and sensible handwashing routines matter more than the sight of gloves alone.
Raw food must stay separate
Raw poultry, raw meat and fish can carry microorganisms that are destroyed by thorough cooking. Ready-to-eat food, such as cooked tortilla, bread or salad, may be eaten without another heat step, so it needs protection from contact with raw items.
Separate surfaces, knives, containers and display areas reduce cross-contamination. This means germs move from one food or surface to another, much like wet paint transferred from one sleeve to another.
The most frequent shopper error is treating all food risks as visible dirt. Many foodborne hazards cannot be seen, smelled or tasted, which is why storage and separation matter as much as a neat-looking counter.
A 30-second weekly-market safety scan
1. Look
Protected food, clean tools, no obvious leaks or damaged packs.
2. Check
For chilled goods, look for proper cold display and sensible separation.
3. Ask
Ask about allergens, origin, storage or the relevant date before buying.
If something seems wrong, keep the receipt and take a clear photo of the label or stall before leaving.
These checks help with handling risks. The next check is often more decisive: the date and allergen information attached to the food.
Labels, allergens and dates change buying decisions
A use-by date is a food-safety deadline for highly perishable food, while a best-before date mainly concerns expected quality. At weekly markets, allergen information for non-prepacked food must also be available before you buy.
The two dates are easy to mix up because they often appear near the end of a product’s intended sale period. They mean different things, just as a train ticket expiry differs from a note saying a magazine may no longer be current.
For an allergy, clear information can be more urgent than a date. The EU rules identify 14 allergens that must be communicated when present, including cereals containing gluten, eggs, milk, peanuts, nuts, fish, crustaceans and sulphites.
A use-by date is a safety limit
A food marked with a use-by date should not be eaten after that date. This wording is used for foods that can become unsafe quickly, particularly refrigerated perishable products.
Do not rely on smell or appearance to overrule a use-by date. Some harmful bacteria do not reliably create an obvious smell, colour change or taste.
If you buy a chilled product close to its use-by date, plan storage and consumption realistically. A family buying food for the next three or four days should check that the remaining period fits the home fridge and meal plan.
Best-before is different
A best-before date indicates how long a food is expected to keep its stated quality when stored properly. Foods such as biscuits, dry pulses or some preserved products can remain safe after that date if packaging and storage are sound.
This is not a blanket permission to ignore dates. A swollen pack, broken seal, mould, pest damage, strange odour or poor storage can make a product unsuitable before or after its best-before date.
The distinction also matters for food waste. Throwing away all best-before food automatically can waste usable food, while treating a use-by date as flexible can create a real safety risk.
Allergens must be answerable
For non-prepacked foods, allergen information can be displayed, supplied in writing or supported by a documented system that staff can explain accurately. A sign saying only “ask staff” is useful only if staff can give a reliable answer.
Ask a focused question: “Does this contain milk, egg, nuts or sesame?” If the seller cannot confirm the answer, a person with a serious allergy should not guess.
Specialist guidance and the legal text make the repeated recommendation clear: allergen information must be available before the sale is completed. A vague reassurance such as “it should be fine” is not a safe substitute for checked information.
Origin claims should not mislead
Words such as “local,” “artisan” and “farm-made” can be meaningful, but they are not safety guarantees. They should not be used in a way that misleads you about the food’s origin, composition or method of production.
Direct sale can shorten the path between farm and shopper. It does not remove the seller’s duties on hygiene, traceability or information.
With dates and allergens clear, the next question is what happens when an official warning names a food you have already bought.
Law 17/2011 should not be confused with Spain’s rules on food waste. Food-safety law asks whether food is safe, correctly handled and properly described; food-waste policy focuses on preventing avoidable loss and managing surplus responsibly. A best-before product may sometimes still be suitable for sale or redistribution if its condition, storage and labelling are compliant, whereas food past its use-by date must not be treated as a surplus-food opportunity for consumers.
For a weekly-market seller, the practical order is simple: first assess safety and legal compliance, then consider waste-prevention options for food that remains fit for consumption. Reducing waste never permits the sale of unsafe food.
Recalls target lots, not entire markets
A food alert applies to the exact product, lot or batch, origin and instructions named by the authority. A recall affecting one item sold at a market does not mean that every similar product, or the whole market, is unsafe.
AESAN publishes alerts and consumer information when relevant food risks are identified. The useful details are usually the product name, brand, lot or batch, pack size, origin, image and reason for the alert.
Think of a batch as a small production group. If one batch of a cheese is affected, it is like finding a problem with one page range in a printed book, not every book ever written by that publisher.
Match the exact product details
Before returning or discarding food, compare the official alert with your product. Check the brand, product name, lot number, pack size, best-before or use-by date, and country or producer when those details are listed.
A product in the same family is not automatically affected. “Goat cheese” is too broad; “200-gram goat cheese, lot L2410, specific producer and date” is the kind of detail that lets you make a sound decision.
AESAN’s public alerts are available through the AESAN website. Follow the instructions in the current notice, because advice can differ between returning a product, not consuming it, or seeking medical advice.
When a trader learns that food under their control may be unsafe, the trader must act. That can mean stopping sales, separating stock, contacting the supplier, withdrawing food and cooperating with the competent authority.
If consumers may already have bought the product, information may need to reach them. The exact route depends on the risk, the distribution pattern and instructions from authorities.
A concrete example is a trader with six cheeses from two dairies. If an alert affects one dairy’s lot, good supplier and batch records allow removal of that one lot while the other five products can be assessed separately.
Keep evidence before reporting
Keep the receipt when possible. Photograph the label, lot number, stall name or pitch, market location and purchase date before packaging is thrown away.
A report saying “I bought bad cheese at a market” may be impossible to trace. A report with a photo of the pack, the lot, the Tuesday market location and the seller’s sign gives inspectors something they can verify.
Do not taste food again to test it. If an official alert says not to consume it, follow that instruction even if the product appears normal.
A targeted alert is not a reason to panic. It is a tracing tool, and the next section explains how to use that tool when you suspect a problem yourself.
Report a suspected food risk with evidence
A useful report about food bought at a Spanish weekly market identifies the product, seller, date and concern clearly. Keep the item and its label if safe to do so, and seek urgent medical help first if symptoms are serious.
Food poisoning can range from short-lived stomach upset to a serious illness. The timing of symptoms alone does not prove which food caused them, since some illnesses begin within hours and others take longer.
Your report does not need to prove the legal breach. Its purpose is to give the competent authority enough information to inspect, trace and decide whether action is needed.
Preserve the product safely
Keep remaining food, packaging and any label. Store it according to the product’s normal conditions, such as refrigeration for chilled food, unless an authority tells you something different.
Do not freeze, cook or mix the suspect food with other food if an inspection or sample may be relevant. Do not give it to another person or animal.
Take clear photos in good light. Include the front label, the date, lot or batch, ingredients, the stall sign if possible, and anything visible that concerns you, such as leaking packaging or a broken seal.
Choose the right reporting route
For an immediate market-stall condition, such as exposed ready-to-eat food being repeatedly handled without protection, the local council or municipal market authority can be an appropriate first route. They may be able to inspect the market conditions directly.
For a suspected unsafe product, food-control services in the relevant Autonomous Community are usually central. AESAN coordinates national alert information but is not always the first body to inspect one local purchase.
If there is an active official alert, follow that notice first. It may name a customer service route, a return process or a public-health instruction that is more specific than a general complaint.
Seek medical care when needed
Seek urgent medical advice for severe or persistent symptoms, dehydration, blood in stool, high fever, neurological symptoms, or illness affecting a young child, older adult, pregnant person or immunocompromised person. These groups can become unwell more quickly.
Tell the clinician what was eaten, when it was eaten and whether anyone else who shared the food is ill. Keep the receipt and product evidence, because those details can support public-health investigation.
This guide cannot diagnose food poisoning. A doctor, pharmacist or emergency service should assess symptoms, while food authorities assess the food and the business controls.
This guide is for shoppers, not for vendors, caterers, manufacturers or market organisers who need a tailored compliance plan, HACCP records, licensing advice or legal representation. It also does not replace urgent medical advice after suspected food poisoning or official instructions during an active food alert.
A report works best when it is specific. Consumer protection also includes knowing what information you can reasonably expect before choosing food.
Consumers in Spain have the right to food that is safe and to information that helps them make informed choices. This does not mean every weekly market must stock a particular diet product or that every “local” claim proves superior quality.
Law 17/2011 links food safety with nutrition and consumer protection. Regulation (EU) No 1169/2011 then sets much of the detailed information shoppers need for packaged foods and allergens in non-prepacked foods.
The dividing line is useful. Safety rules prevent harm; nutrition policy encourages healthier choices; marketing claims must not mislead. These are connected, but they are not interchangeable.
Food information should not mislead you about identity, composition, quantity, origin or properties. A seller cannot use words such as “natural,” “traditional” or “artisanal” to hide missing mandatory information.
Ask what the claim actually means. “Local honey” may mean harvested nearby, packed nearby, or sold by a local business using honey from elsewhere. The answer should be clear enough for you to decide whether the claim matters to you.
This is not about distrusting small traders. It is about giving shoppers the same basic ability to choose that they would expect in a shop.
Spain’s food-safety and nutrition framework supports healthier food environments and better consumer information. It does not require every market stall to sell organic food, vegan food, low-salt food, gluten-free food or a particular number of fruit and vegetable options.
A food can be legally sold and safe without being suitable for every person’s diet. Someone with coeliac disease, diabetes, a severe allergy or kidney disease may need more tailored guidance than a general food label can provide.
The practical choice is to use the available information: ingredients, allergens, date, storage conditions and truthful origin. Those are the checks that let a shopper compare food on a real market morning.
Food waste law is a separate issue
Spain’s Law 1/2025 on the prevention of food loss and food waste addresses a different problem from Law 17/2011. Search results often mix them because both concern food, but one focuses on preventing waste and the other provides a broad safety and nutrition framework.
The food-waste law can affect how businesses plan surplus food, donations and waste prevention. It does not replace hygiene duties, allergen information, traceability or the obligation to withdraw unsafe food.
Royal Decree 1021/2022 also appears in searches because it regulates certain retail trade conditions. It is relevant to retail activity, but it should not be treated as the whole legal answer for a market stall.
For a medical diet, a serious allergy, a suspected illness or a business compliance question, seek advice from the relevant healthcare, food-safety or legal professional for the specific case.
What people ask
What does Spain’s food safety law cover?
Law 17/2011 sets Spain’s framework for food safety, nutrition and consumer protection. Day-to-day market duties on hygiene, traceability and food information mainly come from EU regulations, Spanish rules and local conditions.
What are four food safety rules?
Four practical food-safety rules are clean, separate, cook and chill. They are everyday hygiene principles, not four chapters of Law 17/2011, and they matter most for raw meat, fish and ready-to-eat foods.
Is food-waste training mandatory in Spain?
Food-waste training is not automatically mandatory for every shopper or every weekly-market worker. Duties depend on the business role, hygiene responsibilities and the particular obligations that apply under food-waste legislation.
When did Spain’s food-waste law start?
Spain’s Law 1/2025 on food loss and food waste is in force. It concerns waste prevention and does not replace the core hygiene and food-information rules for selling food safely.
Can I report an unsafe market stall in Spain?
Yes, you can report a suspected risk to the local council, market authority or competent Autonomous Community authority. Include the stall location, purchase date, product label, lot number, receipt and photos whenever possible.
How do AESAN food alerts work?
AESAN alerts identify affected food using details such as product name, brand, lot, origin, packaging or risk. Check whether your exact item matches those details before returning, discarding or reporting it.
What matters most:- Law 17/2011 protects consumers, but EU rules set many practical stall duties.
- Protected food, reliable cold storage and clear allergen information are useful shopper checks.
- A municipal licence does not guarantee that every product is safe or correctly labelled.
- For an alert or complaint, the product name, lot, receipt and photos make action far more effective.
- Food-waste legislation and food-safety legislation address different problems, even when search results place them together.
Learn more
Here are some additional resources on this subject: