Bill Text

Bill Information

PDF |Add To My Favorites |Track Bill | print page

SB-831 Land use: accessory dwelling units.(2017-2018)

SHARE THIS:share this bill in Facebookshare this bill in Twitter
Date Published: 04/09/2018 09:00 PM
SB831:v97#DOCUMENT

Amended  IN  Senate  April 09, 2018
Amended  IN  Senate  March 13, 2018

CALIFORNIA LEGISLATURE— 2017–2018 REGULAR SESSION

Senate Bill No. 831


Introduced by Senator Wieckowski
(Coauthors: Senators Atkins and Wiener)

January 04, 2018


An act to amend Sections 65585 and 65852.2 of, to add Section 65852.21 to, and to add and repeal Section 65852.23 of, the Government Code, relating to land use.


LEGISLATIVE COUNSEL'S DIGEST


SB 831, as amended, Wieckowski. Land use: accessory dwelling units.
The Planning and Zoning Law authorizes a local agency to provide by ordinance for the creation of accessory dwelling units in single-family and multifamily residential zones and sets forth standards the ordinance is required to impose, including, among others, maximum unit size, parking, and height standards. Existing law authorizes a local agency, special district, or water corporation to require a new or separate utility connection between the accessory dwelling unit and the utility and authorizes a fee to be charged, except as specified. Existing law requires a local agency to submit an ordinance adopted for the creation of accessory dwelling units to the Department of Housing and Community Development and authorizes the department to review and comment on the ordinance. Existing law requires an application for an accessory dwelling unit permit to be considered, as specified, within 120 days of receiving it.
This bill would delete the requirement that the area be zoned to allow instead authorize a local agency to provide by ordinance for the creation of accessory dwelling units in areas where a single-family or multifamily use. dwelling is authorized, and would require the ordinance to designate areas where accessory dwelling units may be excluded for fire and life safety purposes, as specified. The bill would revise the standards for the local ordinance to, among other things, include a prohibition on considering the square footage of a proposed accessory dwelling unit when calculating an allowable floor-to-area ratio for the lot. The bill would require that a permit application for an accessory dwelling unit be approved or disapproved within 60 days and would specify that if a local agency does not act on an application for a accessory dwelling unit within 120 60 days, then the application shall be deemed approved. The bill would prohibit a local agency from requiring that offstreet parking spaces be replaced when a garage, carport, or covered parking structure is demolished or converted in conjunction with the construction of an accessory dwelling unit. The bill would prohibit another local ordinance, policy, or regulation from being the basis for the delay of the issuance of a building permit or use permit for an accessory dwelling unit. The bill would delete provisions authorizing a local agency to require owner occupancy by the permit applicant and authorizing a local agency, special district, or water corporation to require an applicant to install a separate utility connection for the accessory dwelling unit and would state that an accessory dwelling unit shall not be considered a new residential use for purposes of calculating fees and shall not be subject to impact fees, connection fees, capacity charges, or any other fees levied by those entities. The bill would authorize the department, upon submission of an adopted ordinance for the creation of accessory dwelling units, to submit written findings to the local agency regarding whether the ordinance complies with statutory provisions. The bill would authorize the department to adopt guidelines to implement uniform standards or criteria to supplement or clarify the terms, references, or standards set forth in statute and would exempt the adoption of those guidelines from the Administrative Procedure Act. The bill would would, until January 1, 2029, also specify the applicable building code standards for accessory dwelling units constructed before January 1, 2018. require a local building official, upon request of the owner of the accessory dwelling unit, to approve a delay of not less than 10 years of the enforcement of any building code requirement as applied to that accessory dwelling unit if, in the judgment of the building official, that enforcement is not necessary to protect the health and safety of those residents, as specified. By increasing the duties of local agencies with respect to land use regulations, the bill would impose a state-mandated local program.

