# Preliminary Injunctions and Temporary Restraining Orders: Notice, the Order to Show Cause and Its Timing — Code 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

- Page: https://benchpath.ai/rules/ca-ccp-527-temporary-restraining-order
- Citation: Code Civ. Proc., § 527
- Source: California Codes — Legislative Counsel database downloads (downloads.leginfo.legislature.ca.gov)
- Official source: https://leginfo.legislature.ca.gov/faces/codes_displaySection.xhtml?lawCode=CCP&sectionNum=527.
- Effective: January 1, 2001
- Confidence: high
- Last verified: October 22, 2026

---

Procedural information from official public court sources. Not legal advice. A court can change its requirements without notice: read the cited source before relying on a record.

Published by BenchPath (LegalDraft Technologies LLC). How records are verified: https://benchpath.ai/methodology
