Federal statutes · Title 18

18 U.S.C. § 3585

Calculation of a term of imprisonment

This is the federal statute text published at uscode.house.gov, retrieved July 23, 2026. It is reproduced as written; Criminal.law has not summarized or reworded it. Read it at the official source, which controls if the two differ.

This link opens the publisher’s current page, which may differ from the text retrieved here. Recorded source address (may no longer open).

(a) Commencement of Sentence .-A sentence to a term of imprisonment commences on the date the defendant is received in custody awaiting transportation to, or arrives voluntarily to commence service of sentence at, the official detention facility at which the sentence is to be served.

(b) Credit for Prior Custody .-A defendant shall be given credit toward the service of a term of imprisonment for any time he has spent in official detention prior to the date the sentence commences-

(1) as a result of the offense for which the sentence was imposed; or

(2) as a result of any other charge for which the defendant was arrested after the commission of the offense for which the sentence was imposed;

that has not been credited against another sentence.

Notes and history from the source

Source credits, editorial notes and statutory notes retained from the official source. Read alongside the section text.

Source credit

(Added Pub. L. 98–473, title II, §212(a)(2), Oct. 12, 1984, 98 Stat. 2001 .)

Statutory Notes and Related Subsidiaries

Effective Date

Section effective Nov. 1, 1987, and applicable only to offenses committed after the taking effect of this section, see section 235(a)(1) of Pub. L. 98–473, set out as a note under section 3551 of this title .

Reading a statute is the first step

A statute says what the law is, not how it applies to one person. The Roadmap lays out the stages of a case and the questions worth taking to a lawyer — without asking what happened.