This bill would require, if, in any action brought to enforce the above described provisions regarding accessory dwelling units brought by the applicant to construct an accessory dwelling unit or a housing organization, a court finds that the local agency, in violation of those provisions, disapproved a permit to construct an accessory dwelling unit or conditioned its approval in a manner rendering it infeasible for the construction of an accessory dwelling unit, the court to issue an order or judgment compelling compliance with those provisions within 60 days, including, but not limited to, an order that the local agency take action on the accessory dwelling unit. The bill would require, upon a determination that the local agency failed to comply with this order or judgment within 60 days, the court to impose fines on a local agency that has violated those provisions and require the local agency to deposit the fine into a local housing trust fund or in the Building Homes and Jobs Trust Fund and would make fines deposited in that state fund available upon appropriation by the Legislature, as specified.

This bill would also require the department to notify the city, county, or city and county and authorize notice to the Attorney General when the city, county, or city and county is not substantially complying with those the above-described provisions regarding accessory dwelling units.
The California Constitution requires the state to reimburse local agencies and school districts for certain costs mandated by the state. Statutory provisions establish procedures for making that reimbursement.
This bill would provide that, if the Commission on State Mandates determines that the bill contains costs mandated by the state, reimbursement for those costs shall be made pursuant to the statutory provisions noted above.
Vote: MAJORITY   Appropriation: NO   Fiscal Committee: YES   Local Program: YES  

The people of the State of California do enact as follows:


SECTION 1.

 Section 65585 of the Government Code is amended to read:

65585.
 (a) In the preparation of its housing element, each city and county shall consider the guidelines adopted by the department pursuant to Section 50459 of the Health and Safety Code. Those guidelines shall be advisory to each city or county in the preparation of its housing element.
(b) (1) At least 90 days prior to adoption of its housing element, or at least 60 days prior to the adoption of an amendment to this element, the planning agency shall submit a draft element or draft amendment to the department.
(2) The planning agency staff shall collect and compile the public comments regarding the housing element received by the city, county, or city and county, and provide these comments to each member of the legislative body before it adopts the housing element.
(3) The department shall review the draft and report its written findings to the planning agency within 90 days of its receipt of the draft in the case of an adoption or within 60 days of its receipt in the case of a draft amendment.
(c) In the preparation of its findings, the department may consult with any public agency, group, or person. The department shall receive and consider any written comments from any public agency, group, or person regarding the draft or adopted element or amendment under review.
(d) In its written findings, the department shall determine whether the draft element or draft amendment substantially complies with this article.
(e) Prior to the adoption of its draft element or draft amendment, the legislative body shall consider the findings made by the department. If the department’s findings are not available within the time limits set by this section, the legislative body may act without them.
(f) If the department finds that the draft element or draft amendment does not substantially comply with this article, the legislative body shall take one of the following actions:
(1) Change the draft element or draft amendment to substantially comply with this article.
(2) Adopt the draft element or draft amendment without changes. The legislative body shall include in its resolution of adoption written findings which explain the reasons the legislative body believes that the draft element or draft amendment substantially complies with this article despite the findings of the department.
(g) Promptly following the adoption of its element or amendment, the planning agency shall submit a copy to the department.
(h) The department shall, within 90 days, review adopted housing elements or amendments and report its findings to the planning agency.
(i) (1) (A) The department shall review any action or failure to act by the city, county, or city and county that it determines is inconsistent with an adopted housing element or Section 65583, including any failure to implement any program actions included in the housing element pursuant to Section 65583. The department shall issue written findings to the city, county, or city and county as to whether the action or failure to act substantially complies with this article, and provide a reasonable time no longer than 30 days for the city, county, or city and county to respond to the findings before taking any other action authorized by this section, including the action authorized by subparagraph (B).
(B) If the department finds that the action or failure to act by the city, county, or city and county does not substantially comply with this article, and if it has issued findings pursuant to this section that an amendment to the housing element substantially complies with this article, the department may revoke its findings until it determines that the city, county, or city and county has come into compliance with this article.
(2) The department may consult with any local government, public agency, group, or person, and shall receive and consider any written comments from any public agency, group, or person, regarding the action or failure to act by the city, county, or city and county described in paragraph (1), in determining whether the housing element substantially complies with this article.
(j) The department shall notify the city, county, or city and county and may notify the Office of the Attorney General that the city, county, or city and county is in violation of state law if the department finds that the housing element or an amendment to this element, or any action or failure to act described in subdivision (i), does not substantially comply with this article or that any local government has taken an action in violation of the following:
(1) Housing Accountability Act (Section 65589.5 of the Government Code).
(2) Section 65863 of the Government Code.
(3) Chapter 4.3 (commencing with Section 65915) of Division 1 of Title 7 of the Government Code.
(4) Section 65008 of the Government Code.
(5) Section 65852.2 of the Government Code.

