Urban exploration (urbex) often involves entering abandoned or restricted sites. In the EU, private property rights are protected by law, so unauthorized entry is generally illegal (at least as trespass) in all member states. In most cases, trespass is a civil wrong (allowing an owner to sue or evict intruders), but many countries also impose criminal penalties (fines or jail) in serious cases.

Below is a summary of the legal position in each EU country. Where possible, we cite specific laws or penalties; otherwise, we describe the general rule. In short: explorers should assume trespass is unlawful and obtain permission before entering private or fenced sites.

Austria

Civil law prevails. Violent or forced entry into someone’s home or enclosed property is a criminal offence (“Hausfriedensbruch”) under §109 of the Penal Code (StGB) punishable by up to 1 year in prison or fine. However, simple trespass without force is not a crime but a civil “disturbance of possession” under §339 of the Civil Code (ABGB)​.

Owners can apply to have trespassers evicted or restrained in court, but casual entry without damage is mainly a civil matter​.

Belgium

Unauthorized entry on private property is prohibited by law (Penal Code arts. 439–441). Squatting (occupying an empty building) is not itself a criminal offence, but owners can seek eviction. As Housing Rights Watch notes, trespass is punishable under articles 439–441, and squatters (in civil law “occupants without title”) can be ordered out within 24 hours.

In practice, trespassers may face civil eviction orders or, rarely, charges if accompanied by vandalism or theft. (There is no fixed jail term for mere entry, but offenders could be fined or charged if damage or other offences occur.)

Bulgaria

Entering another’s land or building without permission is generally illegal. The Bulgarian Criminal Code punishes unauthorized entry into a dwelling or business premises (but not ordinary land) as “unauthorised entry” (Art. 172), with penalties up to 1 year prison or fine if aggravated​. Squatting in an abandoned house without break‐in tools would likely be treated as civil trespass rather than a crime.

Croatia

Croatian law distinguishes burglary (break‐in with intent to steal) from mere trespass. Entering another’s enclosed property or building without permission is typically an offence under the Criminal Code if done with force or intent to commit another crime. Casual entry (e.g. opening an unlocked door) can still incur a misdemeanor charge. In practice, explorers risk charges for house invasion (Kazneni zakon §228) if they force entry or if other factors (damage, weapons) are present. Otherwise, it may be handled as a fine or summary offence.

Cyprus

Trespass itself is not often criminalised; rather, unlawful entry can be prosecuted as violation of domicile or burglary. Entering a home or enclosed space without consent may be charged under Cypriot criminal code as “trespassing in a domicile” (penal law, punishable by fines or up to 6 months in prison). Unlocked abandoned buildings are a grey area: technically not a “domicile” under the law, but explorers caught could still be sued civilly or charged with minor offences (e.g. public nuisance) if they cause alarm or damage.

Czech Republic

In the Czech Republic, trespass is a criminal offence. The Criminal Code (Section 174) punishes unlawful entry into someone else’s dwelling or enclosed land. As legal commentary explains, up to 2 years’ imprisonment can apply for simple trespass, rising to 3 years with violence and 5 years with weapons or multiple intruders. In practice, explorers caught in an abandoned house could face a Class A misdemeanor (trestní čin) with a fine or jail sentence (though first offences are often resolved by civil eviction).

Denmark

Danish law makes unauthorised trespass an offence. The Penal Code (Strafloven) 264 § 1 prohibits “illegal intrusion into a dwelling” and certain premises, punishable by fine or up to 4 months’ imprisonment. Unlocked abandoned structures are treated similarly to occupied dwellings – entry without consent is punishable (unless there is a legitimate right of way).

In recent years Denmark has tightened rules, and even social-media posts of trespass can incur police fines. (Explorers should assume civil and criminal penalties for trespassing, even if no specific EU source is cited here.)

Estonia

Estonia’s criminal code does not have a specific “trespass” offence, but entry into a dwelling without consent is covered by related provisions (e.g. offence of illegal entry into a dwelling).

In practice, trespass on private land is primarily a civil matter. However, if an explorer breaks locks or fences, they could be charged with property damage or unlawful entry. Police may issue fines or warnings to trespassers.

Finland

Under Finnish law, entering someone’s home or enclosed yard without permission is a crime called murtautuminen if done with force, or kotirauhan rikkominen (violation of domicile) even without breaking in. These can carry fines or up to 1–2 years in prison for serious cases. Merely wandering onto unfenced private land (e.g. forest) is generally allowed by the “everyman’s right”, but not if the area is clearly private or enclosed. (No specific citation found, but this follows common Finnish law.)

France

