ON MOTION FOR REHEARING
We grant the respondent’s motion for rehearing, withdraw the opinion and judgment of June 18, 1986, and substitute this opinion.
The question presented for review is whether C.W. Byrom, a cotenant who drilled a producing well while denying, in a pending lawsuit, the validity of cotenant Paul Pendley’s interest, is a bad-faith trespasser as a matter of law. In a bench trial, the district court answered this question negatively, and awarded Byrom recovery against Pendley for his necessary and reasonable costs of production. 1
The court of appeals reversed that judgment, holding that Byrom was a trespasser as to Pendley’s interest as a matter of law, because he claimed to own Pendley’s interest. The court of appeals further held that Byrom trespassed in bad faith because he drilled the well in question while asserting, in pending litigation, that Pendley’s leasehold interest was invalid.
C.W. Byrom owned an undisputed n/24ths leasehold working interest in a tract of land in Eastland County, Texas. Another V24th working interest was not leased and was also not in dispute. In November 1976, Paul Pendley acquired an oil and gas lease covering the remaining 12/24ths interest. Approximately six months later, By-rom obtained a lease from Pendley’s lessors covering this same remaining 12/24ths mineral interest.
Because of an insufficient property description in the Pendley lease, Pendley filed suit in June 1977 to reform the lease to correctly describe the covered property. Byrom intervened in that suit, seeking to have the Pendley lease declared void and removed as a cloud from Byrom’s title. While that suit was pending, Byrom drilled the Byrom-Everett No. 1 Well on the property in dispute. The well was completed as an oil well and began operating, with the proceeds attributable to Pendley’s alleged 12/24ths leasehold interest placed in escrow. Pendley ultimately prevailed in his June 1977 property title suit, thereby validating his 12/24ths leasehold interest and invalidating Byrom’s lease covering that interest.
Mr. Byrom then filed this lawsuit against Paul Pendley, seeking a declaration that he was entitled to recover from the funds held in escrow one-half of the costs of drilling and operating the Byrom-Everett No. 1 Well. 2 After a nonjury trial, the district court rendered judgment for Byrom, holding that “by virtue of their n/24ths working interest, [Byrom] had the right to drill the Byrom-Everett No. 1 Well and to produce oil and gas from the property.” It further concluded that Byrom was not a trespasser against Pendley. Additionally, the trial court’s findings of fact included a finding that “[Byrom] acted in good faith in drilling and operating the Byrom-Everett No. 1 well.” The court of appeals reversed and rendered judgment for Pendley, holding that Byrom was a bad-faith trespasser as a matter of law. Its decision hinged on the undisputed fact that Byrom drilled the well in question while asserting in then pending *605 litigation that Pendley’s one-half leasehold interest was invalid.
Byrom contends that although he lost his claim to the '%4ths mineral interest described in the Pendley lease, he nevertheless had the right to drill and produce a well on the strength of his undisputed n/24 ths leasehold interest. We agree.
It has long been the rule in Texas that a cotenant has the right to extract minerals from common property without first obtaining the consent of his cotenants; however, he must account to them on the basis of the value of any minerals taken, less the necessary and reasonable costs of production and marketing.
Cox v. Davison,
[T]he peculiar circumstances of a coten-ancy in land upon which oil is discovered warrant one cotenant to proceed and utilize the oil, without the necessity of the other cotenants concurring. Oil is a fugitive substance and may be drained from the land by well on adjoining property. It must be promptly taken from the land for it to be secured to the owners.
Id. With this stated policy in mind, we can perceive no reason to treat a cotenant who drills without his cotenant’s consent, such as was the case in Burnham and Cox, differently from a cotenant like Byrom who drills while asserting that his cotenant’s lease was defectively described. In either case, the operating cotenant is seeking to protect his undisputed interest in the minerals.
It is here asserted, however, that Byrom became a trespasser as to Pend-ley’s 12/a4ths leasehold interest solely by denying the validity of the Pendley lease. Pendley relies upon
Humble Oil & Refining Co. v. Kishi,
We hold that Byrom had the legal right, as a cotenant of Pendley, to proceed to drill and produce oil and gas from the land, subject only to his duty to account to Pendley for Pendley’s proportionate part of the value of the oil and gas produced, less Pendley’s proportionate part of the drilling and operating expenses.
Cox v. Davison,
While Pendley did not bring cross-points before this court, we must dispose of those points of error urged by him in the court of appeals but not considered by that court.
McKelvy v. Barber,
Pendley contends, as he did at trial, that the judgment in the prior title dispute between the parties bars Byrom’s present claim under the doctrine of res judicata and collateral estoppel. Pendley argues that res judicata applies because Byrom could have sought recovery for his drilling and production costs in the earlier suit. He also maintains that the issue of Byrom’s good faith was litigated in the earlier suit and is thus barred by collateral estoppel.
We hold that neither res judicata nor collateral estoppel bars Byrom’s present suit. Res judicata does not apply unless there is identity of parties, subject matter, and issues.
Bonniwell v. Beech Aircraft Cory.,
Pendley also contends that Byrom is collaterally estopped by the prior judgment from asserting in this case that he acted in good faith in drilling and operating the well. We disagree. The prior trial court’s determination that Byrom was not a bona fide purchaser of the disputed leasehold because he was aware of Pendley’s competing claim is unrelated to any issue raised by Byrom’s present suit for costs. We therefore reject Pendley’s argument that the instant suit is barred either by res judicata or collateral estoppel.
In view of our holding, we reverse the judgment of the court of appeals that By-rom was a trespasser as to Pendley’s interest as a matter of law; hold that Byrom is neither barred nor estopped from asserting this cause of action; and, remand to the appeals court Pendley’s point of error challenging the sufficiency of the evidence to support the amount of the trial court’s judgment.
Notes
. The trial court also rendered judgment for the nonoperating ‘‘investor" working interest owners, also named as plaintiffs. They are: Leon C. Thompson, Jack Sherman, Pat Agnew, and New Mexico Bank & Trust Company, Trustee for W.K. Byrom and Frankie M. Byrom. For convenience, all plaintiffs will be referred to as ‘‘Byrom.’’
. The Permian Corporation and EPX Company were also named as defendants because they were holding in escrow the proceeds attributable to Pendley’s one-half leasehold interest. Permian and EPX did not participate in the trial or in this appeal.
