Study guide · Self-defence, necessity, proof testing and shooting ranges

When defending yourself is allowed, what proof testing checks and how shooting ranges work

As of November 22, 2026 · German Criminal Code (StGB), German Civil Code (BGB), Proof Act (BeschG), German Weapons Act (WaffG) and General Weapons Act Ordinance (AWaffV) as currently in force · about 27 min read

Anyone who owns a weapon must know when they may use it against a person, and above all when they may not. On this page you learn about self-defence and the different forms of necessity. After that we look at official proof testing, which makes sure a weapon can withstand the gas pressure, and at the rules on shooting ranges: permit, supervision, minimum ages and banned exercises in sport shooting. As a running example you follow Lea. She is a hunter and a sport shooter and will soon take over range supervision at her club. The page is based on the German Criminal Code, the Civil Code, the Proof Act, the Weapons Act and the General Weapons Act Ordinance, but written in our own words.

Self-defence: what the law allows

Section 32 of the Criminal Code says: anyone who commits an act that is required by self-defence does not act unlawfully. Self-defence is therefore a justification. The act is permitted; it is neither punished nor punished more leniently. For civil law, section 227 of the Civil Code says the same. Anyone acting in self-defence therefore owes no damages either.

Self-defence is the defence that is necessary to fend off an imminent unlawful attack on yourself or on someone else. It contains three tests:

  • Attack: a person threatens a legal interest, such as life, health, liberty, property or possession.
  • Imminent: the attack is about to happen, is happening or is still going on.
  • Unlawful: the attacker has no right to act as they do.

On the defender's side there is also the question of whether the defence is necessary and justifiable. Revenge for a past attack and arming yourself "in stock" against possible future attacks are not self-defence. Nor is there a general right to shoot immediately whenever there is danger.

Imminent and unlawful

An attack is imminent as soon as it is about to happen. Nobody has to wait for the first blow or stab. On the other hand, a vague threat to take revenge "some day" is not enough. And once the attack is over, there is nothing left to fend off. What comes afterwards is no longer defence but retaliation.

When an attack ends depends on the individual case. If an attacker clearly gives up, the attack is over. With a theft, however, the attack continues as long as the thief has not yet secured the loot. Anyone who runs after a thief and takes the item back is therefore still acting in self-defence.

An attack is unlawful if the attacker has no right to act as they do. There is no self-defence against lawful conduct. If a police officer lawfully arrests someone, that person may not resist with force, even if they believe they are innocent. They can still go to court.

Necessary: the mildest reliable means

The defence must be necessary. Necessary is the means that ends the attack immediately and reliably and is the mildest among several equally effective means. A defender need not rely on an uncertain means and risk getting hurt. But they may not strike harder than needed to fend off the attack reliably.

Unlike with necessity, there is no weighing of legal interests. Self-defence does not have to cause "the same amount" of harm as the attack. The only question is which means reliably stops the attack.

For the use of a firearm this results in a sequence of steps, if the situation leaves time for it:

  • first threaten to use the firearm,
  • then a warning shot in a safe direction,
  • then an aimed shot at less vulnerable parts of the body,
  • only as a last resort a life-threatening shot.

If there is no time, because the attacker is already very close, a step may be skipped. A warning shot that would not reliably end the attack is then not the necessary means.

There is no duty to flee from an attacker who acts culpably. Right does not have to give way to wrong. Anyone attacked in their own home does not have to jump out of the window. Important for weapon owners: in your own home you are not carrying a weapon. You therefore need no carry licence to use the pistol from your safe at home.

Self-defence in four steps 1 Attack A person threatens a legal interest 2 Imminent and unlawful About to happen, happening or still ongoing 3 Necessary Mildest means that works reliably 4 Justifiable No gross imbalance, no child, no provocation All four met: the defence is justified.
Self-defence in four steps

Justifiable: where self-defence has limits

The law requires the act to be required by self-defence. The courts use this word to restrict self-defence in some groups of cases:

  • Gross imbalance: every legal interest may be defended, including property and possession. But a life-threatening shot over an item of little value is not justifiable. If you see a thief riding off on an old bicycle, you may hold them back, but not shoot at them. A shot at the tyres also endangers the person.
  • People who are clearly not to blame: against children, drunk people or people with a mental illness you must first step aside or limit yourself to merely shielding yourself. Harsher means are allowed only if that does not help. Against an adult burglar or an armed robber, however, self-defence applies without restriction.
  • Deliberate provocation: anyone who deliberately provokes an attack in order to then injure the other person "in self-defence" abuses the right of self-defence. They cannot rely on it.

Defending others

