Skip to content
← Back to the knowledge hub
Climate Politics

What Is Miljöbalken, Sweden's Environmental Code

The Swedish Environmental Code (Miljöbalken) is the foundation of Swedish environmental legislation. It governs how we may use land, water and other natural resources, in order to protect the environment, human health and future generations.

By Tove Westling, Global marketing strategistLast updated
A tree.

The Environmental Code applies to everyone: individuals, businesses and public authorities.

The Environmental Code is meant to contribute to sustainable development. More detailed rules are set out in ordinances linked to the Environmental Code, and several other laws refer to it [1].

The Environmental Code entered into force on 1 January 1999 [1]. The aim is that both we and future generations can live in a healthy and sound environment. Many rules from earlier environmental laws have gained a broader scope through the Environmental Code.

The Environmental Code applies to all kinds of measures: both what you do in everyday life and what businesses do in their operations.

Its purpose is set out in Chapter 1, Section 1 of the Environmental Code: the provisions shall promote sustainable development which will assure present and future generations of a healthy and sound environment [19]. Everything else in the law builds on that sentence.

How Swedish environmental legislation is structured

The Environmental Code is divided into seven parts, with a total of 33 chapters and around 500 sections [1]. On top of that come many ordinances and regulations issued under the Environmental Code.

The Government adopts ordinances and may issue regulations. It can also authorise government agencies to issue regulations within their areas of responsibility, known as regulations issued under the Environmental Code. The agencies also provide guidance on how the rules should be interpreted and applied in practice.

Links to other laws and EU rules

Several Swedish laws, such as the Forestry Act, the Aviation Act and the Roads Act, refer to the rules of the Environmental Code. This means that the Code’s rules are applied when assessments are made under those laws [1].

EU environmental rules also shape the Environmental Code. EU directives must be transposed into Swedish law, often through the Environmental Code. EU regulations apply directly in all member states.

The Environmental Code is a framework law

The Environmental Code is a framework law. This means it does not contain exact rules for every situation. Instead, it sets out goals and principles to guide decisions. These are supplemented by ordinances, regulations, authority decisions and case law, meaning how the law has been applied before.

How the Environmental Code is applied in practice

The Environmental Code needs to keep pace with a changing society. A case-by-case assessment is often required, based on the general rules of consideration and the purpose of the Code. That is both a strength and a challenge.

The five cornerstones of the Environmental Code

The Environmental Code is built on five fundamental goals, set out in its opening section.

1. Protect human health and the environment from disturbances

The Environmental Code protects us from things that can harm our health, both physically and mentally. This covers not only serious pollution but also noise, poor indoor air, odours and other disturbances in our surroundings. The law pays particular attention to people who are more sensitive than others, such as children, older people and people with allergies. It also protects against the effects of chemicals and genetic engineering.

2. Protect and preserve natural and cultural environments

Valuable natural areas and places of cultural and historical significance must be protected and cared for, so that their values are not lost. This is about important habitats, but also about our history and what makes places unique.

3. Preserve biodiversity

The Environmental Code aims to protect plants, animals and the variety of nature. This covers the diversity of species and habitats and the genetic variation within species. Functioning ecosystems give us what we need, such as clean water, pollination and fertile soil.

4. Use land and water sustainably

Land, water and other natural resources must be used with care. This also applies when we plan housing, infrastructure and other development, in a way that is sustainable in the long term, ecologically, socially, culturally and economically.

5. Promote reuse and recycling

The Environmental Code wants us to manage the earth’s resources better. We should reuse instead of throwing away, and recycle materials and energy as far as possible. The aim is to extract fewer new raw materials, reduce waste and emissions, and create functioning cycles.

How the Environmental Code is organised

The Environmental Code is divided into seven parts and 33 chapters. Beyond the Code itself there are thousands of rules in ordinances and regulations. Other laws also refer to the Environmental Code, such as the Planning and Building Act, the Forestry Act and the Roads Act.

Part I – Goals and guidelines

This part contains the goals of the Environmental Code, the general rules of consideration and principles for how land and water should be used. It also covers environmental quality standards and environmental impact assessments for larger projects.