SEC. 2.

 Section 65852.2 of the Government Code is amended to read:

65852.2.
 (a) (1) A local agency may, by ordinance, provide for the creation of accessory dwelling units. units in areas where a single-family or multifamily dwelling is authorized. The ordinance shall do all of the following:
(A) Designate areas within the jurisdiction of the local agency where accessory dwelling units may be permitted. The designation of areas may be excluded for fire and life safety purposes, based on criteria clear findings that are supported by a preponderance of evidence. The designation of areas shall be based on criteria that may include, but are not limited to, the adequacy of water and sewer services and the impact of accessory dwelling units on traffic flow and public safety. other fire and life safety issues.
(B) (i) Impose standards on accessory dwelling units that include, but are not limited to, parking, height, setback, lot coverage, landscape, architectural review, maximum size of a unit, and standards that prevent adverse impacts on any real property that is listed in the California Register of Historic Places.
(ii) Notwithstanding clause (i), a local agency may reduce or eliminate parking requirements for any accessory dwelling unit located within its jurisdiction.
(C) Provide that accessory dwelling units do not exceed the allowable density for the lot upon which the accessory dwelling unit is located, and that accessory dwelling units are a residential use that is consistent with the existing general plan and zoning designation for the lot. The square footage of a proposed accessory dwelling unit shall not be considered when calculating an allowable floor-to-area ratio for the lot upon which the accessory dwelling unit is to be located.
(D) Require the accessory dwelling units to comply with all of the following:
(i) The unit may be rented separate from the primary residence, but may not be sold or otherwise conveyed separate from the primary residence.
(ii) The lot includes a proposed or existing single-family dwelling.
(iii) The accessory dwelling unit is either attached or located within the proposed or existing living area of the proposed or existing primary dwelling or accessory structure or detached from the proposed or existing primary dwelling and located on the same lot as the proposed or existing primary dwelling.
(iv) The total floor area of an attached accessory dwelling unit shall not exceed 50 percent of the proposed or existing primary dwelling living area or 1,200 square feet.
(v) The total floor area for a detached accessory dwelling unit shall not exceed 1,200 square feet.
(vi) No passageway shall be required in conjunction with the construction of an accessory dwelling unit.
(vii) No setback shall be required for an existing living area or accessory structure that is converted to an accessory dwelling unit or to a portion of an accessory dwelling unit, and a setback of no more than five three feet from the side and rear lot lines shall be required for an accessory dwelling unit that is not converted from an existing structure.
(viii) Local building code requirements that apply to detached dwellings, as appropriate.
(ix) Approval by the local health officer where a private sewage disposal system is being used, if required.
(x) (I) Parking requirements for accessory dwelling units shall not exceed one parking space per unit or per bedroom, whichever is less. These spaces may be provided as tandem parking on a driveway.
(II) Off­street parking shall be permitted in setback areas in locations determined by the local agency or through tandem parking, unless specific findings are made that parking in setback areas or tandem parking is not feasible based upon specific site or regional topographical or fire and life safety conditions.
(III) This clause shall not apply to a unit that is described in subdivision (d).
(xi) When a garage, carport, or covered parking structure is demolished in conjunction with the construction of an accessory dwelling unit or converted to an accessory dwelling unit, a local agency shall not require that those off­street parking spaces be replaced.
(2) The ordinance shall not be considered in the application of any local ordinance, policy, or program to limit residential growth.
(3) A permit application for an accessory dwelling unit shall be considered and approved ministerially without discretionary review or a hearing, notwithstanding Section 65901 or 65906 or any local ordinance regulating the issuance of variances or special use permits, within 120 60 days after receiving the application. If the local agency has not acted upon the submitted application with 120 60 days, the application shall be deemed approved. A local agency may charge a fee to reimburse it for costs that it incurs as a result of amendments to this paragraph enacted during the 2001–02 Regular Session of the Legislature, including the costs of adopting or amending any ordinance that provides for the creation of an accessory dwelling unit.
(4) An existing ordinance governing the creation of an accessory dwelling unit by a local agency or an accessory dwelling ordinance adopted by a local agency shall provide an approval process that includes only ministerial provisions for the approval of accessory dwelling units and shall not include any discretionary processes, provisions, or requirements for those units, except as otherwise provided in this subdivision. In the event that a local agency has an existing accessory dwelling unit ordinance that fails to meet the requirements of this subdivision, that ordinance shall be null and void and that agency shall thereafter apply the standards established in this subdivision for the approval of accessory dwelling units, unless and until the agency adopts an ordinance that complies with this section.
(5) No other local ordinance, policy, or regulation shall be the basis for the delay or denial of a building permit or a use permit under this subdivision.
(6) This subdivision establishes the maximum standards that local agencies shall use to evaluate a proposed accessory dwelling unit on a lot zoned for residential use that includes a proposed or existing single-family dwelling. No additional standards, other than those provided in this subdivision, shall be utilized or imposed, except that a local agency may require that the property be used for rentals of terms longer than 30 days.
(7) A local agency may amend its zoning ordinance or general plan to incorporate the policies, procedures, or other provisions applicable to the creation of an accessory dwelling unit if these provisions are consistent with the limitations of this subdivision.
(8) An accessory dwelling unit that conforms to this subdivision shall be deemed to be an accessory use or an accessory building and shall not be considered to exceed the allowable density for the lot upon which it is located, and shall be deemed to be a residential use that is consistent with the existing general plan and zoning designations for the lot. The accessory dwelling unit shall not be considered in the application of any local ordinance, policy, or program to limit residential growth. The square footage of a proposed accessory dwelling unit shall not be considered when calculating an allowable floor-to-area ratio for the lot upon which the accessory dwelling unit is to be located.
(b) When a local agency that has not adopted an ordinance governing accessory dwelling units in accordance with subdivision (a) receives an application for a permit to create an accessory dwelling unit pursuant to this subdivision, the local agency shall approve or disapprove the application ministerially without discretionary review pursuant to subdivision (a) within 120 60 days after receiving the application. If the local agency has not acted upon the submitted application within 120 60 days from the date of receipt, it shall be deemed approved.
(c) A local agency may establish minimum and maximum unit size requirements for both attached and detached accessory dwelling units. No minimum or maximum size for an accessory dwelling unit, or size based upon a percentage of the proposed or existing primary dwelling, shall be established by ordinance for either attached or detached dwellings that does not permit at least an efficiency unit to be constructed in compliance with local development standards. Accessory dwelling units shall not be required to provide fire sprinklers if they are not required for the primary residence.
(d) Notwithstanding any other law, a local agency, whether or not it has adopted an ordinance governing accessory dwelling units in accordance with subdivision (a), shall not impose parking standards for an accessory dwelling unit in any of the following instances:
(1) The accessory dwelling unit is located within one-half mile of public transit.
(2) The accessory dwelling unit is located within an architecturally and historically significant historic district.
(3) The accessory dwelling unit is part of the proposed or existing primary residence or an accessory structure.
(4) When on-street parking permits are required but not offered to the occupant of the accessory dwelling unit.
(5) When there is a car share vehicle located within one block of the accessory dwelling unit.
(e) Notwithstanding subdivisions (a) to (d), inclusive, a local agency shall ministerially approve an application for a building permit to create one accessory dwelling unit per lot if the unit is substantially contained within the existing space of a single-family residence or accessory structure, including, but not limited to, a studio, pool house, or other similar structure, has independent exterior access from the existing residence, and the side and rear setbacks are sufficient for fire safety. Accessory dwelling units shall not be required to provide fire sprinklers if they are not required for the primary residence. A city shall not require owner occupancy for either the primary or the accessory dwelling unit created through this process. An agreement with a local agency to maintain owner occupancy as a condition for issuance of a building permit for an accessory dwelling unit shall be void as against public policy.
(f) A local agency shall not implement standards for minimum lot size requirements for accessory dwelling units and shall allow for the construction of an accessory dwelling unit that complies with this section on any lot that allows for construction of a home, unless specific findings are made by the local agency that the construction of the unit would adversely impact public safety.
(g) An accessory dwelling unit shall not be considered by a local agency, school district, special district, or water corporation to be a new residential use for the purposes of calculating fees.
(h) An accessory dwelling unit permitted pursuant to this section shall not be subject to impact fees, connection fees, capacity charges, or any other fees levied by a local agency, school district, special district, or water corporation.
(i) This section does not limit the authority of local agencies to adopt less restrictive requirements for the creation of an accessory dwelling unit.
(j) A local agency shall submit a copy of the ordinance adopted pursuant to subdivision (a) to the Department of Housing and Community Development within 60 days after adoption. After adoption of an ordinance, the department may submit written findings to the local agency as to whether the ordinance complies with this section. If the department finds that the local agency’s ordinance does not comply with this section, the department shall notify the local agency and may notify the office of the Attorney General that the local agency is in violation of state law. The local agency shall consider findings made by the department and may change the ordinance to comply with this section or adopt the ordinance without changes. The local agency shall include findings in its resolution adopting the ordinance that explain the reasons the local agency believes that the ordinance complies with this section despite the findings of the department.
(k) The department may review, adopt, amend, or repeal guidelines to implement uniform standards or criteria that supplement or clarify the terms, references, and standards set forth in this section. The guidelines adopted pursuant to this subdivision are not subject to Chapter 3.5 (commencing with Section 11340) of Part 1 of Division 3 of Title 2.
(l) As used in this section, the following terms mean:
(1) “Accessory structure” means an existing, fixed structure, including, but not limited to, a garage, studio, pool house, or other similar structure.