Self-defence is expressly also allowed in favour of someone else. This defence of others is open to everyone. No family relationship is needed, and the person attacked does not have to ask for help. The same limits apply as for defending yourself: the mildest means that works reliably comes first. The seriousness of the offence alone does not justify a shot.

Excessive self-defence and mistakes

Sometimes a person goes beyond the limits of self-defence, for example by hitting too hard. Section 33 of the Criminal Code helps if they did so out of confusion, fear or terror. They are then not punished. The act remains unlawful, but the person is excused. Anger, rage or a desire for revenge do not count as such feelings.

Important: excessive self-defence presupposes that there was a self-defence situation in the first place. Anyone who knocks an attacker down and then, out of anger, kicks the person lying on the ground who has already given up is no longer acting in self-defence. The attack is over, the kicks are unlawful, and anger is no excuse.

The opposite case is called putative self-defence: someone only believes they are being attacked. There is then no self-defence situation, because self-defence requires a real attack. According to the prevailing view, however, punishment for intent does not apply. Criminal liability for negligence remains if the mistake could have been avoided with due care, for example by switching on the light or calling out. For weapon owners in particular this means: recognise first, then act.

Necessity in criminal law

With necessity there is no unlawful attack by a person, only a danger, for example from an animal, a fire, a storm or an accident. Because uninvolved people are often affected, the law requires the interests to be weighed.

Section 34 of the Criminal Code governs justifying necessity. Anyone who acts in an imminent danger that cannot otherwise be averted to a legal interest, in order to avert that danger, does not act unlawfully if the protected interest substantially outweighs the one that is harmed. In addition, the act must be an appropriate means. Every legal interest is protected, including honour and property.

Section 35 governs excusing necessity. It is narrower. It applies only to a danger to life, limb or liberty, and only if the person averts it from themselves, a relative or someone close to them. The act remains unlawful, but the person acts without guilt.

Necessity can matter for weapon owners too. If an armed offender threatens to shoot a child unless the mother hands over the pistol from her gun safe, she remains unpunished if she gives in. She is in any case excused under section 35. Regardless of this, she must report the loss of the weapon to the authority without delay (section 37b of the Weapons Act).

Necessity in civil law: dangerous or uninvolved thing

The Civil Code has two necessity rules for things. Animals are treated like things here.

Section 228 concerns the thing from which the danger comes; this is called defensive necessity. If someone else's dog attacks, you may injure or kill it if this is necessary to fend it off and the damage is not out of proportion to the danger. You owe compensation only if you caused the danger through your own fault. Even then the act remains permitted.

Section 904 concerns an uninvolved thing; this is called aggressive necessity. Anyone who breaks open the door of someone else's hut to take shelter from a storm is interfering with a thing from which no danger comes. This is allowed if the threatened harm is disproportionately large compared with the damage to the thing. The owner must tolerate the interference, but can always claim compensation for the damage.

A special rule applies if a person sets a dog on someone. Then the person is attacking, and the dog is only their tool. Self-defence applies. The necessary defence is allowed against the dog as well, and no duty to pay compensation arises. Without anyone's involvement, section 228 would apply. An animal on its own does not "attack" in the legal sense.

Necessity in civil law Section 228 BGB The danger comes from the thing itself attacking dog Compensation only if you were at fault Section 904 BGB Interfering with an uninvolved thing hut door in a storm The owner is always compensated If a person sets the dog on you, self-defence applies: the dog is only their tool.
Dangerous thing or uninvolved thing?

Official proof testing

A firearm must withstand the gas pressure, otherwise it endangers the shooter and everyone nearby. That is why the Proof Act governs the testing and approval of firearms, saluting guns, ammunition and certain other weapons. Its purpose is to protect users and third parties when the weapon is used as intended. It has nothing to do with the buyer's need or with registers; that is governed by the Weapons Act.

The duty to have proof testing lies with whoever manufactures firearms, saluting guns or interchangeable parts subject to maximum stress or brings them into Germany. They must have them officially tested before placing them on the market. The later buyer can rely on the proof mark.

Parts subject to maximum stress are the parts exposed to gas pressure: above all the barrel, breech and chamber, and for handguns also the frame that holds the firing mechanism, as well as interchangeable cylinders. The stock, the telescopic sight and the sling swivel are not among them.

Four things are tested:

  • Durability: do the parts subject to maximum stress withstand the gas pressure?
  • Functional safety: do the breech, safety and ignition work properly?
  • Dimensional accuracy: are the dimensions of chamber and barrel correct?
  • Marking: is the required marking in place?