Part II – Protection of nature

This part governs how special natural and cultural areas and threatened animal and plant species are protected, for example national parks, nature reserves and habitat protection.

Part III – Rules for specific activities

This part regulates activities that can affect the environment: environmentally hazardous activities, water operations, agriculture, chemical products, genetic engineering, waste and producer responsibility.

Part IV – Permit review

This part describes how permits and notifications are handled, who makes decisions and how environmentally relevant activities are reviewed.

Part V – Supervision, fees and access

This part contains rules on how authorities carry out supervision, what they are allowed to do, what is required of operators and which fees can be charged.

Part VI – Sanctions

This part contains rules on penalties, environmental sanction charges and other legal consequences for anyone who breaks the Environmental Code.

Part VII – Compensation and damages

This part governs compensation when public authorities intervene (Chapter 31) and damages for environmental harm (Chapter 32). The environmental damage insurance in Chapter 33 was abolished at the end of 2009 [20].

Transitional provisions

When the Environmental Code was introduced in 1999, it replaced 16 older laws [11]. To make the transition smooth, a separate law was adopted: the Act on the Introduction of the Environmental Code. It helped adapt old permits, ongoing cases and earlier legislation to the new system.

The chapters of the Environmental Code at a glance

The 33 chapters of the Environmental Code contain provisions on everything from nature conservation to penalties. Here is a simplified overview of what each chapter covers [19].

Chapter What it covers
Chapter 1 Goals and scope – the purpose is set out in Chapter 1, Section 1
Chapter 2 The general rules of consideration
Chapters 3–4 Management of land and water areas, including areas of national interest
Chapter 5 Environmental quality standards
Chapter 6 Environmental assessments and environmental impact statements
Chapter 7 Protection of areas, for example national parks, nature reserves, habitat protection and shoreline protection
Chapter 8 Protection of animal and plant species
Chapter 9 Environmentally hazardous activities and health protection
Chapter 10 Activities that cause environmental damage, for example contaminated sites
Chapter 11 Water operations
Chapter 12 Agriculture and other activities
Chapter 13 Genetically modified organisms
Chapter 14 Chemical products and biotechnical organisms
Chapter 15 Waste and producer responsibility (a new chapter has applied since 1 July 2026) [22]
Chapters 16–25 Permit review: permits, the Government’s review of permissibility and cases in the Land and Environment Courts
Chapter 26 Supervision
Chapter 27 Fees
Chapter 28 Access
Chapter 29 Penal provisions
Chapter 30 Environmental sanction charges
Chapters 31–32 Compensation and damages
Chapter 33 Repealed – environmental damage insurance was abolished at the end of 2009 [20]


When does the Environmental Code apply?

The Environmental Code applies in every situation where something could work against the goals of the law. Examples include:

  • anything that could cause damage or detriment to human health or the environment
  • measures that risk destroying valuable natural and cultural areas
  • activities that reduce biodiversity
  • planning or use of land and water that is not sustainable in the long term
  • wasteful use of raw materials, energy or other resources

The list is not exhaustive. The basic principle is that the Environmental Code applies to anything that could stand in the way of ecologically sustainable development.

The Environmental Code applies both in permit reviews and generally

Some activities are specifically reviewed under the Environmental Code, for example environmentally hazardous industry and water operations. But the rules of the Environmental Code also apply more generally. Even activities that are not directly regulated by the Code can be covered by its requirements. The rules of consideration often apply alongside other laws. Exceptions are made only where it is explicitly stated that the Environmental Code does not apply.

The Environmental Code replaced older laws – but has a broader scope

The Environmental Code is more than a compilation of the old laws. It covers more environmental issues and builds on modern principles from international agreements, such as the UN Rio Declaration on Environment and Development.

Application evolves through case law

As the Environmental Code is applied in courts and authority decisions, the interpretation of the law also develops. Over time, case law shows more precisely when and how the Code should be applied.

Who does the Environmental Code apply to?