(1)

(2) “Living area” means the interior habitable area of a dwelling unit including basements and attics but does not include a garage or any accessory structure.

(2)

(3) “Local agency” means a city, county, or city and county, whether general law or chartered.

(3)For purposes of this section, “neighborhood”

“Neighborhood” has the same meaning as set forth in Section 65589.5.

(4)

(5) “Accessory dwelling unit” means an attached or a detached residential dwelling unit which provides complete independent living facilities for one or more persons. It shall include permanent provisions for living, sleeping, eating, cooking, and sanitation on the same parcel as the single-family dwelling is situated. An accessory dwelling unit also includes the following:
(A) An efficiency unit, as defined in Section 17958.1 of the Health and Safety Code.
(B) A manufactured home, as defined in Section 18007 of the Health and Safety Code.
(5) “Passageway” means a pathway that is unobstructed clear to the sky and extends from a street to one entrance of the accessory dwelling unit.

(6)

(7) “Public transit” means a location, including, but not limited to, a bus stop or train station, where the public may access buses, trains, subways, and other forms of transportation that charge set fares, run on fixed routes, and are available to the public.

(7)

(8) “Tandem parking” means that two or more automobiles are parked on a driveway or in any other location on a lot, lined up behind one another.
(m) Nothing in this section shall be construed to supersede or in any way alter or lessen the effect or application of the California Coastal Act of 1976 (Division 20 (commencing with Section 30000) of the Public Resources Code), except that the local government shall not be required to hold public hearings for coastal development permit applications for accessory dwelling units.