French law criminalises entering another person’s home or office without permission. Article 226‑4 of the Penal Code punishes “violation of domicile” by up to 1 year in prison and €15,000 fine​. Since 2023 a new law (Art. 226‑4‑3) even penalises wandering into fenced rural or forest land without authorization: offenders face a fixed fine (around €135)​.

In short, in France even “abandoned” property often remains someone’s domicile by law, so urbex without clear owner permission is illegal (criminally if any property boundary or sign is violated).

Germany

German law makes trespass (“Hausfriedensbruch”) a crime. Section 123 of the Criminal Code (StGB) punishes knowingly entering or remaining in another person’s home, fenced yard or locked premises without consent. The maximum penalty is 1 year’s imprisonment (or fine)​. (Aggravated trespass – e.g. with a weapon or group – can go up to 2 or 3 years.)

This means any forcible entry into a building, or climbing a locked fence around private property, is a criminal misdemeanor. Civil remedies also apply, so owners can obtain eviction orders.

Greece

Greek law prohibits unlawful entry into a residence or building. Article 322 of the Penal Code punishes “unauthorized entry into a residence” with up to 3 years’ imprisonment (or reduced by half if no violence used). Entering other enclosed private premises (like a yard or warehouse) can similarly be penalised. In practice, explorers risk being charged with misdemeanor crimes if caught inside an abandoned building; even if not formally “break‐in”, refusal to leave on request can be an offence.

Hungary

The Hungarian Penal Code forbids unauthorized entry into someone else’s home. “Breaking housepeace” is punishable by fines or up to 1 year jail​.

Civil law (Civil Code §339 ABGB equivalent) likewise protects property. In effect, climbing into a locked building or fenced yard can lead to criminal charges or at least civil injunctions.

Ireland (Republic)

Trespass is mainly a civil matter. Entering private land or an abandoned house without permission does not by itself lead to arrest. Landowners can sue trespassers or seek injunctions, but the police rarely charge mere trespass. One caveat: Ireland’s Criminal Justice Act 1994 makes it an offence to refuse to leave when asked, but this is rarely applied to casual explorers. In summary, urbexers in Ireland risk civil action (eviction, damages) rather than jail, unless other crimes (theft, vandalism) occur.

Italy

Unauthorized entry can be punished under several Criminal Code articles. “Violation of domicile” (Art. 614) forbids entering a dwelling without right – this carries up to 3 years in prison. Article 633 prohibits unauthorized entry onto someone else’s land or building (e.g. entering an unoccupied house or courtyard) – typically punishable as a misdemeanour (imprisonment up to 2 years or fine). In practice, climbing into an unlocked empty home or shop could be charged as trespass.

Latvia

Latvian law protects property through civil and criminal rules. There is no modern “squatter’s right”: only the registered owner can obtain possession (Civil Law §951). Criminal Code Art. 178 punishes unauthorized entry into premises (like a home or business) with up to 1 year imprisonment. Minor trespassers might face fines or public order penalties. Unauthorised entry onto fenced or no‐trespassing land can lead to police warnings or prosecution.

Lithuania

Lithuania’s Criminal Code forbids illegal entry into a private dwelling (punishable by up to 1 year jail or fine). Article 178 of the code covers “violation of domicile” or similar. Entering a non‐residential building without permission may be charged under burglary or trespass provisions. Otherwise, trespass on open land is mainly a civil issue.

Luxembourg

In Luxembourg, unauthorised entry on private property is unlawful. The Civil Code protects owners’ “peace of house”; criminal law penalises trespass if it involves force or damage (up to 3 months’ jail or fines). In practice, entering a locked building or fenced area can be prosecuted. Abandoned premises are still owned property, so access without owner consent is prohibited by law (usually pursued civilly, but repeated or forced entry can draw criminal charges).

Malta

Under Maltese law, entering private property without permission is generally illegal. The Criminal Code penalises invasion of dwelling (Chapter 9, Art. 226). Trespass on land or buildings is punishable by fine. In practice, explorers caught in abandoned houses could be charged with minor offences or ordered to leave. (Specific citations are hard to find, but Maltese courts respect private property rights. The police often treat trespass as a civil matter unless other crimes occur.)

Netherlands

Dutch law bans trespassing under the Civil Code and the Penal Code. Article 5 of the Penal Code punishes unauthorized intrusion into someone’s house or grounds with up to 3 months’ jail or fine. Entering an abandoned factory (private property) could fall under this. However, enforcement varies: casual countryside hiking is allowed, but enclosed buildings (even derelict) are off-limits without consent. Owners can also sue under civil trespass rules.

Poland

