A California owner with a letter from the association, a notice from code enforcement, or both at once needs a plain answer before anything else: who sent this, what does it ask, and does fixing one end the other? The letterhead may look official either way. The deadlines, the hearing rights and the consequences are not the same.

An HOA violation and a city code violation come from two different authorities. A homeowners association enforces its own governing documents, which work like a contract with each owner. A city or county enforces its ordinances as government law. One condition can break both sets of rules, and each case runs on its own track.
On this page
What It Means for Owners
An HOA acts as a private association. Its authority comes from the CC&Rs, short for covenants, conditions and restrictions. These are the recorded rules that bind every owner in the community, along with the bylaws and other governing documents. When the association cites a violation, it is saying the owner broke that private agreement. It asks the owner to cure the problem, meaning fix it or stop it.
Code enforcement is the government's side. It is the work of a city or county office that inspects property and requires owners to follow local ordinances and state building and housing standards. A code enforcement notice has the force of law, not contract. It asks the owner to correct a condition that violates a municipal or county rule, often through a permit, an inspection and a sign-off. The site's guide to building code violations covers that process.
Both kinds of notice can lead to fines. The legal basis, the people who decide and the path to a resolution differ. For that reason the first task is always the same: identify who issued the notice.
Who It Affects
A common-interest development is a community where owners share common areas and belong to an association that manages them. Condominiums, planned developments and many townhome communities are examples. Owners there answer to two authorities: the HOA's governing documents and the city or county code.
An owner of a standalone house outside any association answers only to city or county code enforcement. No HOA letter is coming.
Overlap is where it gets confusing. A single condition can draw two separate notices. An unpermitted patio cover, overgrown vegetation or a fence that is too tall might break a CC&R rule and a local ordinance at the same time.
The key point: the HOA and the city are separate authorities. Satisfying the board does not close a city case, and a city sign-off does not end an HOA matter.
Heirs and investors face the same pair of systems. A person who inherits or buys a property with open violations takes on the questions those violations raise. How each one applies depends on the governing documents, the city's or county's records and how title passed. An heir may first learn of an open notice while sorting the estate.
Rules, Disclosures and Fine Print
The HOA track
HOA enforcement in California follows the Davis-Stirling Common Interest Development Act, the name that Civil Code section 4000 gives this part of the code. Three sections shape most violation disputes.
Penalty schedule. Under Civil Code section 5850, an association that fines members has to tell them the fines in advance. It does that through a schedule in its annual policy statement. The fines must be reasonable and must match the discipline authority in the governing documents. The section also caps a penalty. A higher amount is allowed only where the violation may have an adverse health or safety impact, and only after the board makes a written finding at a board meeting open to members. The association cannot add a late charge or interest to a penalty. A member who asks is entitled to a copy of the current schedule.
Notice, hearing and cure. Before the board meets to consider discipline, Civil Code section 5855 requires it to tell the member in writing "at least 10 days prior to the meeting." The notice has to give the meeting's date, time and place, describe the alleged violation, and say that the member may attend and speak to the board. If the member asks, the board meets in executive session. The member also gets a chance to fix the problem first. If the member cures before the meeting, the board cannot impose discipline. The same is true where the fix would take longer than the time before the meeting and the member makes a financial commitment to cure. Discipline does not take effect unless the board follows these steps. If the two sides still disagree after the meeting, the member may request internal dispute resolution, an informal meeting process inside the association.
Alternative dispute resolution before a lawsuit. Internal dispute resolution is separate from the outside process that Civil Code section 5930 covers. In plain terms, neither the association nor a member can generally take an enforcement case to superior court until both have tried alternative dispute resolution, such as mediation. The rule is narrower than it sounds. It covers cases asking a court to declare rights, order someone to do or stop something, or issue a writ, alone or with a damages claim no larger than the small claims limits the section names. It does not cover a small claims case. And, except as otherwise provided by law, it does not cover a dispute over assessments.
The city or county track
City and county enforcement rests on local ordinances and, for building and housing standards, on state law. The specific steps, fees and appeal periods are set place by place, so the ordinance and the notice itself are the controlling documents. Each city or county posts its own code enforcement procedures on its official site.
Seller disclosure
Civil Code section 1102 applies the state's disclosure article to transfers of single-family residential property. These include a sale, an exchange, a real property sales contract, a lease with an option to purchase, any other option to purchase, and a ground lease coupled with improvements. Subdivision (c) says: "Any waiver of the requirements of this article is void as against public policy." The duties do not change because a buyer pays cash or takes the property as it is. Civil Code section 1102.2 exempts some transfers. The exemptions depend partly on who the buyer is and include "Sales or transfers from one coowner to one or more other coowners," transfers to a spouse or to a person "in the line of consanguinity" of one or more of the transferors, transfers to or from a governmental entity, and court-ordered and fiduciary sales, among others. An open HOA violation or an open code case is the kind of fact a seller generally discloses. An attorney can say how the article applies to a particular sale.
Options and Trade-offs
On the HOA side, the owner's main paths follow the steps above. Curing before the board's meeting can prevent discipline. Attending the hearing gives the owner a chance to explain the facts. If the board and the owner still disagree, internal dispute resolution and, later, alternative dispute resolution are available. Selling is a path where the condition is one the owner cannot correct or chooses not to.
On the city or county side, the owner can fix the condition and ask the office to inspect it again. Where the notice describes an administrative appeal, the owner can use it. Unpermitted work may be legalized after the fact through a permit, though a permit is not assured. The property can also be sold in its present condition.
Correction keeps the property and may restore its value on the open market, but it costs money and time. The site's page on the cost to fix code violations explains where those costs come from. An appeal makes sense only where the facts support one. Where both notices are open, each path has to be followed for each authority, as noted earlier.
A sale can follow several routes. These include repairing first and then listing with a real estate agent, listing the property as it is, selling without an agent, or selling directly to a buyer who pays cash and takes the condition as it stands. A direct offer is often lower than what the open market might bring, because that buyer absorbs the repairs, the risk and the cost of reselling. In exchange, the seller gets less preparation, fewer showings and no wait on a buyer's loan approval. No route removes a disclosure duty, an HOA proceeding, a lien or a government order. A buyer taking the property as it is changes the condition the buyer accepts, not the law's steps. The page on selling a property with code violations goes further on sale paths.
Comparing written offers and estimated net proceeds shows which path fits. Net proceeds are the price less commissions, repairs, carrying costs, loan payoffs and closing costs. Where the owner is in open conflict with the board, a co-owner or an agency, or a case has been filed, the matter belongs with an attorney.
Mistakes to Avoid
Treating the two notices as one is the most common mix-up. Even when they describe the same fence, they carry separate deadlines and separate consequences.
Setting either notice aside lets it grow. On the HOA side, the board can move to discipline after its notice and hearing steps. On the city side, an unanswered notice can lead to administrative citations, abatement orders and, depending on the ordinance, government liens. The exact steps depend on the governing documents and the local code.
Assuming a sale ends the matter is another misstep. A sale does not by itself close a code case or an HOA proceeding. Whether an order or lien follows the property depends on the ordinance and what has been recorded, and the disclosure duties described above still apply.
Missing a hearing or appeal date narrows the owner's choices. Each authority sets its own date, and the notice in hand is where it appears. Facing two letters with two clocks is stressful, which is one more reason to keep them apart on paper.
What to Do Next
The notice itself names its source. A letter from the association's board or manager points to the HOA. A notice from a building, housing or code enforcement office points to the city or county.
For an HOA letter, the useful papers are the CC&Rs and bylaws, the section the letter cites, the association's penalty schedule, and any cure period or hearing date the letter states. For a government notice, they are the ordinance or code section cited, the appeal process the notice describes and its response date. The site's overview of code violation help shows how correction and permit steps usually run. When both notices exist, each one has its own file and its own calendar.
The practical next step is in those documents. The governing documents, or the issuing city's or county's official code enforcement page, show which authority sent the notice and exactly what it requires.
Ready to talk through your options?
Share the details of your notice. You choose whether contractors or a sale consultant may contact you.
Get help with my propertyFrequently asked questions
Can a city enforce an ordinance against a property inside an HOA?
Yes. A city or county enforces its ordinances whether or not a property sits in an association. HOA rules are a private agreement among owners, while local code is government law, so a property inside an HOA answers to both.
What happens if an owner ignores HOA fines?
The board can impose discipline after giving the notice and hearing that Civil Code section 5855 requires. Section 5850 bars late charges or interest on a penalty. Any further collection steps depend on the governing documents and the Act. A contested matter with the board is handled by an attorney.
How does an owner deal with a notice they believe is wrong?
For an HOA notice, the member may attend the board's meeting, address the board, and later request internal dispute resolution if the two sides still disagree. For a city or county notice, the notice itself typically describes an administrative appeal and its deadline. An attorney can review a disputed notice.
Does selling the property resolve an open code violation or HOA fine?
Not automatically. A sale does not by itself close a government case or an HOA proceeding. Whether a lien or order follows the property depends on the ordinance and the record. The disclosure duties under Civil Code sections 1102 and 1102.2 still apply, subject to that section's exemptions.
Can the same condition trigger both an HOA violation and a city code violation?
Yes. An unpermitted structure or a fence over a height limit can break both the CC&Rs and a local ordinance. Each authority acts on its own, as described above.
What is HOA negligence?
The term generally describes a claim that an association failed in a duty, such as maintaining common areas, in a way that harmed a member. That is a contested legal matter, and it is handled by an attorney.
Do seller disclosure duties change when a buyer pays cash or takes the property as-is?
No. Civil Code section 1102 applies regardless of how the buyer pays or what condition the buyer accepts, and subdivision (c) voids a waiver. Section 1102.2 exempts certain transfers, including co-owner to co-owner, to a spouse, or to a person "in the line of consanguinity" of a transferor.