SEC. 3.Section 65852.21 is added to the Government Code, to read:
65852.21.

(a)(1) Either an applicant for a permit to construct an accessory dwelling unit pursuant to Section 65852.2 or a housing organization may bring an action to enforce that section. If, in any action brought to enforce Section 65852.2, a court finds that the local agency, in violation of that section, disapproved a permit to construct an accessory dwelling unit or conditioned its approval in a manner rendering it infeasible for the construction of an accessory dwelling unit, the court shall issue an order or judgment compelling compliance with Section 65852.2 within 60 days, including, but not limited to, an order that the local agency take action on the accessory dwelling unit. The court may issue an order or judgment directing the local agency to approve the permit if the court finds that the local agency acted in bad faith when it disapproved or conditionally approved the permit in violation of Section 65852.2. The court shall retain jurisdiction to ensure that its order or judgment is carried out and shall award reasonable attorney’s fees and costs of suit to the plaintiff or petitioner, except under extraordinary circumstances in which the court finds that awarding fees would not further the purposes of Section 65852.2.

(2)(A)   Upon a determination that the local agency has failed to comply with the order or judgment compelling compliance with Section 65852.2 within 60 days issued pursuant to paragraph (1), the court shall impose fines on a local agency that has violated that section and require the local agency to deposit any fine levied pursuant to this section into a local housing trust fund. The local agency may elect to instead deposit the fine into the Building Homes and Jobs Trust Fund. The fine shall be in a minimum amount of ten thousand dollars ($10,000) per accessory dwelling unit permit on the date the application was deemed complete. In determining the amount of fine to impose, the court shall consider the local agency’s progress in attaining its target allocation of the regional housing need pursuant to Section 65584 and any prior violations of Section 65852.2. Fines shall not be paid out of funds already dedicated to affordable housing, including, but not limited to, the Low and Moderate Income Housing Asset Fund, funds dedicated to housing for very low, low-, and moderate-income households, and federal HOME Investment Partnerships Program and Community Development Block Grant Program funds. The local agency shall commit and expend the money in the local housing trust fund within five years for the sole purpose of financing newly constructed housing units affordable to extremely low, very low, or low-income households. After five years, if the funds have not been expended, the money shall revert to the state and be deposited in the Building Homes and Jobs Trust Fund for the sole purpose of financing newly constructed housing units affordable to extremely low, very low, or low-income households.

