Do You Have a Right to Sunlight on Your Property?

In most of the United States, you do not have an inherent right to sunlight on your property. If a neighbor builds a taller house, adds a second story, or lets a tree grow tall enough to shade your yard, they are generally exercising their own property rights rather than violating yours. That default rule has real exceptions, though, carved out by local zoning codes, state statutes protecting solar energy systems, spite fence laws, private easements, and at least one landmark court decision. Whether you have any enforceable claim to the sunlight crossing a neighbor’s land depends almost entirely on which of those exceptions applies where you live.

Why the Default Rule Favors Your Neighbor

The foundational principle in American property law is that no landowner has a legal claim to the unobstructed flow of light and air across a neighbor’s land. In the 1959 case Fontainebleau Hotel Corp. v. Forty-Five Twenty-Five, Inc., a Florida appellate court put it bluntly: without a contract or statute creating the right, a property owner cannot block a neighbor’s construction simply because it casts a shadow. Where a structure serves a useful purpose, the court held, it cannot be treated as a legal wrong just because it blocks someone else’s light.1Justia Law. Fontainebleau Hotel Corp. v. 4525, Inc.

This rejected the older English “Doctrine of Ancient Lights,” under which a building owner whose windows had received natural daylight for 20 years or more could stop a neighbor from blocking that light. American courts abandoned that doctrine in the 19th century. The result is that in most U.S. jurisdictions, the burden falls on the person who wants sunlight to secure protection through zoning, statute, or private agreement, not on the person building or planting.

The Narrow Opening for Solar Users: Prah v. Maretti

The most significant break from the traditional rule came from the Wisconsin Supreme Court in Prah v. Maretti (1982). A homeowner who had installed a solar heating system sued a neighbor for building a house that would shade the solar collectors. The court held that private nuisance law could protect access to sunlight as an energy source, reasoning that society’s interest in developing alternative energy justified adapting old property doctrines to modern conditions.

The court did not create a blanket right to sunlight. It applied a balancing test: whether the obstruction is unreasonable depends on the circumstances, weighing the solar user’s interest against the neighbor’s right to develop their land. Prah also remains a minority position. Most states have not adopted its reasoning, and courts elsewhere have continued to follow the Fontainebleau approach. If you have solar panels and a neighbor’s new construction threatens to render them useless, Prah gives you a framework for arguing the obstruction is unreasonable, but only in a jurisdiction willing to follow it.

Local Zoning Rules That Protect Light Indirectly

Even without a standalone right to sunlight, local zoning ordinances often preserve it as a side effect. Maximum building heights, minimum setback distances from property lines, and lot coverage limits all create space between structures that lets light through. These rules exist primarily to manage density and fire safety, but they keep your neighbor from building a wall of concrete right up to your property line.

Some cities go further. A “daylight plane” or “solar envelope” ordinance establishes an imaginary angled plane rising from the property boundary. New construction cannot break through that plane, which forces upper stories to step back as a building gets taller. The angle is typically calibrated so that neighboring properties receive a minimum amount of direct sunlight during certain times of year. A smaller number of jurisdictions have solar access ordinances that prohibit new structures from casting shadows on an existing solar energy system during specified hours.

Zoning is your cheapest and most straightforward line of defense. Before you file a complaint or hire an attorney, check your municipality’s zoning code. If a neighbor’s construction violates a height limit or setback requirement, you have an enforcement path through your local building or zoning department. The violation doesn’t have to be about sunlight; if the structure breaks a zoning rule, it breaks a zoning rule.

State Statutes That May Give You a Claim

Spite Fence Laws

A number of states have statutes targeting structures built purely out of malice. A “spite fence” is a fence or similar structure erected with no reasonable purpose other than to annoy a neighbor, often by blocking light, air, or a view. Under these laws, a structure that exceeds a specified height and serves no legitimate use to its owner can be declared a private nuisance.

To win a spite fence claim, you generally need to prove both that the structure has no practical value to your neighbor and that it was put up to cause you harm. The malice element is the hard part. Courts are reluctant to peer into a neighbor’s motivations, and most structures can be given some plausible justification. Trees and hedges sit in a gray area: some states include vegetation in their spite fence definitions, others limit the statutes to built structures, and even where trees qualify, courts often find that living vegetation inherently serves a purpose like privacy or aesthetics.

HOA Solar Panel Protections

A growing number of states prohibit homeowners’ associations from unreasonably restricting solar panel installations. The typical approach bars any HOA rule that would significantly increase the cost of a solar system or significantly decrease its efficiency. An HOA cannot force you to mount panels on a north-facing roof or ban rooftop panels on aesthetic grounds. Some states allow the HOA to regulate placement as long as the panels can face within 45 degrees of due south; others prohibit any restriction that impairs the system’s functioning at all.

