Va. Code Ann. § 8.01-662 (2026)
Judgment of court or judge trying it; payment of costs and expenses when petition denied
Edition and currency
Other sources
Courts have cited this section in 8 opinions since 1983.
After hearing the matter both upon the response and any other evidence, the court shall either discharge or remand the petitioner, grant him any other relief to which he is entitled, or admit him to bail and adjudge the cost of the proceeding, including the charge for transporting the prisoner, provided, however, that if the petition is denied, the costs and expenses of the proceeding and the attorney fees of any attorney appointed to represent the petitioner shall be assessed against the petitioner. If such cost, expenses, and fees are collected, they shall be paid to the Commonwealth.
When relief is granted upon a petition for a writ of habeas corpus, the order granting relief on the writ shall be served on the respondent and the petitioner. Service may, in the court's discretion, be accomplished by personal service or by transmitting a certified copy of the order to the parties via regular or certified mail, a third-party commercial carrier, or electronic delivery.
Code 1950, § 8-603; 1968, c. 482; 1977, c. 617; 2019, cc. 8, 48.
- Where it cites § 8.01-662
- “The Supreme Court rejected an interpretation of Code § 8.01-662 requiring that the petitioner still be under detention in order to seek relief from an allegedly unlawful conviction.”
- The case’s holding
- A trial court loses jurisdiction to modify a felony sentence under Code § 19.2-303 once the defendant is transferred to the Department of Corrections.
- Later courts cite it for
- “expiration of the twenty-one day time limitation divests the trial court of jurisdiction.” · 12 citing courts
- Where it cites § 8.01-662
- “01-660) or a plenary hearing when necessary (Code § 8.01-662), the parties can produce a complete record, one that will permit an intelligent disposition of the habeas petition both in the trial court and on appeal.”
- The case’s holding
- The nature of an illegal substance may be proven by circumstantial evidence, including testimony from users who have demonstrated familiarity through previous use.
- Later courts cite it for
- “after previous use has been demonstrated” · 2 citing courts
- Where it cites § 8.01-662
- “01-660) or a plenary hearing when necessary (Code § 8.01-662), the parties can produce a complete record, one that will permit an intelligent disposition of the habeas petition both in the trial court and on appeal.”
- The case’s holding
- An assignment of error must identify the specific error committed by the trial court because the scope of appellate review is limited by the errors assigned.
- Later courts cite it for
- “this assignment of error only challenges the alleged procedural failure to order an eviden-tiary hearing; it does not challenge, with reasonable certainty, the habeas court's substantive ruling on the merits of the ineffective assistance claims.” · 2 citing courts
- Where it cites § 8.01-662
- “These findings and conclusions should address not only the grounds asserted in support of the writ but also the scope of the writ in the event the court awards relief under Code § 8.01-662. 7 III. In sum, we reverse the circuit court's summary dismissal of Smith's habeas corpus…”
- Later courts cite it for
- “does not imply, much less require, that a habeas court should simply accept at face value a petitioner's after-the-fact allegation on this issue.” · 2 citing courts
- Where it cites § 8.01-662
- “01-660) or a plenary hearing when necessary (Code § 8.01-662), the parties can produce a complete record, one that will permit an intelligent disposition of the habeas petition both in the trial court and on appeal.”
- The case’s holding
- Claims of ineffective assistance of counsel are restricted to habeas corpus proceedings and may be barred by laches if undue delay prejudices the Commonwealth.
- Later courts cite it for
- “in the interests of both the commonwealth and the accused, the ends of justice dictate the adoption of a rule restricting to habeas corpus proceedings the litigation of claims of ineffective assistance of counsel.” · 3 citing courts
- Where it cites § 8.01-662
- “01-660) or a plenary hearing when necessary (Code § 8.01-662), the parties can produce a complete record, one that will permit an intelligent disposition of the habeas petition both in the trial court and on appeal.”
- Where it cites § 8.01-662
- “Code § 8.01-662 provides that the “court before whom the petitioner is brought shall either discharge or remand him, or admit him to bail .”
- The case’s holding
- A habeas corpus petition is not moot if the petitioner continues to suffer a concrete and continuing injury that is a collateral consequence of the conviction.
- Later courts cite it for
- “when a petitioner challenging the legality of his conviction continues to suffer a concrete and continuing injury, which is a collateral consequence of the conviction, a case or controversy remains and release from the sentence imposed does not render the case moot.” · 6 citing courts
- Where it cites § 8.01-662
- “” Va. Code § 8.01-662. Further, in Carroll v.”
The flag is Syfertize’s treatment of the citing case itself, not of the statute. “Where it cites” is the passage in the opinion; the holding is a summary of the whole case and may concern another point. Annotations are extracted automatically from the opinions in the Syfert caselaw corpus.
One bar per year. Tallest: 2 cases in 2013. These are opinions in the Syfert collection, which holds more of some courts’ recent opinions than their older ones, so a rise can reflect what the collection holds and not more litigation.
Courts have not cited this section by subsection, so its cases are not split up here. The Leading cases tab lists the cases that cite it most heavily.
Syfert holds no separate history line for this section. Where this code prints a source or history note, it appears with the text, usually at the end.
Edition shown: laws through the 2026 session (checked Sept. 2026). Syfert holds no earlier or later version of this section.