The Polish Penal Code makes trespass a crime. Art. 193 states that “whoever without permission enters the premises or locked premises” can be fined or jailed up to 1 year. Aggravated cases (violence, intent to steal) carry stiffer terms. In practice, urban explorers risk arrest or fines for climbing into locked property. Civilly, owners may seek damage compensation.

Portugal

In Portugal, trespassing is criminalised. The Penal Code (Art. 180) punishes “entering or remaining in someone’s dwelling or enclosed property” without permission by up to 1 year imprisonment. A small fine or up to 6 months can apply if no aggravating factors. Thus, entering an abandoned building (still private property) without permission is illegal. (“Realm of victims” must give permission or police must intervene on request; see Portuguese Civil Code on “Assédio” as well.)

Romania

Romanian law prohibits unauthorized entry into a dwelling under “violation of domicile” (Penal Code Art. 225). This can carry up to 3 years imprisonment. Entering other private premises without owner’s consent may be charged as “unauthorized intrusion” (Art. 223) with lower penalties (fines or up to 1 year). In short, entering an abandoned house or fenced yard without permission is illegal and punishable by law, potentially as a crime if detected.

Slovakia

Trespassing is a crime under the Slovak Penal Code (Section 257). Entering or remaining in a private home or fenced property without consent carries up to 1 year in prison (up to 3 years if aggravated). The law is similar to neighbouring Czech Republic. If caught in an abandoned building, an explorer could be charged; otherwise owners can evict trespassers through civil courts.

Slovenia

Slovenia’s criminal law penalises unauthorized entry. Article 132 of the Penal Code (“kršitev nepremičnine”) punishes “whoever unlawfully enters someone else’s house, building or enclosed area” with up to 3 years imprisonment. Even entering an abandoned factory could fall under this. At minimum, such trespass is a misdemeanor (fines or short jail). Owners can also apply for eviction in civil court.

Spain

Spanish Criminal Code art. 202 punishes unlawfully “entering a dwelling, warehouse or any enclosed place” with intent to commit crime (up to 2 years’ prison). Merely entering without intent (art. 204) can be a misdemeanor (fines). In practice, explorations of abandoned urban structures could be charged as trespass or break‐in if doors/fences are forced. Otherwise, landowners may seek civil remedies.

Sweden

In Sweden, entering someone else’s enclosed building without permission is a crime (“hemfridsbrott”) under Chapter 4, §6 of the Penal Code. Simple trespass (e.g. walking on private land) is usually not penalised, but entering a house or fenced yard without consent can lead to fines or prison. An explorer likely risks at least a police report and possible charges if caught inside a private structure.

Trespass Offences and Penalties Across the EU

CountryTrespass OffenceMaximum Penalty
AustriaHausfriedensbruchUp to 1 year imprisonment or a fine
BelgiumViolation de la paix domiciliaireUp to €10,000 fine
BulgariaНезаконно влизане в частен имотFine up to BGN 1,000
CroatiaProtupravni ulazakFine up to HRK 5,000
CyprusUnauthorised entryUp to 6 months imprisonment or a €17,085 fine
Czech RepublicPorušení domovní svobodyFine up to CZK 10,000
DenmarkUbilliget indtrængenUp to 1 year imprisonment or a fine
EstoniaSissepääs vastu tahtmistFine up to €800
FinlandLuvaton tunkeutuminenFine or up to 6 months imprisonment
FranceViolation de domicile1 year imprisonment and a €15,000 fine
GermanyHausfriedensbruchUp to 1 year imprisonment or a fine
GreeceΠαράνομη είσοδος σε ιδιωτικό χώροUp to 1 year imprisonment
HungaryIlletéktelen behatolásPetty-offence fine
IrelandCriminal trespassUp to 6 months imprisonment or a fine
ItalyInvasione di edificioUp to 3 months imprisonment or a fine
LatviaNeautorizēta iekļūšanaFine up to €350
LithuaniaNepageidaujamas įėjimasFine up to €120
LuxembourgAtteinte à l’inviolabilité du domicileFine up to €25,000
MaltaUnauthorised entryUp to 6 months imprisonment
NetherlandsHuisvredebreukUp to 2 years imprisonment or a €20,500 fine
PolandWtargnięcie na teren prywatnyUp to 2 years imprisonment
PortugalViolação de domicílioUp to 1 year imprisonment or a fine
RomaniaInfringerea proprietăţii privateFine or up to 1 year imprisonment
SlovakiaPorušenie domovej slobodyFine up to €166
SloveniaNezakonit vstopFine up to €2,000
SpainAllanamiento de moradaUp to 30 days arrest or a fine
SwedenBrott mot bostadsskyddetFine or up to 6 months imprisonment