Skip to main content

Preliminary Injunctions and Temporary Restraining Orders: Notice, the Order to Show Cause and Its Timing — Code Civ. Proc., § 527

High confidence· verified October 22, 2026Emergency MotionsCode Civ. Proc., § 527

A published court requirement that applies in California. Category: Emergency Motions. Cited as Code Civ. Proc., § 527. Effective January 1, 2001. Verified against the official source (California Codes — Legislative Counsel database downloads (downloads.leginfo.legislature.ca.gov)) on October 22, 2026.

Summary

A preliminary injunction may be granted before judgment on a verified complaint or affidavits showing sufficient grounds, and never without notice. A temporary restraining order may issue without notice only if facts shown by affidavit or verified complaint establish that great or irreparable injury will result before the matter can be heard on notice, and the applicant or its attorney certifies under oath that the opposing party was told when and where the application would be made, that a good faith attempt to inform it failed (describing the efforts), or why notice should not be required. A TRO granted without notice is made returnable on an order to show cause no later than 15 days — or 22 days for good cause — from its issuance; the applicant must serve the complaint (if not yet served), the order to show cause, the affidavits and the points and authorities within five days of issuance or two days before the hearing, whichever is earlier; the TRO is dissolved if the applicant is not ready or has not served; and the opposing party is entitled to one continuance of not less than 15 days (or a shorter period it requests), during which the TRO remains in effect. The section does not apply to orders issued under the Family Code.

Applies to

California > Superior courts (preliminary injunctions and temporary restraining orders)

Requirement

(a) A preliminary injunction may be granted at any time before judgment upon a verified complaint, or upon affidavits if the complaint in the one case, or the affidavits in the other, show satisfactorily that sufficient grounds exist therefor. No preliminary injunction shall be granted without notice to the opposing party. (b) A temporary restraining order or a preliminary injunction, or both, may be granted in a class action, in which one or more of the parties sues or defends for the benefit of numerous parties upon the same grounds as in other actions, whether or not the class has been certified. (c) No temporary restraining order shall be granted without notice to the opposing party, unless both of the following requirements are satisfied: (1) It appears from facts shown by affidavit or by the verified complaint that great or irreparable injury will result to the applicant before the matter can be heard on notice. (2) The applicant or the applicant’s attorney certifies one of the following to the court under oath: (A) That within a reasonable time prior to the application the applicant informed the opposing party or the opposing party’s attorney at what time and where the application would be made. (B) That the applicant in good faith attempted but was unable to inform the opposing party and the opposing party’s attorney, specifying the efforts made to contact them. (C) That for reasons specified the applicant should not be required to so inform the opposing party or the opposing party’s attorney. (d) In case a temporary restraining order is granted without notice in the contingency specified in subdivision (c): (1) The matter shall be made returnable on an order requiring cause to be shown why a preliminary injunction should not be granted, on the earliest day that the business of the court will admit of, but not later than 15 days or, if good cause appears to the court, 22 days from the date the temporary restraining order is issued. (2) The party who obtained the temporary restraining order shall, within five days from the date the temporary restraining order is issued or two days prior to the hearing, whichever is earlier, serve on the opposing party a copy of the complaint if not previously served, the order to show cause stating the date, time, and place of the hearing, any affidavits to be used in the application, and a copy of the points and authorities in support of the application. The court may for good cause, on motion of the applicant or on its own motion, shorten the time required by this paragraph for service on the opposing party. (3) When the matter first comes up for hearing, if the party who obtained the temporary restraining order is not ready to proceed, or if the party has failed to effect service as required by paragraph (2), the court shall dissolve the temporary restraining order. (4) The opposing party is entitled to one continuance for a reasonable period of not less than 15 days or any shorter period requested by the opposing party, to enable the opposing party to meet the application for a preliminary injunction. If the opposing party obtains a continuance under this paragraph, the temporary restraining order shall remain in effect until the date of the continued hearing. (5) Upon the filing of an affidavit by the applicant that the opposing party could not be served within the time required by paragraph (2), the court may reissue any temporary restraining order previously issued. The reissued order shall be made returnable as provided by paragraph (1), with the time for hearing measured from the date of reissuance. No fee shall be charged for reissuing the order. (e) The opposing party may, in response to an order to show cause, present affidavits relating to the granting of the preliminary injunction, and if the affidavits are served on the applicant at least two days prior to the hearing, the applicant shall not be entitled to any continuance on account thereof. On the day the order is made returnable, the hearing shall take precedence over all other matters on the calendar of the day, except older matters of the same character, and matters to which special precedence may be given by law. When the cause is at issue it shall be set for trial at the earliest possible date and shall take precedence over all other cases, except older matters of the same character, and matters to which special precedence may be given by law. (f) Notwithstanding failure to satisfy the time requirements of this section, the court may nonetheless hear the order to show cause why a preliminary injunction should not be granted if the moving and supporting papers are served within the time required by Section 1005 and one of the following conditions is satisfied: (1) The order to show cause is issued without a temporary restraining order. (2) The order to show cause is issued with a temporary restraining order, but is either not set for hearing within the time required by paragraph (1) of subdivision (d), or the party who obtained the temporary restraining order fails to effect service within the time required by paragraph (2) of subdivision (d). (g) This section does not apply to an order issued under the Family Code. (h) As used in this section: (1) “Complaint” means a complaint or a cross-complaint. (2) “Court” means the court in which the action is pending.