Note the boundary here. These statutes protect your ability to install and use panels. They generally do not protect the sunlight reaching those panels from being blocked by a neighbor’s building or trees. An HOA can’t stop you from putting panels on your roof, but these laws don’t stop your neighbor from planting a row of redwoods along the property line.

Solar Access Permits

A handful of states offer a permit system where a homeowner with an installed solar energy system can apply for a solar access permit. Once granted, the permit restricts how neighboring properties can be developed or landscaped in ways that would shade the protected system. The permit is typically recorded against the neighboring properties’ titles, so it binds future owners. This flips the default rule: instead of having no right to sunlight, the permit holder gains an enforceable legal interest in keeping their collectors unshaded. The process usually requires notifying affected neighbors and may involve a hearing.

Creating the Right Through a Private Agreement

Solar Easements

If your state doesn’t offer strong statutory protection, you can create your own right to sunlight by negotiating a solar easement with your neighbor. A solar easement is a written agreement, recorded with the property deed, that restricts what the neighboring owner can build or grow within a defined three-dimensional space above their land. Because it runs with the land, it binds current and future owners of that property.

Most state statutes authorizing solar easements require the agreement to include specific technical details:

  • The vertical and horizontal angles, in degrees, that define the corridor through which sunlight must pass.
  • The hours of the day and dates during which the sunlight path is protected, since the sun’s angle changes across seasons.
  • What the neighboring owner cannot do within the easement space, including building structures or allowing vegetation to grow above a set height.
  • The circumstances under which the easement ends, whether by expiration of a set term, mutual agreement, or abandonment of the solar system.

Precision matters. A vaguely worded easement may be unenforceable because a court can’t determine exactly what it prohibits. You are drawing invisible boundary lines in the sky, and both parties need to know where those lines are. Expect to involve an attorney familiar with solar easements and a surveyor who can calculate sun angles for your specific latitude. The result is a legally enforceable right that survives changes in property ownership.

CC&Rs in Planned Communities

In HOA-governed communities, the Covenants, Conditions, and Restrictions recorded against each lot function as a blanket private agreement every owner accepts at purchase. CC&Rs can cut both ways on sunlight. Older communities may include aesthetic rules restricting where solar panels can go, though state law increasingly overrides those. Newer communities sometimes write CC&Rs that guarantee solar access for every lot, imposing height and setback limits on landscaping and structures that go beyond what local zoning requires.

If you are buying into an HOA community and solar access matters to you, read the CC&Rs before closing. Look for tree height limits, building height restrictions beyond the zoning code, and any provisions addressing solar energy systems. Those documents will tell you far more about your actual sunlight protection than any general rule of law.

If a Neighbor Is Already Blocking Your Sunlight

A practical sequence most property attorneys would recommend:

  • Check your zoning code first. If your neighbor’s structure violates a height limit, setback, or other regulation, report it to your local building or zoning enforcement office. This remedy exists regardless of your sunlight interest.
  • Review your deed and any recorded easements. If a prior owner negotiated a solar easement, or if your community’s CC&Rs contain relevant restrictions, you already have enforceable rights. A title search or a call to your HOA management company can confirm this quickly.
  • Talk to your neighbor. Many sunlight disputes involve trees or landscaping where the neighbor isn’t even aware of the problem. A conversation before a demand letter often resolves the issue. If you’re dealing with branches that overhang your property line, you generally have the right to trim them back to the boundary on your side, though local tree preservation ordinances may limit this.
  • Look into local mediation. Some jurisdictions with solar access or tree dispute ordinances encourage or require mediation before litigation. A neutral mediator can help both sides reach an agreement on tree trimming, building modifications, or compensation.
  • Consult a property attorney about nuisance or spite fence claims. If the obstruction appears to serve no legitimate purpose, or if you are in a state that follows Prah v. Maretti, a lawyer can evaluate whether you have a viable claim. These cases are fact-intensive, and the strength of your position depends on local law and specific circumstances.

Document everything from the start: photographs showing the shadow pattern at different times of day and year, records of any solar energy production losses, correspondence with your neighbor, and copies of relevant zoning provisions. If the dispute reaches a courtroom or arbitration hearing, this evidence establishes both the existence and the severity of the obstruction.

The uncomfortable reality is that many sunlight disputes have no clean legal remedy. If your neighbor builds a code-compliant structure that happens to shade your garden, and you have no easement or local solar access ordinance on your side, the law in most states will side with the builder. Securing sunlight rights before a problem arises, through a recorded easement or careful lot selection, is far easier than trying to reclaim them after a building goes up or a tree reaches its full height.