Accuracy, price or appearance play no role. If the test finds no defects, the weapon receives the official proof mark, otherwise the rejection mark. A weapon subject to proof testing that has no proof mark may neither be used for shooting nor handed over to anyone else.

Repeat proof testing and exceptions

If a part subject to maximum stress on a proofed weapon is replaced, altered or repaired, the weapon must be proof tested again. The only exception is a replacement without any fitting work, if all parts have already been tested with the required gas pressure. A new barrel that has to be fitted, or a frame that has to be fitted, is therefore not covered by the exception. A proofed interchangeable cylinder that is simply swapped is.

There is no duty of proof testing for, among others:

  • firearms bearing the proof mark of a state with which mutual recognition has been agreed. These include the member states of the Permanent International Commission for the Proof of Small Arms (C.I.P.), for example the Czech Republic, Austria or Belgium.
  • firearms made before 1 January 1891 that have not been altered. An original muzzle-loader from 1880 is therefore exempt, a modern replica is not.

Proof testing does not replace a permit under weapons law. Anyone who buys a weapon abroad still needs the permit under the Weapons Act for acquisition and possession.

The Physikalisch-Technische Bundesanstalt (PTB), the national metrology institute, is responsible for the type approval of blank-firing, irritant and signal weapons. Its approval mark is a requirement for carrying such weapons with the minor firearms licence.

Shooting ranges: permit and inspection

Anyone who wants to operate a shooting range or substantially change its design or the way it is used needs a permit from the authority (section 27 of the Weapons Act). The operator must be reliable and personally suitable and must prove insurance cover:

  • liability insurance of at least 1 million euros as a lump sum for personal injury and property damage,
  • accident insurance for helpers in range operation of at least 10,000 euros in the event of death and 100,000 euros for disability.

Anyone who shoots on a range, on the other hand, needs no shooting permit. Shooting there is only allowed in certain cases, though, for example within your own need, under an approved sport shooting code, to acquire competence or in hunter training. Combat-style shooting is banned on shooting ranges, for everyone, including hunters.

For mobile shooting ranges, such as a shooting gallery at a fair, a one-off permit before the first set-up is enough. The start and end of operation must be notified to the local authority two weeks in advance. Minors may only shoot there with air, spring and cold-gas guns. With children, the range officer attends to only one shooter at a time.

Shooting ranges undergo safety inspections: before they are first used, after substantial changes and regularly after that. Ranges for weapons that require a permit must be inspected every four years, ranges for permit-free weapons only at least every six years. A recognised range expert is called in, and the operator bears the costs. If the expert finds dangerous defects, the authority can prohibit use until they are remedied. Operation is then banned for everyone, members and guests alike.

Supervision on the range

On every shooting range a responsible range officer must supervise the shooting at all times. They must be at least 18 years old and have the necessary expert knowledge. If they look after children and young people, they also need to be suitable for youth work.

The operator notifies the authority of the range officers two weeks before they take up supervision. If a club belonging to a recognised sport shooting association appoints the range officer, registration with the club is enough. The club checks expert knowledge and suitability and issues a proof document, which the range officer carries and shows on request.

The range officer makes sure nobody causes avoidable dangers. If it is necessary to prevent or remove dangers, they must prohibit shooting or presence on the range. Users must follow their instructions, even if they think them excessive. The range officer does not need the board's consent.

A person qualified to supervise may shoot without supervision if it is ensured that they are alone on the range. As soon as other shooters are present, supervision is needed again.

Children and young people on the range

For minors the Weapons Act stages shooting by age:

  • Under 12: shooting only with an exemption from the authority to promote competitive sport. It should be granted if a medical certificate shows suitability and a certificate from the club shows talent for sport shooting.
  • From 12: under supervision with air, spring and cold-gas guns.
  • From 14: additionally with small-bore (rimfire up to 5.6 millimetres, meaning .22 l.r., at most 200 joules) and with single-shot shotguns up to 12 gauge.
  • From 16: the special supervision is no longer needed.

The consent of a parent or guardian is always needed: in writing or electronically, or they are present during the shooting. The range officer receives the declaration before shooting starts and keeps it during the shooting. Notarisation is not required. Large-calibre handguns are not intended for young people.

In hunter training, people from 14 may shoot with hunting weapons without a permit if a parent or guardian and the head of training have declared this in an authorisation certificate. They carry this certificate with them.

Minors on the shooting range under 12 only with an exemption (competitive sport) from 12 supervised: air, spring and cold-gas guns from 14 also small-bore up to 200 J and single-shot shotguns up to 12 gauge from 16 special supervision no longer needed Always: consent of a parent or guardian, in writing, electronically or by being present.
Who may shoot what, and from what age?

