2023 California Code › Code of Civil Procedure - CCP › PART 2 - OF CIVIL ACTIONS › TITLE 8 - OF THE TRIAL AND JUDGMENT IN CIVIL ACTIONS › CHAPTER 2 - Judgment Upon Failure to Answer › Section 586.

586. (a) In the following cases the same proceedings shall be had, and judgment shall be rendered in the same manner, as if the defendant had failed to answer:
(1) If the complaint has been amended, and the defendant fails to answer it, as amended, or demur thereto, or file a notice of motion to strike, of the character specified in Section 585, within 30 days after service thereof or within the time allowed by the court.
(2) If the demurrer to the complaint is overruled and a motion to strike, of the character specified in Section 585, is denied, or where only one thereof is filed, if the demurrer is overruled or the motion to strike is denied, and the defendant fails to answer the complaint within the time allowed by the court.
(3) If a motion to strike, of the character specified in Section 585, is granted in whole or in part, and the defendant fails to answer the unstricken portion of the complaint within the time allowed by the court, no demurrer having been sustained or being then pending.
(4) If a motion to quash service of summons or to stay or dismiss the action has been filed, or writ of mandate sought and notice thereof given, as provided in Section 418.10, and upon denial of the motion or writ, the defendant fails to respond to the complaint within the time provided in that section or as otherwise provided by law.
(5) If the demurrer to the answer is sustained and the defendant fails to amend the answer within the time allowed by the court.
(6) (A) If a motion to transfer pursuant to Section 396b is denied and the defendant fails to respond to the complaint within the time allowed by the court pursuant to subdivision (e) of Section 396b or within the time provided in subparagraph (C).
(B) If a motion to transfer pursuant to Section 396b is granted and the defendant fails to respond to the complaint within 30 days of the mailing of notice of the filing and case number by the clerk of the court to which the action or proceeding is transferred or within the time provided in subparagraph (C).
(C) If the order granting or denying a motion to transfer pursuant to Section 396a or 396b is the subject of an appeal pursuant to Section 904.2 in which a stay is granted or of a mandate proceeding pursuant to Section 400, the court having jurisdiction over the trial, upon application or on its own motion after the appeal or mandate proceeding becomes final or upon earlier termination of a stay, shall allow the defendant a reasonable time to respond to the complaint. Notice of the order allowing the defendant further time to respond to the complaint shall be promptly served by the party who obtained the order or by the clerk if the order is made on the court’s own motion.
(7) If a motion to strike the answer in whole, of the character specified in Section 585, is granted without leave to amend, or if a motion to strike the answer in whole or in part, of the character specified in Section 585, is granted with leave to amend and the defendant fails to amend the answer within the time allowed by the court.
(8) If a motion to dismiss pursuant to Section 583.250 is denied and the defendant fails to respond within the time allowed by the court.
(b) For the purposes of this section, “respond” means to answer, to demur, or to move to strike.
(Amended by Stats. 2007, Ch. 43, Sec. 6. Effective January 1, 2008.)