(B)If money derived from a fine imposed pursuant to this section is deposited in the Building Homes and Jobs Trust Fund, then, notwithstanding Section 50470 of the Health and Safety Code, that money shall be available only upon appropriation by the Legislature.

(3)If the court determines that its order or judgment has not been carried out within 60 days, the court may issue further orders as provided by law to ensure that the purposes and policies of Section 65852.2 are fulfilled, including, but not limited to, an order to vacate the decision of the local agency and to approve the accessory dwelling unit permit, in which case the application for the permit, as proposed by the applicant at the time the local agency took the initial action determined to be in violation of Section 65852.2, along with any standard conditions determined by the court to be generally imposed by the local agency on similar projects, shall be deemed to be approved unless the applicant or housing organization consents to a different decision or action by the local agency.

(b)If the court finds that the local agency (1) acted in bad faith when it disapproved or conditionally approved the permit to construct an accessory dwelling unit in violation of Section 65852.2 and (2) failed to carry out the court’s order or judgment within 60 days as described in subdivision (a), the court, in addition to any other remedies provided by this section, shall multiply the fine determined pursuant to paragraph (2) of subdivision (a) by a factor of five. For purposes of this section, “bad faith” includes, but is not limited to, an action that is frivolous or otherwise entirely without merit.

(c)Any action brought to enforce Section 65852.2 shall be brought pursuant to Section 1094.5 of the Code of Civil Procedure, and the local agency shall prepare and certify the record of proceedings in accordance with subdivision (c) of Section 1094.6 of the Code of Civil Procedure no later than 30 days after the petition is served, provided that the cost of preparation of the record shall be borne by the local agency, unless the petitioner elects to prepare the record as provided in subdivision (d) of this section. A petition to enforce Section 65852.2 shall be filed and served no later than 90 days from the effective date of a decision of the local agency imposing conditions on, disapproving, or any other final action on a permit to construct an accessory dwelling unit. Upon entry of the trial court’s order, a party may, in order to obtain appellate review of the order, file a petition within 20 days after service upon it of a written notice of the entry of the order, or within such further time not exceeding an additional 20 days as the trial court may for good cause allow, or may appeal the judgment or order of the trial court under Section 904.1 of the Code of Civil Procedure. If the local agency appeals the judgment of the trial court, the local agency shall post a bond, in an amount to be determined by the court, to the benefit of the plaintiff if the plaintiff is the project applicant.