Everyone shares responsibility for the environment. The core rules of the Environmental Code, the goals and the general rules of consideration, apply to anyone who does something that could affect the environment. It makes no difference whether you run a business, build a house or simply live your everyday life. Our daily choices, such as how we travel, what we buy and how we sort our waste, are also covered by the principles of the Environmental Code.

The Environmental Code contains both general rules for everyone and specific rules for certain groups, such as industries, agriculture and construction projects. There are also rules for authorities responsible for supervision, permit review and inspections.

Run a business? Then the Environmental Code applies to you too. The first step is knowing where your environmental impact lies. With GoClimate, you get an automatic overview of your company’s climate impact, straight from your invoices and receipts →

The general rules of consideration (Chapter 2)

The general rules of consideration in Chapter 2 of the Environmental Code are the core of the entire law. They apply to anyone who carries out an activity or takes a measure that is not negligible, from heavy industry to a small consultancy. The rules apply both when an authority reviews a permit and when the supervisory authority inspects an operation [21]. Their purpose is to prevent damage or detriment to human health and the environment.

The provisions of Chapter 2 apply even where there are no specific provisions in ordinances or regulations [21]. The general rules of consideration are therefore a baseline that always applies.

Provision Principle What it means for your business
Ch. 2, Sec. 1 Burden of proof The operator must be able to show that the provisions of Chapter 2 are being met, not the authority. This also applies to anyone who has previously caused damage or detriment.
Ch. 2, Sec. 2 Knowledge requirement You must have the knowledge needed to protect human health and the environment from damage or detriment.
Ch. 2, Sec. 3 Precautionary principle and best available technology Protective measures must be taken as soon as there is reason to assume that the activity could cause damage or detriment. Professional activities must use the best available technology.
Ch. 2, Sec. 4 Product choice principle Avoid chemical products and biotechnical organisms that may pose risks, if they can be replaced with less hazardous alternatives.
Ch. 2, Sec. 5 Resource management and ecocycle principle Conserve raw materials and energy, reduce waste and recycle. Renewable energy sources should be used first and foremost.
Ch. 2, Sec. 6 Localisation principle Choose a site where the activity causes the least possible encroachment and detriment to human health and the environment.
Ch. 2, Sec. 7 Reasonableness test The requirements in Chapter 2, Sections 2–5 and Section 6, first paragraph, apply to the extent that complying with them is not unreasonable. The benefit of protective measures is weighed against their cost.
Ch. 2, Sec. 8 Liability for environmental damage Anyone who has caused damage or detriment is responsible for remedying it: the polluter pays.
Ch. 2, Sec. 9 Stop rule An activity that could cause damage or detriment of significant importance may, as a rule, only be carried out if the Government finds special reasons.
Ch. 2, Sec. 10 Government exemption The Government can still permit an activity that is of exceptional importance from a public perspective.

So the requirements must be reasonable, but the burden of proof lies with the operator. In practice, a business needs to be able to show, with figures and evidence, how it affects the environment and what it does to reduce damage or detriment. That is where self-monitoring and documentation come in.

The knowledge requirement in practice: Being able to show where your emissions come from is a big part of the job. GoClimate gathers the data for you and structures it according to the VS standard →

More activities are covered by environmental requirements

The Environmental Code means that more activities and measures must take the environment into account.

Environmental requirements for water operations

Environmental considerations now play a bigger role when water operations are reviewed. As a main rule, water operations require a permit under Chapter 11, Section 9 of the Environmental Code. Examples include diverting water, building dams or extracting water from lakes and watercourses. For some water operations, a notification is enough. No permit is needed if it is obvious that neither public nor private interests will be harmed (Chapter 11, Section 12) [14].

Genetic engineering and radiation are covered

Activities that use genetic engineering or biotechnical organisms are also subject to environmental requirements. The use of land, buildings or facilities in a way that can disturb the surroundings, for example through noise or radiation, counts as an environmentally hazardous activity and is covered by the rules of the Environmental Code.

Overview of supervision under the Environmental Code

Supervision is society’s most important tool for making sure the Environmental Code is followed [2]. Through supervision, errors and shortcomings are detected and corrected. This protects the environment and human health, and gives businesses a level playing field.

