-In March 1962 plaintiff contracted to purchase real and personal property from defendant for $135,000. He paid $25,000 down and agreed to pay $845 per month until the total price was paid. Plaintiff made the monthly payments until February 1963. He then brought this action to rescind the contract for material misrepresentation of fact and to recover what he had paid. Defendant answered and cross-complained. It denied that plaintiff was entitled to rescission and sought to establish and foreclose a vendor’s lien, to recover damages, and to quiet title. The trial court found that there was no basis for rescission and that plaintiff was in *803 default. It entered judgment quieting title in defendant on condition that it pay to plaintiff $16,575, the sum found to be the difference between the $33,450 plaintiff paid under the contract and the rental value of the property while it was in plaintiff’s possession. Defendant appeals, contending that the trial court erred in requiring it to refund any of the payments.
Even a wilfully defaulting vendee may recover the excess of his part payments over the damages caused by his breach.
(Freedman
v.
The Rector,
The rule of the
Freedman
case precludes penalties and forfeitures by denying the vendor the right on the vendee’s default to retain both the property and any payments that have been made in excess of the actual damages caused by the default. The
Freedman
case, however, did not restrict the right of a vendor to realize the benefit of his bargain. (See
Baffa
v.
Johnson,
By seeking to quiet title, defendant has not elected to rescind the contract.
(Barkis
v.
Scott,
Amicus curiae urges that the remedies for breaches of land-sale contracts should be reconsidered in the light of the distinct purposes such contracts serve. He points out that remedies that are appropriate for the breach of a buy-sell or marketing contract may not be appropriate for the breach of an installment contract entered into primarily as a security device. Since rules precluding forfeitures and anti-deficiency legislation have put the latter type of contracts substantially on a par in many respects with mortgages and deeds of trust, amicus curiae suggests that the law governing those security devices should be adopted with appropriate modifications in determining the remedies for breaches of installment contracts. On the vendee’s breach, neither the vendee nor the vendor would have an election to rescind the contract, on the ground that rescission in effect converts a debt secured by the property into a lease of the property, a result not contemplated by either of the parties. In his view, the appropriate remedy is a judicial sale of the property, which will afford the vendor the benefit of his bargain to the extent not precluded by the prohibition against deficiency judgments (Code Civ. Proc., § 580b) and return to the vendee any excess of his part payments over the damages caused by his breach.
*805 In the present case, however, the vendor is not seeking to rescind the contract, and neither party seeks a judicial sale of the property to fix damages. Under these circumstances it is unnecessary to consider possible alternatives to the remedy recognized in the Barkis, Baffa, and Freedman cases of quieting the vendor’s title on condition that he refund the excess, if any, of the payments received over the amount necessary to give him the benefit of his bargain.
Although the trial court found that the fair market value of the property was $90,000 at the time of the trial, we cannot conclude that defendant’s damages exceeded plaintiff’s payments and that plaintiff is therefore entitled to no recovery. Under section 3307 the value of the property to the seller is ordinarily the market value of the property at the date of the breach.
(Royer
v.
Carter,
No error appears except in the trial court’s determination of the issue of damages. Accordingly, the judgment is reversed with directions to retry the issue of damages only and to enter the appropriate judgment.
Respondent’s petition for a rehearing was denied August 17, 1966.
Notes
(1 The detriment caused by the breach of an agreement to purchase an estate in real property, is deemed to be the excess, if any, of the amount which would have been due to the seller, under the contract, over the value of the property to him.” The value of the property to the seller is ordinarily the fair market value of the property at the time of the breach.
(Royer
v.
Carter,