(d)In any action, the record of the proceedings before the local agency shall be filed as expeditiously as possible and, notwithstanding Section 1094.6 of the Code of Civil Procedure or subdivision (c) of this section, all or part of the record may be prepared (1) by the petitioner with the petition or petitioner’s points and authorities, (2) by the respondent with respondent’s points and authorities, (3) after payment of costs by the petitioner, or (4) as otherwise directed by the court. If the expense of preparing the record has been borne by the petitioner and the petitioner is the prevailing party, the expense shall be taxable as costs.

(e)For purposes of this section, “housing organization” means a trade or industry group whose local members are primarily engaged in the construction or management of housing units or a nonprofit organization whose mission includes providing or advocating for increased access to housing for low-income households and have filed written or oral comments with the local agency prior to action on the housing development project. A housing organization may only file an action pursuant to this section to challenge the disapproval of a housing development by a local agency. A housing organization shall be entitled to reasonable attorney’s fees and costs if it is the prevailing party in an action to enforce this section.

SEC. 4.SEC. 3.

 Section 65852.23 is added to the Government Code, immediately following Section 65852.22, to read:

65852.23.
 (a) As used in this section, the following definitions apply:
(1) “Accessory dwelling unit” is defined as in Section 65852.2.
(2) “Building code” includes, but is not limited to, a local building code, means the California Building Standards Code, or the International Building Code. Code or that code as modified by a local agency.
(3) “Local agency” is defined as in Section 65852.2.

(4)“Primary residence” means the residence on the same lot as the accessory dwelling unit.

(b)A local building official shall permit an accessory dwelling unit constructed before January 1, 2018, using the building code standards operative at the time the primary residence was constructed. However, if the primary residence was constructed before January 1, 2007, an accessory dwelling unit constructed before January 1, 2018, shall be subject to the building code standards operative on January 1, 2007.

(b) When a local building official finds that a substandard accessory dwelling unit poses an imminent risk to the health and safety of the residents of the accessory dwelling unit, the local building official shall, upon request of the owner of the accessory dwelling unit and subject to the conditions set forth in this section, approve a delay of not less than 10 years of the enforcement of any building code requirement as applied to that accessory dwelling unit if, in the judgment of the building official, that enforcement is not necessary to protect the health and safety of those residents.
(c) An owner of an accessory dwelling unit shall be eligible for the delay specified in subdivision (a) only if the owner has not received a notice or order to abate.
(d) In granting a delay pursuant to subdivision (a), a building official shall consult with the applicable fire and code enforcement officials regardless of whether those officials are organized in a different department or a separate agency from the building official.
(e) A local building official shall not approve a delay pursuant to subdivision (a) on or after January 1, 2029. A delay approved before January 1, 2029 shall remain in force for the full term of the delay after January 1, 2029, and an owner that received a delay shall retain the enforceable restriction on the property while the delay is in force.
(c) This section shall remain in effect only until January 1, 2026, 2039, and as of that date is repealed.

SEC. 5.SEC. 4.

 If the Commission on State Mandates determines that this act contains costs mandated by the state, reimbursement to local agencies and school districts for those costs shall be made pursuant to Part 7 (commencing with Section 17500) of Division 4 of Title 2 of the Government Code.