Who is responsible for supervision?

Supervision under the Environmental Code is mainly carried out by the county administrative boards and the municipalities. The Defence Inspector for Health and Environment is responsible for defence activities, and national agencies are usually responsible for specific areas.

Which authority is responsible for supervision is set out in the Environmental Supervision Ordinance (2011:13). A county administrative board can sometimes hand over supervision to the municipality, which often makes the work more efficient. This is most common for environmentally hazardous activities [2].

The breadth of the Environmental Code requires specialist knowledge

The Environmental Code covers everything from large companies to individuals, and it is sometimes hard to know who is responsible. That is why many inspectors specialise in particular areas. National agencies provide support so that assessments are as consistent as possible across the country. But it is always the supervisory authority that decides the individual case.

Environmental crime

An environmental crime is when someone breaks rules designed to protect the environment. Examples include:

  • unauthorised emissions to land, water or air
  • damage to protected natural areas
  • restrictions on the right of public access (allemansrätten), for example in shoreline protection areas
  • breaches of permits and rules for environmentally hazardous activities or chemicals
  • harm to animals and nature, especially protected species

The Environmental Code contains both rules on what to keep in mind and rules on what is punishable. The penal provisions are found in Chapter 29 of the Environmental Code, and the offence of environmental crime in Chapter 29, Section 1. Some acts can also be crimes under other laws, for example bringing protected species into the country.

Reporting environmental crime

Suspected environmental crimes are usually reported by the supervisory authorities, for example after an inspection or a tip-off from the public. You can also file a police report yourself. The Swedish Police have specialised environmental crime investigators, and experts from the supervisory authorities often contribute to investigations.

Penalties for environmental crime

Environmental crime is punishable by fines or imprisonment for up to two years, whether committed intentionally or through negligence. If the crime is gross, the penalty is imprisonment for at least six months and at most six years [5]. For gross species protection offences, the penalty is imprisonment for at least six months and at most four years [6].

Corporate fines

If the crime was committed within a business, the company may have to pay a corporate fine. This is common for environmental and work environment crimes, since these often occur within companies [3]. Both the company and individuals can be held liable, even if the crime was committed through negligence.

A corporate fine is at least SEK 5,000. The ceiling is SEK 10 million, but for larger companies the fine can be up to SEK 500 million for particularly reprehensible crimes [7].

For minor violations, environmental sanction charges are often used instead. These are charges levied directly by the supervisory authority.

New rules on corporate fines from 1 January 2020

Since 2020, more types of companies can be ordered to pay corporate fines, and larger companies can be required to pay considerably more for serious crimes. Prosecutors can also impose corporate fines of up to SEK 3 million themselves through a summary penalty order [7].

Better control, less risk: Keeping your climate data in order makes it easier to spot problems early, and to show that you have done your part. See how GoClimate works →

A dedicated prosecution unit for environmental crime

The Swedish Prosecution Authority has a dedicated unit for environmental and work environment crime: the National Unit for Environmental and Work Environment Cases (Riksenheten för miljö- och arbetsmiljömål). It handles offences against:

  • the Environmental Code and related regulations
  • the Work Environment Act
  • the Act on Measures against Pollution from Ships
  • environmental crimes prosecuted under other laws, such as the Swedish Penal Code

The unit operates from five locations in Sweden: Malmö, Gothenburg, Jönköping, Stockholm and Östersund. Each office is responsible for a specific geographical area [4].

What is environmental crime?

Environmental crime covers acts that break environmental laws and cause serious harm or risk to nature, human health, or both. Examples include:

  • collecting, transporting, recovering or disposing of waste incorrectly
  • operating an activity involving hazardous substances without a permit
  • killing, destroying, possessing or trading in protected animals or plants
  • producing, selling or using ozone-depleting substances

Environmental crime is one of the EU’s priorities in the fight against serious and organised crime, within the joint EMPACT 2026–2029 cycle [8]. The EU also has a new Environmental Crime Directive, which member states were required to transpose into national law by May 2026 [16]. In Sweden, a government inquiry has proposed a separate environmental criminal law with tougher penalties and a new waste offence [15].