Source of truth

Source health
Healthy · checked October 22, 2026
Effective date
January 1, 2001
Last verified
October 22, 2026benchpath-ca-parity-p8-packs-2026-10-26
Provenance record

Verbatim from the California Law Library: the current verified version of Code Civ. Proc., § 527 (authority_versions 51dd4124-35c8-4a2d-8eb3-05eabffdbbda; text sha256 349685ba4ff58acf5cd3cad1a988d04fe496c6afefd82a4dceec3a008aabc0da; As published in the Legislative Counsel's database, tables dated October 18, 2026 (pubinfo_2025.zip); composer: compose_ca.py 2026-10-22: the Legislative Counsel's CAML content files read by a tokenizer (caml_readers.reader_a); an independent xml.etree reading (caml_readers.reader_b) agrees on every section). Its receipt is the version's own source document, https://downloads.leginfo.legislature.ca.gov/pubinfo_2025.zip#CODE=CCP (fetched 2026-10-22 14:25:20Z, content sha256 bac5b019afd6a4791539cff1595a174731420563ddb8f99bb3e7b750a69619a0), so no new receipt was registered. Composed 2026-10-26 for California's workflow packs (California parity Phase 8, the owner's approval of 2026-10-26). The link is the section's page on the official site, which robots.txt closes to automated reads; the receipt is the Legislative Counsel's weekly archive.

Related rules

Emergency MotionsHillsborough County · Family Division B · Judge Joseph M. Tompkins

Study Smith v. Crider Before Filing Any Emergency — Family B

Judge Tompkins orders counsel to study Smith v. Crider before filing an emergency motion, files it with the Clerk only (never deliver to the judge), and runs UMC at 7–10 minutes per case.

High confidence· verified September 9, 202613th Jud. Cir., Judge Tompkins Procedures & Preferences (Fam. B)
Emergency MotionsSeminole County

Eighteenth Cir. — 08-12-s

10 verbatim mandatory provisions from 08-12-s.

High confidence· verified September 9, 2026Eighteenth Judicial Circuit, 08-12-s — harvested live and sha256-hashed 2026-07-24
Emergency MotionsOkaloosa County

First Cir. — Mortgage Foreclosure Requirements for Judge LaPorte

30 verbatim mandatory provisions from Mortgage Foreclosure Requirements for Judge LaPorte.

High confidence· verified September 9, 2026First Judicial Circuit, Mortgage Foreclosure Requirements for Judge LaPorte — harvested live and sha256-hashed 2026-07-24
Emergency MotionsOkaloosa County

First Cir. — OCAD 2005-11 Rules Governing Use of Court Facilities (Crestview Courthouse and Shalimar Courthouse Annex) During Times o

3 verbatim mandatory provisions from OCAD 2005-11 Rules Governing Use of Court Facilities (Crestview Courthouse and Shalimar Courthouse Annex) During Times o.

High confidence· verified September 9, 2026First Judicial Circuit, OCAD 2005-11 Rules Governing Use of Court Facilities (Crestview Courthouse and Shalimar Courthouse Annex) During Times o — harvested live and sha256-hashed 2026-07-24