Sport shooting: excluded weapons and banned exercises

Certain weapons are excluded from sport shooting (section 6 of the General Weapons Act Ordinance):

  • handguns with a barrel length under 7.62 centimetres (three inches), whether pistol or revolver,
  • semi-automatic long guns that look like a fully automatic military weapon and have certain features, such as a barrel length under 40 centimetres or a bullpup design,
  • semi-automatic long guns with a magazine for more than ten cartridges.

Only the Federal Office of Administration can allow exceptions, at the request of a recognised sport shooting association, not the club.

Section 7 bans exercises in sport shooting that look like combat. These include:

  • shooting from cover,
  • overcoming obstacles after the first shot,
  • shooting while clearly running,
  • cross-drawing two weapons,
  • instinctive shots without aiming properly, except at clay targets,
  • exercises whose sequence the shooter does not know in advance.

Both organising and taking part as a sport shooter are banned. The place, the target or the age of the participants make no difference. Expressly not restricted are training and practice in hunting shooting, including hunting competitions, such as shooting at the running boar target. The general ban on combat-style shooting applies to hunters as well, though.

Key points at a glance

  • Self-defence justifies the necessary defence against an imminent, unlawful attack, including in favour of others.
  • Necessary means the mildest means that works reliably: threaten, warning shot, aimed shot, if time allows.
  • No self-defence against lawful conduct or after the attack has ended. It is restricted in cases of gross imbalance, against people not to blame and after deliberate provocation.
  • Excessive self-defence is excused only out of confusion, fear or terror, not anger.
  • Section 34 StGB justifies where one interest substantially outweighs the other; section 35 excuses where life, limb or liberty are in danger.
  • Section 228 BGB: dangerous thing, compensation only if at fault. Section 904 BGB: uninvolved thing, always compensation.
  • Manufacturers and importers have firearms proof tested before placing them on the market. No proof mark means no shooting and no handing over.
  • After replacing or repairing parts subject to maximum stress, proof test again, unless parts are swapped without fitting work.
  • Shooting ranges need a permit, 1 million euros of liability cover and an inspection every four years (permit-free ranges at least every six).
  • Range officers from 18 with expert knowledge. Their instructions must be followed.
  • Children from 12 air guns, young people from 14 also small-bore up to 200 joules, always with consent of a parent or guardian.
  • Banned in sport shooting: cover, obstacles, running, cross draw, instinctive shots and unknown sequences. Hunting shooting is exempt.

Terms

Self-defence
Necessary defence against an imminent unlawful attack, which is not unlawful.
Defence of others
Self-defence in favour of another person.
Imminent
An attack that is about to happen, is happening or is still going on.
Necessity of the defence
The mildest among several equally reliable means of defence.
Justifiability
The limit of self-defence in cases of gross imbalance, people not to blame or provocation.
Excessive self-defence
Going beyond self-defence out of confusion, fear or terror, which remains unpunished.
Putative self-defence
Defence against an attack that does not really exist.
Justifying necessity
A permitted act to avert a danger where the protected interest substantially outweighs the other.
Excusing necessity
An unlawful but blameless act to save life, limb or liberty.
Defensive necessity
Interfering with the thing from which the danger comes.
Aggressive necessity
Interfering with an uninvolved thing, for which compensation is always owed.
Proof testing
Official test of a firearm for durability, functional safety, dimensional accuracy and marking.
Parts subject to maximum stress
Parts exposed to gas pressure, such as barrel, breech and chamber.
Proof mark
Official mark for a firearm that has passed the test.
Responsible range officer
An adult, competent person who supervises shooting on the range.
Combat-style shooting
Shooting that imitates combat situations and is banned on shooting ranges.

As of: November 22, 2026 (German Criminal Code (StGB), German Civil Code (BGB), Proof Act (BeschG), German Weapons Act (WaffG) and General Weapons Act Ordinance (AWaffV) as currently in force)

Sources:

  • German Criminal Code (StGB), sections 32 to 35 (self-defence, excessive self-defence, necessity)
  • German Civil Code (BGB), sections 227, 228 and 904
  • Proof Act (BeschG), sections 1 to 6, 12 and 20
  • German Weapons Act (WaffG), sections 12, 27, 27a and 37b
  • General Weapons Act Ordinance (AWaffV), sections 6, 7 and 9 to 11

This study guide was written with AI and checked against the sources.

Certifications & exams

Which exam comes next?

You can already practise for 60 exams, and 7 are up for a vote. See all certifications with their official information, cast your vote or suggest your exam.

See all certifications