Illegal waste management – an example

The waste trade shows how extensive environmental crime can be. Criminal groups often use ordinary companies as a front, which makes it hard to tell legal from illegal activity. Waste used to be dumped directly, but today the crime is more sophisticated. Criminal actors operate along the entire chain, from collection to disposal, and use forged documents to hide what is going on.

Environmental crime harms both nature and people

Environmental crime leads to more pollution, harm to animals and plants, loss of biodiversity and disrupted ecological balance. Environmental crime is not victimless. It can lead to increased health risks and environmental disasters. It can also cause irreversible climate change, contaminated food and water, and in the worst cases, deaths.

Environmental crime is profitable – but hard to detect

Environmental crime is often highly profitable, while penalties are milder and the crimes are harder to detect. This attracts organised crime. According to the UN Environment Programme (UNEP) and Interpol, environmental crime is the world’s fourth-largest crime sector, after drug trafficking, counterfeiting and human trafficking [10]. Trade in protected animals and plants and illegal waste management are common among criminal networks. They often use the same methods as in other serious crime, such as smuggling.

Big money in environmental crime

According to a 2011 study, three of the twelve most profitable forms of transnational crime are linked to the environment [9]:

  • illegal wildlife trade: USD 7.8–10 billion per year
  • illegal logging: around USD 7 billion per year
  • illegal fishing: USD 4.2–9.5 billion per year

In 2016, UNEP and Interpol estimated that environmental crime as a whole is worth USD 91–258 billion per year, up from USD 70–213 billion in 2014 [10].

History and background of the Environmental Code

Swedish environmental legislation began with the need to regulate water for industry and households. During 19th-century industrialisation, emissions from factories increased while cities grew rapidly. Sewers were built, but wastewater was released untreated into nature, which led to polluted watercourses and conflicts [17].

In 1909, the Swedish Society for Nature Conservation was founded, the same year Sweden got its first nature conservation act and a national parks act [17]. The mechanisation of agriculture and forestry transformed the landscape and threatened biodiversity.

After the Second World War, the use of chemicals took off. Rachel Carson’s book Silent Spring (1962) alerted the world to pesticides such as DDT. In Sweden, the debate centred on mercury-treated seed, which poisoned birds, including birds of prey. Seed dressings containing methylmercury were banned in 1966 [13].

In the 1950s and 1960s, Sweden began building more systematic environmental legislation. The Swedish Environmental Protection Agency was founded in 1967 as one of the world’s first central environmental authorities [18], and the Environmental Protection Act followed in 1969. The UN Conference on the Human Environment in Stockholm in 1972 and the Rio Conference in 1992 influenced the legislation, including through the precautionary principle and the polluter pays principle (PPP).

By the 1980s, environmental legislation had become a complex system of many laws, sometimes with conflicting rules. In 1989, the Environmental Protection Committee was therefore appointed to bring the environmental laws together in a single environmental code. The Government presented its proposal in 1997, and the Swedish Parliament adopted the Environmental Code in June 1998. It entered into force on 1 January 1999 [12]. It then replaced 16 older laws, including the Nature Conservation Act, the Environmental Protection Act, the Health Protection Act and the Water Act [11].

Today, the Environmental Code covers all types of environmental impact, from water and air pollution to chemicals, waste and land use. It builds on principles such as the ecocycle principle, the precautionary principle and the polluter pays principle. Because the Water Act is part of the Environmental Code, the circle closes back to where Swedish environmental legislation began.

What does the Environmental Code mean for your business?

In short, the Environmental Code shall promote sustainable development which will assure present and future generations of a healthy and sound environment. That responsibility for both people and nature applies to everyone, including your business.

The Environmental Code is built on the idea that you know how your operations affect the environment, and can show it. For a business, that means keeping track of emissions, waste, chemicals and resource use.

Want to understand your company’s environmental impact without doing the maths yourself? GoClimate automatically collects data from your invoices and receipts and produces a sustainability report according to the VS standard. Get started with GoClimate →

Want to go from knowledge to action?

See how GoClimate turns your accounting into a report you can act on.