According to Brazilian Law, Windows Open in Violation of the Civil Code Do Not Prevent the Neighboring Owner from Building a Wall on Their Property, Even if the Opening Has Existed for a Long Time.
The Brazilian law establishes clear rules regarding the opening of windows and the construction of walls between neighboring properties. According to Articles 1,301 and 1,302 of the Civil Code, it is prohibited to open windows less than 1.5 meters from the property line, except in cases of small technical gaps. Attorney Cíntia Brunelli explains that, even when the irregular window remains for years, the neighbor can erect a wall that blocks light, ventilation, or view — as long as it is within their property.
This understanding surprises many residents, who believe that time would consolidate the right to the window. In practice, the Civil Code protects more strongly the property rights of the neighboring landowner, ensuring them the freedom to build.
What Do Articles 1,301 and 1,302 of the Civil Code Say?
The Article 1,301 prohibits opening windows less than 1.5 meters from the boundary between properties.
-
Brazil produces too much clean energy and doesn’t know what to do with it: over 20% of solar and wind capacity was wasted in 2025 while investors flee and 509 renewable generation projects were abandoned in the last year.
-
Piauí will produce a new fuel that replaces diesel without needing to change anything in the truck’s engine and reduces pollutant gas emissions by half: truck drivers from all over the Northeast are already celebrating the news that will arrive later this decade.
-
A new Brazilian shopping center worth R$ 400 million will be built in an area equivalent to more than 4 football fields, featuring 90 stores, 5 cinemas, a supermarket, a college, and parking for 1,700 cars, potentially generating 3,000 jobs.
-
Larger than entire cities in Brazil: BYD is building a 4.6 km² complex in Bahia with a capacity for 600,000 vehicles per year, but the discovery of 163 workers in conditions analogous to slavery has shaken the entire project.
The Article 1,302 establishes that the neighboring owner can demand the removal of the irregular window within one year and one day after the completion of the work.
If this deadline is not respected, the right to legally request the removal of the window is lost.
However, this does not remove the neighbor’s right to erect a wall on their property, even if the construction completely blocks the irregular opening.
Deadlines and Practical Consequences
The deadline of one year and one day is considered a “legal window” to contest the neighboring work.
Once this period has passed, the irregular window remains, but loses protection against new constructions.
This means that the neighboring landowner can build a wall at any time, regardless of whether the window has existed for years.
The right to build prevails, provided that property limits are respected.
Differences Between Types of Openings
The Civil Code differentiates windows from other types of openings:
Windows Facing Directly Towards the Neighboring Property: require a minimum distance of 1.5 meters.
Perpendicular Windows (Non-Front): must be at least 75 centimeters from the boundary.
Technical Openings for Light and Ventilation: are allowed if they are up to 10 cm x 20 cm, installed more than 2 meters high. In this case, they are not considered windows, but ventilation gaps.
These rules aim to balance privacy, security, and property rights, preventing more serious neighborhood conflicts.
Property Rights vs. Right to Light
According to Cíntia Brunelli, Brazilian law favors the property right over the right to light or ventilation from the irregular window.
Thus, those who built the opening outside the rules cannot prevent the neighbor from exercising their full possession, including building walls within legal limits.
This balance demonstrates how the Civil Code prevents abuses by allowing the maintenance of regular windows but not transforming illegal openings into a blockage to the development of the neighboring property.
The Brazilian law is clear in allowing the construction of walls that block irregular windows, even if they have existed for years.
To avoid conflicts, the recommendation is to always respect the minimum distances provided by the Civil Code when planning constructions.
Have you ever experienced a neighborhood conflict involving windows or walls? Do you think it is fair for the law to prioritize the property rights of the land over the maintenance of an irregular window? Leave your opinion in the comments — your experience can help others understand this topic better.


Minha vizinha construiu uma casa muito próximo do muro e abriu duas janelas virado para as janelas dos nossos quartos. A parede da casa ficou do próximo do muro que não passa nenhuma criança. Muito abuso!
Meu vizinho ergueu um muro foro dos limites do terreno, se verificar as medidas é possível ver que ele ultrapassou quase meio metro do limite.
Chama a fiscalização da prefeitura
O meu vizinho fez um 2° andar onde fez uma abertura na parede da divisão, pra ventilar um corredor.
É permitido?
Pode se estiver a 2,50 do piso até o teto
Não pode!!! Chama a prefeitura para vir fiscalizar urgente