Skip to content

Martinez · Renting & eviction

Harassment and lockouts in Martinez

Martinez's own rules on harassment and lockouts, with the code text for every value, and the state law underneath.

Each rule below links to the section of the Martinez Municipal Code it was read from, with the code text one click away (checked October 2026). General information, not legal advice.

What Martinez's code says

Martinez code What Martinez's code adds
Prohibited acts
  • Fail to perform and timely complete necessary repairs and maintenance; fail to follow applicable industry standards to minimize exposure to harmful building materials; fail to exercise due diligence in completing repairs; fail to timely comply with a City notice and order to correct a violation; or violate statutory habitability standards
    Applies: Landlord acting in bad faith, directed at a specific tenant
    § 22.85.020 · code text
    B. Habitability. 1. Fail to perform and timely complete necessary repairs and maintenance required by Federal, State, County, or local housing, health, or safety laws;
  • Abuse the right of access into residential real property, including unauthorized or unrelated inspections, entry outside normal business hours, entry contrary to a tenant's reasonable request, certain untimely purchaser-showing notices, misrepresenting access reasons, failing to provide a reasonable time window, failing to timely cancel scheduled entry, or making excessive entries
    Applies: Landlord acting in bad faith, directed at a specific tenant
    § 22.85.020 · code text
    C. Access. Abuse the right of access into residential real property as established by California Civil Code Section 1954, which abuse includes, without limitation:
  • Violate or interfere with a tenant's privacy, including unlawful inquiries or disclosures concerning residence, citizenship, Social Security Number, relationship or marital status, or non-public criminal history; unreasonable guest restrictions or inquiries; unauthorized photography or recording; or entry, photography, or recording beyond a lawful entry or inspection
    Applies: Landlord acting in bad faith, directed at a specific tenant
    § 22.85.020 · code text
    D. Privacy. Violate or interfere with a Tenant's right to privacy, such as:

The California rule underneath

CA state law Underneath, California law still applies. Lockouts and self-help eviction banned: A landlord may not change locks, remove doors or windows, or remove the tenant's belongings to force a tenant out (Civ. Code § 789.3(b)). Utility shutoffs banned: A landlord may not cut off water, heat, electricity, gas or other utilities to force a tenant out (Civ. Code § 789.3(a)). Tenant harassment and lockouts in California — the full state rule →

Who this affects

TenantsLandlordsProperty managers

General information, not legal advice.

Ask about a specific Martinez property

Ask GoCodebook how Martinez's harassment and lockouts rules apply to your situation and get an answer that cites the section.

Ask your question

More on renting & eviction in Martinez