delivered the opinion of the Court,
in which, KELLER, P.J., and KEASLER, HERVEY, and HOLCOMB, JJ., joined.This case presents the question of whether a plea-bargaining defendant may appeal the voluntariness of the plea. We hold that such an appeal was forbidden by an act of the legislature in 1977, and that our rules do not, and may not, allow such an appeal.
On July 16,1998, the appellant waived in writing his right to trial by jury and pleaded nolo contendere to an indictment for forgery, a felony. There was a plea-bargain agreement by which the State agreed to recommend punishment of “one year confinement in the state jail facility with credit for 351 days, no fine, and restitution in the amount of ... approximately $37,-000.00.”1 The court sentenced the appellant according to the terms of that agreement. The appellant was admonished orally, and agreed in writing, that he could not appeal without the permission of the trial court except as to matters raised by written motion filed prior to trial. He filed a written waiver of his right to appeal.
Twelve days later the appellant filed, pro se, a handwritten notice of appeal, which said only that he “files this his notice of appeal.” On August 11, represented by counsel, he requested permission to *78appeal, which was denied the following day. He immediately filed an amended notice of appeal which said, “The substance of this appeal was raised by written motion and ruled on prior to trial.”
The appellant’s issues on appeal, however, had nothing to do with any pre-trial motions. They were whether his plea was knowing and voluntary, and whether the trial court erred in accepting the plea because the court failed to adequately admonish him about the waiver of his right to appeal.
The court of appeals dismissed the appeal for want of jurisdiction, citing its holdings in Long v. State, 980 S.W.2d 878 (Tex.App.—Fort Worth 1998, no pet.), and Villanueva v. State, 977 S.W.2d 693 (Tex.App.—Fort Worth 1998, pet. ref'd, untimely filed), that such a defendant may not challenge the voluntariness of his plea if the notice of appeal does not reflect that the trial court granted permission to appeal. Cooper v. State, No. 2-98-350-CR (Tex.App.—Fort Worth April 1, 1999) (not designated for publication).
Rule of Appellate Procedure 25.2(b) does not authorize an appeal in a case such as this. The rule reads:
(b) Form and sufficiency of notice.
(1) Notice must be given in writing and filed with the trial court clerk.
(2) Notice is sufficient if it shows the party’s desire to appeal from the judgment or other appealable order, and, if the State is the appellant, the notice complies with Code of Criminal Procedure article 44.01.
(3) But if the appeal is from a judgment rendered on the defendant’s plea of guilty or nolo contendere under Code of Criminal Procedure article 1.15, and the punishment assessed did not exceed the punishment recommended by the prosecutor and agreed to by the defendant, the notice must:
(A) specify that the appeal is for a jurisdictional defect;
(B) specify that the substance of the appeal was raised by written motion and ruled on before trial; or
(C) state that the trial court granted permission to appeal.
The appellant does not claim that Rule 25.2(b) authorizes his appeal. He relies on Flowers v. State, 935 S.W.2d 131 (Tex.Cr.App.1996), a case that was appealed under the predecessor of Rule 25.2(b), Rule 40(b)(1) of the 1986 Rules of Appellate Procedure. The Court said in Flowers:
Appellant pled guilty in accord with a plea agreement. Therefore, the issues he could appeal are governed by his compliance with Rule 40(b)(1). Since he did not comply with Rule 40(b)(1) he could not raise the issues permitted by that Rule. However, he could raise jurisdictional issues and, as we have discussed, he could raise the issue of whether his plea was voluntary. Accordingly, appellant is entitled to have the issue of the voluntary nature of his plea addressed by the Court of Appeals because its appealability is not depen-dant on following Rule 40(b)(1) requirements.
Flowers, 935 S.W.2d at 134. The courts of appeals have divided on the question of whether the holding we made in Flowers should also be made under the present Rule 25.2(b), which was adopted after Flowers was delivered.2 We granted review.
*79In limiting every appeal in a plea-bargain, felony case, Rule 25.2(b) is like the statute that was its origin. Former article 44.02 of the Code of Criminal Procedure contained no language that restricted its application.3 The proviso that was added to the statute in 1977 forbade appeal in every plea-bargained, felony case unless one of two conditions was met: the appellant had permission of the trial court, or the appeal was from a written, pre-trial motion,
ma™ thrust of the 1977 amendment was to eliminate appeals where the defendant had entered a plea of guilty or *80nolo contendere before the court as a result of a plea bargain and the punishment assessed did not exceed that agreed upon.4 The same legislature enacted another amendment to curtail the right to bail pending appeal.5 Taken together, these two acts were aimed at eliminating, or reducing, the ability of plea-bargaining defendants to delay the execution of their sentences by taking meritless appeals (known colloquially as “street” appeals which were decided by “windy” opinions).6
There is nothing in the language of the 1977 statute that suggests that the volun-tariness of a plea was exempt from the limitation on appeal. Indeed, any such exception to the' operation of the proviso would have completely frustrated the legislative purpose to eliminate meritless appeals. The only limitation on the ability of an appellant to allege that the plea was involuntary is the limit of the human imagination, which is exactly the evil that the legislation sought to eliminate.
Our conclusion that the 1977 proviso limits every appeal on every ground in a plea-bargain, felony case is bolstered by the action of the next legislature in enacting article 26.13(a)(3) of the Code of Criminal Procedure. That act required a court to admonish a defendant who was pleading guilty in a felony case of “the fact that if the punishment assessed does not exceed the punishment recommended by the prosecutor and agreed to by the defendant and his attorney, the trial court must give its permission to the defendant before he may prosecute an appeal on any matter in the case except for those matters raised by written motions filed prior to trial.”7 The evident purpose of this act was to inform the defendant of the restrictions on appeal that were imposed by the 1977 proviso, so that the defendant could take them into account before making a knowing and voluntary decision to plead guilty.8 As the legislature saw it, the restrictions of the 1977 proviso applied to any matter in the case, without limitation.
Finding that the statute was subject to an exception for appeals on voluntariness would require the most compelling reasons. No such reasons were presented in Flowers. In that case the Court relied on three precedents to conclude that the right to appeal included the right to appeal the voluntariness of a guilty plea.9 In each of *81these cases we held that the plea of guilty was involuntary when the appellant had been incorrectly assured by a trial court that appeal was possible. There is no reason to doubt the correctness of those holdings. But that is not the issue before us. The issue is whether the voluntariness of the plea may be questioned by appeal. None of the three cases addressed that issue.
When we actually consider the issue of whether voluntariness of a guilty plea may be raised on appeal from a plea-bargained, felony conviction, we find that the answer must be that it may not. The first two reasons have been set out above: The legislature forbade it in 1977, and to do so would completely frustrate the statute. Our rule-making authority does not extend to enlarging the right of appeal in this fashion. Ironically, we made that point in Flowers when we said, “Neither Rule 40(b)(1) nor this Court’s interpretation of that rule may modify or enlarge that right [to appeal].”10 The irony is that by its decision in Flowers that allows an appeal in a plea-bargained, felony case, this Court modified and enlarged the right to appeal.11
Two other reasons support the legislative decision to forbid appeals of voluntariness in such cases. One is a cost-benefit analysis. The number of plea-bargain, felony cases in which a plea was entered involuntarily is very small, compared to the large number of meritless appeals that would be authorized.
It must be remembered that the rule we are construing applies only to plea-bargained, felony cases. In a former era a defendant was expected to plead guilty (often without a lawyer) and throw himself on the mercy of the court with no assurance of the punishment to follow. The defendant’s decision to do so was first manifested in court when the plea was entered. At that time it was crucial that the court give the defendant information about the consequences of a plea of guilty so that the decision to do so could be voluntary and knowing. But the practice of plea bargaining, which was made necessary by the lack of judicial resources, shifted the crucial decision in most cases to a plea-bargain agreement that was struck between attorneys for the State and the defendant in a negotiation that took place off the record. For the felony courts of Texas this practice was recognized and regulated by statute in 1977.12 Now in a plea-bargain case the defendant knows, and has accepted before the plea is entered, the most important consequence of the plea of guilty: the upper limit on punishment.13 Even when the record shows *82that the trial court erred in admonishing a defendant before his plea is accepted, the plea will not be held involuntary on appeal if the defendant knew the punishment he was facing and the trial court followed the plea agreement.14 In a real sense, therefore, when the legislature identified cases in which the trial court followed the plea-bargain agreement, it identified cases in which the pleas were voluntary.
The number of cases in which the plea is involuntary when the trial court followed the plea agreement is therefore very small, and the number of cases in which the involuntariness would appear in an appellate record is even smaller. Experience has shown us that most cases of involuntary pleas result from circumstances that existed outside the record, such as misunderstandings, erroneous information, impaired judgment, ineffective assistance of counsel, and plea-bargains that were not followed or turn out to be impossible of performance. The legislature reasonably determined to eliminate a small number of meritorious appeals to prevent a much larger number of meritless appeals.
This decision may be seen as even more reasonable when it is remembered that meritorious claims of involuntary pleas may be raised by other procedures: motion for new trial and habeas corpus.15 These procedures are not only adequate to resolve claims of involuntary pleas, but they are superior to appeal in that the claim may be supported by information from sources broader than the appellate record.16
Flowers gave no consideration to the possibility that the legislature may have regarded challenges to voluntariness as better raised in habeas corpus than on appeal because the appellate record will often contain insufficient grounds for a fair resolution of the claim. The legisla*83ture may well have decided to render the issue unappealable but only as a means of encouraging its litigation in habeas corpus, where a new and more complete record can be developed.17
For these reasons the holding of Flowers will not be applied to our new rule for notice of appeal by a defendant in a plea-bargained, felony case. Like the 1977 statute, Rule 25.2(b) does not permit the voluntariness of the plea to be raised on appeal.
The judgment of the Second Court of Appeals is affirmed.
PRICE, J., filed a dissenting opinion, in which MEYERS, HOLLAND, and JOHNSON, JJ., joined.. Reporter's Record at 3.
. Holding that voluntariness may be appealed: Marshall v. State, 28 S.W.3d 634 (Tex. *79App.—Corpus Christi 2000, no pet.); George v. State, 20 S.W.3d 130 (Tex.App.—Houston [14th Dist.] 2000, pet. filed); Davis v. State, 7 S.W.3d 695 (Tex.App.—Houston [1st Dist.] 1999, no pet.); Guzman v. State, 993 S.W.2d 232 (Tex.App.—San Antonio 1999, pet. ref'd), cert. denied, 528 U.S. 1161, 120 S.Ct. 1174, 145 L.Ed.2d 1082 (2000); Minix v. State, 990 S.W.2d 922 (Tex.App.—Beaumont 1999, pet. ref'd); Price v. State, 989 S.W.2d 435 (Tex. App.—El Paso 1999, pet. ref'd); Vidaurri v. State, 981 S.W.2d 478 (Tex.App.—Amarillo 1999, pet.granted); Johnson v. State, 978 S.W.2d 744 (Tex.App.—Eastland, no pet.); Session v. State, 978 S.W.2d 289 (Tex.App.—Texarkana 1998, no pet.).
Holding that Flowers should be followed until the Court of Criminal Appeals decides the question: Hernandez v. State, 986 S.W.2d 817 (Tex.App.—Austin 1999, pet. ref'd).
Assuming without deciding that voluntariness may be appealed: Lowe v. State, 997 S.W.2d 670 (Tex.App.—Dallas 1999).
Holding that voluntariness may not be appealed: Long, 980 S.W.2d at 878; Elizondo v. State, 979 S.W.2d 823 (Tex.App.—Waco 1998).
. A defendant in any criminal action has the right of appeal under the rules hereinafter prescribed; provided, however, before the defendant who has been convicted upon either his plea of guilty or plea of nolo contendere before the court and the court, upon the election of the defendant, assesses punishment and the punishment does not exceed the punishment recommended by the prosecutor and agreed to by the defendant and his attorney may prosecute his appeal, he must have permission of the trial court, except on those matters which have been raised by written motion filed prior to trial.
Tex.Code Crim. Proc. art. 44.02 as amended by the Act of June 10, 1977, 65th Leg., R.S., ch. 351, § 1, 1977 Tex. Gen. Laws 940, repealed in part by Act of June 14, 1985, 69th Leg., R.S., ch. 685, §§ 1 & 4, 1985 Tex. Gen. Laws 2472 (authorizing the Court of Criminal Appeals to promulgate rules of procedure and conditionally repealing articles of the Code of Criminal Procedure).
The proviso was repealed simultaneously with the effective date of former Rule of Appellate Procedure 40(b)(1), the predecessor of Texas Rule of Appellate Procedure 25.2(b). Former Rule 40(b)(1) read:
Appeal is perfected in a criminal case by giving timely notice of appeal; except, it is unnecessary to give notice of appeal in death penalty cases. Notice of appeal shall be given in writing filed with the clerk of the trial court. Such notice shall be sufficient if it shows the desire of the defendant to appeal from the judgment or other ap-pealable order; but if the judgment is rendered upon his plea of guilty or nolo con-tendere pursuant to Article 1.15, Code of Criminal Procedure, and the punishment assessed does not exceed the punishment recommended by the prosecutor and agreed to by the defendant and his attorney, in order to prosecute an appeal for a nonjuris-dictional defect or error that occurred prior to the entry of the plea the notice shall state that the trial court granted permission to appeal or shall specify that those matters were raised by written motion and rule on before trial.
TexR.App. P 40(b)(1) (1986) (repealed 1997).
The holding of Flowers could be justified by the language of former Rule 40(b)(1), which specifically limited only appeals of a “defect or error that occurred prior to the entry of the plea.” Because the defect or error of an involuntary plea of guilty occurs at the entry of the plea, not before, the former rule did not seem to apply to an appeal of voluntariness. But, despite its language, the former rule had been construed to apply to an appeal of “any matter in the case,” regardless of whether the matters were "defects or errors that occur before or after the entiy of the plea." Lyon v. State, 872 S.W.2d 732, 736 (Tex.Cr.App.1994).
. Morris v. State, 749 S.W.2d 772, 774 (Tex.Cr.App.1986).
. Before 1977, all misdemeanants and all felons whose sentences did not exceed 15 years were entitled to bail. See Code of Criminal Procedure Act of 1965, 59th Leg., R.S., ch. 722, § 1, art. 44.04(a), 1965 Tex. Gen. Laws vol. 2, p. 317, 511. The 1977 amendment authorized trial courts to deny bail to felons whose sentences did not exceed 15 years if there was good cause to believe that they would not appear when the convictions became final or that they would commit other offenses while on bail. See Act of May 25, 1977, 65th Leg., R.S., ch. 234, § 1, 1977 Tex. Gen. Laws 636. The Act also authorized the courts to impose conditions on bail. Ibid.
. Young v. State, 8 S.W.3d 656, 665-66 (footnotes renumbered).
. See Act of June 11, 1979, 66th Leg., R.S., ch. 524, § 1, 1979 Tex. Gen. Laws 1108, 1109.
. "The constitutional key to validity of a guilty plea is that it be voluntary and intelligently made and, if upon advice of counsel, that counsel be reasonably competent and render effective assistance. The purpose and function of the mandates of article 26.13, then, are to ensure that only a constitutionally valid plea is entered and accepted by the judge of the trial court, and substantial compliance with its dictates is required.” Meyers v. State, 623 S.W.2d 397, 401-02 (Tex.Cr.App.1981) (citations omitted).
. Fuentes v. State, 688 S.W.2d 542 (Tex.Cr.App.1985); Mooney v. State, 615 S.W.2d 76 (Tex.Cr.App.1981); Wooten v. State, 612 S.W.2d 561 (Tex.Cr.App.1981).
. Flowers, 935 S.W.2d at 134 (citing Tex. Gov't Code § 22.108(a)).
. It will be noticed that former Rule of Appellate Procedure 40(b)(1) modified the 1977 statute not only by restricting it to errors that occurred before the entry of the plea; it also added a restriction to "nonjurisdictional” defects or errors. Tex.R.App. P. 40(b)(1) (1996) (repealed 1997). This restriction has been carried into the new rule. See supra p. 78. The validity of that modification is not presented in this appeal.
. The proviso in Code of Criminal Procedure article 26.13(a)(2) that requires the court to inquire into plea-bargain agreements, and that permits the plea to be withdrawn if the court rejects the agreement, was added by the Act of May 27, 1977, 65th Leg., R.S., ch. 280, 1977 Tex. Gen. Laws 748.
.Actually in most cases the precise punishment is known, because trial courts almost always follow the recommendation that was bargained for. This was true even before 1977, when article 26.13 was amended to recognize and regulate the entry of pleas that were the result of plea bargaining.
"It is no secret, however, that plea negotiations are basically honored by the courts of the State of Texas as they are throughout the United States. If the judges began not to *82honor plea negotiations and to set independent or separate sentences, the inducement to plead guilty to a particular charge would be removed and defendants would pursue their rights to trial by jury. If these rights were pursued, the additional thousands of jury trials would force the system to grind to a halt.” Robert G. Bogomolny, Criminal Prosecution and Defense, in The Impact of the Texas Constitution on the Criminal Justice System 70-71 (Allan K. Butcher et al. eds., 1973).
"In Harris County, at least, the district attorney’s office, by controlling the plea bargaining process, is able to exercise a quasi-judicial power in the area of criminal sentencing. For the most part, the sentences of felons are determined outside of court during plea negotiations, and the judges are extra legally forced to accept the great majority of these pre-arranged sentences because of the overwhelming caseload with which the courts are burdened.” James N. Johnson, Sentencing in the Criminal District Courts, 9 Hous. L.Rev. 944, 994-95 (1972).
A fortiori is it true today. In State Fiscal Year 1999, in the district courts of Texas which have jurisdiction of felony prosecutions, 96.6% of convictions were obtained by guilty pleas in which the judge assessed punishments. See Office of Court Administration, Annual Report of the Texas judicial System-Fiscal Year 1999 135 (1999) (based on deferred adjudications and judgments of conviction without a jury). This proportion of guilly pleas could not be maintained if trial courts departed from plea-bargain recommendations to any significant degree.
. See Eatmon v. State, 768 S.W.2d 310 (Tex.Cr.App.1989).
. As we said in one of the precedents on which Flowers relied, “[Sjince the plea was involuntary as a matter of constitutional law, the conviction violates due process and would be subject to collateral attack.” Mooney, supra note 11, at 778 (citations omitted).
. Cf. Thompson v. State, 9 S.W.3d 808, 813 (Tex.Cr.App.1999) ("Rarely will a reviewing court be provided with the opportunity to make its determination on direct appeal with a record capable of providing a fair evaluation of the merits of the claim involving such a serious allegation” as ineffective assistance of counsel).
. George E. Dix and Robert O. Dawson, 43 Texas Practice — Criminal Practice and Procedure § 43.84 (Supp.1999).