{"formats":[{"name":"JSON","format":"json","url":"\/downloads\/2025\/code-json\/53.1-187.json"},{"name":"Plain Text","format":"text","url":"\/downloads\/2025\/code-text\/53.1-187.txt"},{"name":"XML","format":"xml","url":"\/downloads\/2025\/code-xml\/53.1-187.xml"},{"name":"HTML","format":"html","url":"\/downloads\/2025\/code-html\/53.1-187.html"}],"law_id":62482,"edition_id":1,"section_id":62482,"structure_id":15926,"section_number":"53.1-187","catch_line":"Credit for time spent in confinement while awaiting trial","history":"Code 1950, \u00a7 53-208; 1968, c. 105; 1970, c. 648; 1982, c. 636; 1984, c. 313; 1994, 2nd Sp. Sess., cc. 1, 2; 2022, c. 399.","full_text":"Any person who is sentenced to a term of confinement in a correctional facility shall have deducted from any such term all time actually spent by the person in a state hospital for examination purposes or treatment prior to trial, in a state or local correctional facility awaiting trial or pending an appeal, or in a juvenile detention facility awaiting trial for an offense for which, upon conviction, such juvenile is sentenced to an adult correctional facility. Such credit for time shall include any time spent in pretrial confinement or detention on separate, dismissed, or nolle prosequi charges that are from the same act as the violation for which the person is convicted and sentenced to a term of confinement. When entering the final order in any such case, the court shall provide that the person so convicted be given credit for the time so spent.\n\t\tIn no case shall a person be allowed credit for time not actually spent in confinement or in detention. In no case is a person on bail to be regarded as in confinement for the purposes of this statute. No such credit shall be given to any person who escapes from a state or local correctional facility or is absent without leave from a juvenile detention facility.\n\t\tAny person sentenced to confinement in a correctional facility, in whose case the final order entered by the court in which he was convicted fails to provide for the credit authorized by this section, shall nevertheless receive credit for the time so spent in a correctional facility. Such allowance of credit shall be in addition to the good conduct allowance provided for in \u00a7\u00a7 53.1-116 and 53.1-129, Articles 2 (\u00a7 53.1-192 et seq.) and 3 (\u00a7 53.1-198 et seq.) or the earned sentence credits provided for in Article 4 (\u00a7 53.1-202.2 et seq.).","order_by":null,"text":{"0":{"id":227883,"text":"Any person who is sentenced to a term of confinement in a correctional facility shall have deducted from any such term all time actually spent by the person in a state hospital for examination purposes or treatment prior to trial, in a state or local correctional facility awaiting trial or pending an appeal, or in a juvenile detention facility awaiting trial for an offense for which, upon conviction, such juvenile is sentenced to an adult correctional facility. Such credit for time shall include any time spent in pretrial confinement or detention on separate, dismissed, or nolle prosequi charges that are from the same act as the violation for which the person is convicted and sentenced to a term of confinement. When entering the final order in any such case, the court shall provide that the person so convicted be given credit for the time so spent.\n\t\tIn no case shall a person be allowed credit for time not actually spent in confinement or in detention. In no case is a person on bail to be regarded as in confinement for the purposes of this statute. No such credit shall be given to any person who escapes from a state or local correctional facility or is absent without leave from a juvenile detention facility.\n\t\tAny person sentenced to confinement in a correctional facility, in whose case the final order entered by the court in which he was convicted fails to provide for the credit authorized by this section, shall nevertheless receive credit for the time so spent in a correctional facility. Such allowance of credit shall be in addition to the good conduct allowance provided for in \u00a7\u00a7 53.1-116 and 53.1-129, Articles 2 (\u00a7 53.1-192 et seq.) and 3 (\u00a7 53.1-198 et seq.) or the earned sentence credits provided for in Article 4 (\u00a7 53.1-202.2 et seq.).","type":"section","prefixes":[""],"prefix":"","entire_prefix":"","prefix_anchor":"","level":1}},"ancestry":[{"id":15926,"edition_id":1,"name":"General Provisions","identifier":"1","label":"article","depth":3,"order_by":1,"parent_id":14729,"metadata":{},"date_created":"2026-06-26 04:02:05","date_modified":"2026-06-26 04:02:05","permalink":{"id":239143,"object_type":"structure","relational_id":15926,"identifier":"1","token":"53.1\/6\/1","url":"\/53.1\/6\/1\/","edition_id":1,"permalink":0,"preferred":1}},{"id":14729,"edition_id":1,"name":"Commencement of Terms; Credits and Allowances","identifier":"6","label":"chapter","depth":2,"order_by":1,"parent_id":12717,"metadata":{},"date_created":"2026-06-26 03:49:34","date_modified":"2026-06-26 03:49:34","permalink":{"id":239141,"object_type":"structure","relational_id":14729,"identifier":"6","token":"53.1\/6","url":"\/53.1\/6\/","edition_id":1,"permalink":0,"preferred":1}},{"id":12717,"edition_id":1,"name":"Prisons and Other Methods of Correction","identifier":"53.1","label":"title","depth":1,"order_by":1,"parent_id":null,"metadata":{},"date_created":"2026-06-26 03:43:49","date_modified":"2026-06-26 03:43:49","permalink":{"id":237591,"object_type":"structure","relational_id":12717,"identifier":"53.1","token":"53.1","url":"\/53.1\/","edition_id":1,"permalink":0,"preferred":1}}],"structure_contents":[{"id":61861,"structure_id":15926,"section_number":"53.1-186","catch_line":"Term commences from date of final judgment; exceptions","url":"\/53.1-186\/","token":"53.1\/6\/1\/53.1-186","metadata":false},{"id":62482,"structure_id":15926,"section_number":"53.1-187","catch_line":"Credit for time spent in confinement while awaiting trial","url":"\/53.1-187\/","token":"53.1\/6\/1\/53.1-187","metadata":false},{"id":67795,"structure_id":15926,"section_number":"53.1-188","catch_line":"Conduct records to be kept","url":"\/53.1-188\/","token":"53.1\/6\/1\/53.1-188","metadata":false},{"id":80912,"structure_id":15926,"section_number":"53.1-189","catch_line":"Forfeiture and restoration of good conduct allowance and earned sentence credits","url":"\/53.1-189\/","token":"53.1\/6\/1\/53.1-189","metadata":false},{"id":79831,"structure_id":15926,"section_number":"53.1-190","catch_line":"Allowance on discharge; transportation; clothing","url":"\/53.1-190\/","token":"53.1\/6\/1\/53.1-190","metadata":false},{"id":72423,"structure_id":15926,"section_number":"53.1-191","catch_line":"Credits allowed in cases of injuries to or extraordinary services performed by prisoners; nonforfeiture of credits hereunder","url":"\/53.1-191\/","token":"53.1\/6\/1\/53.1-191","metadata":false}],"previous_section":{"id":61861,"structure_id":15926,"section_number":"53.1-186","catch_line":"Term commences from date of final judgment; exceptions","url":"\/53.1-186\/","token":"53.1\/6\/1\/53.1-186","metadata":false},"next_section":{"id":67795,"structure_id":15926,"section_number":"53.1-188","catch_line":"Conduct records to be kept","url":"\/53.1-188\/","token":"53.1\/6\/1\/53.1-188","metadata":false},"metadata":false,"official_url":"https:\/\/law.lis.virginia.gov\/vacode\/53.1-187\/","history_text":"<p>The record of this law\u2019s original creation isn\u2019t available online. It has been modified 5 times. Those modifications are cataloged by \u201cThe Acts of Assembly,\u201d a state publication, by year and chapter. Those modifications that can be read on the General Assembly\u2019s website will be linked accordingly. Those modifications are as follows: in 1968, chapter 105; in 1970, chapter 648; in 1982, chapter 636; in 1984, chapter 313; in 2022, chapter <a href=\"https:\/\/legacylis.virginia.gov\/cgi-bin\/legp604.exe?221+ful+CHAP0399\">399<\/a>.<\/p>","references":[{"id":72348,"section_number":"53.1-67","catch_line":"Admission to facility; good conduct allowance restricted","order_by":null,"url":"\/53.1-67\/"}],"refers_to":[{"id":66213,"section_number":"53.1-116","catch_line":"What records and policy jailer shall keep; how time deducted or added for felons and misdemeanants; payment of fine and costs by person committed to jail until he pays","order_by":null,"url":"\/53.1-116\/"},{"id":66959,"section_number":"53.1-129","catch_line":"Order permitting prisoners to work on state, county, city, town, certain private property or nonprofit organization property; bond of person in charge of prisoners","order_by":null,"url":"\/53.1-129\/"},{"id":74282,"section_number":"53.1-192","catch_line":"Applicability of article","order_by":null,"url":"\/53.1-192\/"},{"id":74944,"section_number":"53.1-198","catch_line":"Certain persons to choose good conduct system","order_by":null,"url":"\/53.1-198\/"},{"id":56687,"section_number":"53.1-202.2","catch_line":"Eligibility for earned sentence credits","order_by":null,"url":"\/53.1-202.2\/"}],"permalink":{"id":239149,"object_type":"law","relational_id":62482,"identifier":"53.1-187","token":"53.1\/6\/1\/53.1-187","url":"\/53.1-187\/","edition_id":1,"permalink":0,"preferred":1},"url":"\/53.1-187\/","token":"53.1\/6\/1\/53.1-187","dublin_core":{"Title":"Credit for time spent in confinement while awaiting trial","Type":"Text","Format":"text\/html","Identifier":"\u00a7 53.1-187","Relation":"Code of Virginia"},"html":"\n\t\t\t\t\t\t<section><p>Any person who is sentenced to a term of confinement in a correctional facility shall have deducted from any such term all time actually spent by the person in a state hospital for examination purposes or treatment prior to <span class=\"dictionary\">trial<\/span>, in a state or <span class=\"dictionary\">local correctional facility<\/span> awaiting <span class=\"dictionary\">trial<\/span> or pending an <span class=\"dictionary\">appeal<\/span>, or in a juvenile detention facility awaiting <span class=\"dictionary\">trial<\/span> for an <span class=\"dictionary\">offense<\/span> for which, upon <span class=\"dictionary\">conviction<\/span>, such juvenile is sentenced to an adult correctional facility. Such credit for time shall include any time spent in pretrial confinement or detention on separate, dismissed, or <span class=\"dictionary\">nolle prosequi<\/span> charges that are from the same act as the violation for which the person is convicted and sentenced to a term of confinement. When entering the <span class=\"dictionary\">final order<\/span> in any such case, the <span class=\"dictionary\">court<\/span> shall provide that the person so convicted be given credit for the time so spent.\n\t\tIn no case shall a person be allowed credit for time not actually spent in confinement or in detention. In no case is a person on <span class=\"dictionary\">bail<\/span> to be regarded as in confinement for the purposes of this <span class=\"dictionary\">statute<\/span>. No such credit shall be given to any person who escapes from a state or <span class=\"dictionary\">local correctional facility<\/span> or is absent without leave from a juvenile detention facility.\n\t\tAny person sentenced to confinement in a correctional facility, in whose case the <span class=\"dictionary\">final order<\/span> entered by the <span class=\"dictionary\">court<\/span> in which he was convicted fails to provide for the credit authorized by this section, shall nevertheless receive credit for the time so spent in a correctional facility. Such allowance of credit shall be in addition to the good conduct allowance provided for in \u00a7\u00a7&nbsp;<a class=\"law\" title=\"What records and policy jailer shall keep; how time deducted or added for felons and misdemeanants; payment of fine and costs by person committed to jail until he pays\" href=\"\/53.1-116\/\">53.1-116<\/a> and <a class=\"law\" title=\"Order permitting prisoners to work on state, county, city, town, certain private property or nonprofit organization property; bond of person in charge of prisoners\" href=\"\/53.1-129\/\">53.1-129<\/a>, Articles 2 (\u00a7&nbsp;<a class=\"law\" title=\"Applicability of article\" href=\"\/53.1-192\/\">53.1-192<\/a> et seq.) and 3 (\u00a7&nbsp;<a class=\"law\" title=\"Certain persons to choose good conduct system\" href=\"\/53.1-198\/\">53.1-198<\/a> et seq.) or the earned sentence credits provided for in Article 4 (\u00a7&nbsp;<a class=\"law\" title=\"Eligibility for earned sentence credits\" href=\"\/53.1-202.2\/\">53.1-202.2<\/a> et seq.).<\/p><\/section>","plain_text":"                                 CODE OF VIRGINIA\n\nCREDIT FOR TIME SPENT IN CONFINEMENT WHILE AWAITING TRIAL (\u00a7 53.1-187)\n\nAny person who is sentenced to a term of confinement in a correctional facility\nshall have deducted from any such term all time actually spent by the person in\na state hospital for examination purposes or treatment prior to trial, in a\nstate or local correctional facility awaiting trial or pending an appeal, or in\na juvenile detention facility awaiting trial for an offense for which, upon\nconviction, such juvenile is sentenced to an adult correctional facility. Such\ncredit for time shall include any time spent in pretrial confinement or\ndetention on separate, dismissed, or nolle prosequi charges that are from the\nsame act as the violation for which the person is convicted and sentenced to a\nterm of confinement. When entering the final order in any such case, the court\nshall provide that the person so convicted be given credit for the time so\nspent.\n\t\tIn no case shall a person be allowed credit for time not actually spent in\nconfinement or in detention. In no case is a person on bail to be regarded as in\nconfinement for the purposes of this statute. No such credit shall be given to\nany person who escapes from a state or local correctional facility or is absent\nwithout leave from a juvenile detention facility.\n\t\tAny person sentenced to confinement in a correctional facility, in whose case\nthe final order entered by the court in which he was convicted fails to provide\nfor the credit authorized by this section, shall nevertheless receive credit for\nthe time so spent in a correctional facility. Such allowance of credit shall be\nin addition to the good conduct allowance provided for in \u00a7\u00a7 53.1-116 and\n53.1-129, Articles 2 (\u00a7 53.1-192 et seq.) and 3 (\u00a7 53.1-198 et seq.) or the\nearned sentence credits provided for in Article 4 (\u00a7 53.1-202.2 et seq.).\n\nHISTORY: Code 1950, \u00a7 53-208; 1968, c. 105; 1970, c. 648; 1982, c. 636; 1984,\nc. 313; 1994, 2nd Sp. Sess., cc. 1, 2; 2022, c. 399.","edition":{"id":1,"name":"2025","slug":"2025","date_created":"2026-06-21 22:39:22","date_modified":"2026-06-21 22:39:22","current":1,"order_by":1,"last_import":null}}