delivered the opinion of the Court.
In this procedural dispute, we must decide whether a trial court’s erroneous dismissal of a suit with prejudice, following the plaintiffs filing of a nonsuit, operates to bar a later suit because of res judicata. We conclude that it does. Therefore, we reverse the coux-t of appeals’ judgment and order the case dismissed.
I
Barry Joachim sued his insurer, The Travelers Insurance Company, 1 alleging he was entitled to benefits from Travelers for damages caused by Joachim’s accident with an underinsured driver. On the day before trial, Joachim filed a “Notice of Non-Suit” stating that he “no longer wishes to pursue his claims against Defendants,” 2 and therefore “gives notice to all parties that his claims against the same are hereby dismissed without prejudice.” No motions or counterclaims were pending at that time. Several months later, the *862 trial court sent notice that if a final order was not filed within 10 days of the notice, the court would dismiss the case for want of prosecution. Joachim asserts he did not receive this notice. The trial court then entered an order that the case “is hereby dismissed in full with prejudice for want of prosecution.” Joachim claims he did not receive a copy of that order either. Unaware of the dismissal order, Joachim neither contested it while the court retained plenary power, see Tex.R. Civ. P. 329b, nor perfected an appeal.
Joachim later refiled the same cause of action, and the case was assigned to a different trial court. Travelers filed a motion for summary judgment based on res judicata. The second trial court granted Travelers’ motion and ordered that Joa-chim take nothing by his suit. Joachim appealed that judgment. The court of appeals reversed, holding that a nonsuit removes a trial court’s jurisdiction to enter a dismissal with prejudice.
II
We review a trial court’s summary judgment de novo.
Provident Life & Accident Ins. Co. v. Knott,
“At any time before the plaintiff has introduced all of his evidence other than rebuttal evidence, the plaintiff may ... take a non-suit, which shall be entered in the minutes. Notice of the ... non-suit shall be served ... on any party who has answered or who has been served with process without necessity of court order.” Tex.R. Civ. P. 162. A party has an absolute right to file a nonsuit, and a trial court is without discretion to refuse an order dismissing a case because of a nonsuit unless collateral matters remain.
See Villafani v. Trejo,
The parties agree that the first trial court’s order, which dismissed the case with prejudice, was erroneous because Joachim’s nonsuit was without prejudice to refiling.
See generally
Tex.R. Civ. P. 301 (“The judgment of the court shall conform to the pleadings, the nature of the case proved and the verdict, if any, and shall be so framed as to give the party all the relief to which he may be entitled either in law or equity.”). The question of whether Travelers established its res judicata defense turns on the issue of whether the trial court’s erroneous order was void, or merely voidable. “A judgment is void only when it is apparent that the court rendering judgment had no jurisdiction of the parties or property, no jurisdiction of the subject matter, no jurisdiction to enter the particular judgment, or no capacity to act.”
Browning v. Prostok,
We have held that an order dismissing a case with prejudice for want of prosecution, though mistaken, is merely voidable and must be attacked directly in order to prevent the order from becoming final for purposes of establishing res judicata.
See El Paso Pipe & Supply Co. v. Mountain States Leasing, Inc.,
The court of appeals held that because a nonsuit renders the merits of the case moot, the second trial court lacked jurisdiction to render judgment for lack of jus-ticiability.
In addition, the court of appeals’ conclusion that the dismissal order was void confuses the subtle differences between mootness and related justiciability concepts, such as ripeness and standing. The court of appeals cited
State Bar of Texas v. Gomez,
In
Gomez,
we said: “Subject matter jurisdiction requires that the party bringing the suit have standing, that there be a live controversy between the parties, and that the case be justiciable.”
The question remains whether the trial court’s voidable order of dismissal is suffi-
*866
dent to establish Travelers’ affirmative defense of res judicata. We conclude it is. Because Joachim failed to attack the trial court’s order directly, it became a final judgment for purposes of res judicata.
5
Joachim alleges that he never received notice of the judgment dismissing his cause of action with prejudice. Certainly, if this is true, the lack of notice would not bind him to the effects of the first trial court’s erroneous judgment without some potential remedy.
6
However, there is a remedy: an equitable bill of review is a direct attack on a judgment.
See
Tex.R. Civ. P. 329b(f) (providing that a judgment may be set aside by the trial court by bill of review for sufficient cause);
McEwen v. Harrison,
Ill
We hold that because a trial court has jurisdiction to enter orders dismissing a case with prejudice upon filing of a non-suit, the trial court’s order here was voidable, not void, and subject only to direct attack. Because Joachim failed to attack the trial court’s order directly, it became a final determination on the merits for purposes of res judicata. Therefore, we reverse the court of appeals’ judgment and render judgment dismissing the ease with prejudice.
Notes
. The parties agree that The Automobile Insurance Company of Hartford, Connecticut issued Joachim's policy. For convenience, however, we refer to the respondent in this case as Travelers because The Travelers Insurance Company is the entity Joachim named first in his trial court petitions.
. Joachim's first petition included several insurance companies as defendants.
.We have used similar language in discussing a dismissal.
See Crofts v. Court, of Civil Appeals,
.In
Scott & White,
our holding was limited to the situation where the trial court granted a collateral motion for sanctions during the period when it retained plenary power.
See
. We note that none of Joachim's allegations in the trial court, even when construed liberally, can plausibly be considered as being in the nature of a claim for bill of review or similar relief.
. The United States Supreme Court recently observed, for instance, that comparable relief under Federal Rule of Civil Procedure 60(b)(4) (relief from a final judgment that is void) "applies only in the rare instance where a judgment is premised either on a certain type of jurisdictional error or on a violation of due process that deprives a party of notice or the opportunity to be heard.”
United Student Aid Funds, Inc. v. Espinosa,
559 U.S. -, -,
.We offer no opinion as to whether Joachim might have succeeded in having the trial court set aside its judgment by pursuing an equitable bill of review or any other remedy in the trial court.
