What is the difference between pretrial detention and a prison sentence in Egypt, and how long can pretrial detention last?
Pretrial detention is a temporary measure ordered by the prosecution or a judge while a case is pending and before judgment, and the accused remains presumed innocent throughout. A prison sentence can only be imposed by a court judgment that convicts the accused and sets the term. Pretrial detention has a ceiling that cannot be exceeded, which depends on the type of offence (misdemeanour, felony, or felony punishable by life imprisonment or death), and it is governed by the new Code of Criminal Procedure, Law No. 174 of 2025, in force since 1 October 2026.
What exactly is the difference?
| Point | Pretrial detention | Prison sentence |
|---|---|---|
| Nature | Temporary precautionary investigative measure | Criminal penalty |
| Ordered by | Public Prosecution, a judge or the court while the case is pending | The court, in a conviction |
| Status of the person | Presumed innocent | Convicted |
| Length | Renewed periodically, with a ceiling by offence type | Set by the judgment within the statutory range |
| Alternatives | Release on bail or under an alternative measure | Suspended sentence or parole where applicable |
Why can someone be detained before any judgment?
Pretrial detention exists to protect the investigation, not to punish: for example where there is a risk of flight, of pressure on witnesses or tampering with evidence, or a threat to public security. It is meant to be the exception, with alternatives used whenever they are enough.
The Public Prosecution may extend detention for periods of up to fifteen days each, to a total of forty-five days (Article 121), after which the matter goes before the competent judge.
What is the maximum length of pretrial detention?
Article 124 of Law No. 174 of 2025 provides that pretrial detention during the preliminary investigation may not exceed one third of the maximum penalty prescribed for the offence, and in any event may not exceed:
- four months for misdemeanours;
- twelve months for felonies;
- eighteen months where the prescribed penalty is life imprisonment or death.
For felonies, detention beyond five months requires an order from the competent court. The verbatim wording should be checked against the Official Gazette [needs verification].
Press reports on the new Code also say the case file is referred to the Public Prosecutor every three months of detention, or since the last review, to assess whether detention should continue {VE}.
Is time in pretrial detention deducted from the sentence?
Yes. The sentence runs from the day of arrest and is reduced by the time spent in pretrial detention (Article 455). If the accused is acquitted of the offence for which they were detained, the time is deducted from the sentence for any other offence of which they are convicted (Article 456), starting with the lighter penalty where there are several (Article 457). Where the penalty is a fine, EGP 50 is deducted for each day of pretrial detention (Article 468). If the time already spent in detention equals or exceeds the sentence imposed, the accused is released immediately (Article 438).
Compensation for pretrial detention is limited to the cases in Article 528: where the offence is punishable by a fine or by imprisonment of less than one year and the accused has a fixed address; where a decision not to prosecute is issued because the facts are untrue; or where the accused is acquitted because the act is not punishable or the facts are untrue.
What should I do if a relative is in pretrial detention?
- Track the renewal hearing dates and make sure a lawyer attends each one.
- Provide proof of residence, employment, health and family circumstances with the release application.
- Count the time already served; reaching the ceiling requires release under the law.
- If it is a drug case, see also: Can a defendant in a drug case be released?
Specialist legal opinion
Under the new Code, pretrial detention is narrower in its periods and broader in its alternatives, which gives the defence more room at renewal hearings: asking for an alternative measure instead of custody, relying on the expiry of the ceiling, and arguing that the grounds for detention no longer exist once the investigation is complete. How these rules apply to cases that began before 1 October 2026 depends on the Code's transitional provisions, which need to be reviewed [needs verification].
Sources reviewed for the data in this article
- Manshurat, in Arabic: text of the Code of Criminal Procedure, Law No. 174 of 2025
- Manshurat: record of the Code of Criminal Procedure, Law No. 174 of 2025 (issued and published 12 November 2025; in force from 1 October 2026) — document metadata only; the article texts were not available to us from this source
- Maspero (13 January 2025), in Arabic: press report on the House of Representatives approving Article 123 of the draft Code on pretrial detention periods — a press source covering the draft stage
- Parlmany (26 September 2026), in Arabic: press report on changes under the new Code (alternatives to pretrial detention; periodic review by the Public Prosecutor)
Frequently asked questions
What is the difference between pretrial detention and a prison sentence?
Pretrial detention is a temporary measure during investigation or trial while the person is presumed innocent; a prison sentence follows a conviction.
What is the maximum length of pretrial detention in Egypt?
Under Article 124 of Law No. 174 of 2025: one third of the maximum penalty, capped at four months for misdemeanours, twelve months for felonies and eighteen months where the penalty is life imprisonment or death, during the preliminary investigation.
Is pretrial detention deducted from the sentence?
Yes. The sentence is reduced by the time spent in pretrial detention (Article 455), and after an acquittal the time is deducted from the sentence for another offence (Article 456).
Can someone be released before the ceiling is reached?
Yes, at any renewal hearing, on bail, under an alternative measure or unconditionally, if the competent authority so decides.
When did the new Code of Criminal Procedure take effect?
Law No. 174 of 2025 was issued and published on 12 November 2025 and has been in force since 1 October 2026.
If you have a problem and are not sure whether it falls under the subject of this article, you can consult a specialist lawyer by booking a consultation on our website.
Related articles
- Release in drug cases
- Drug use penalties in Egyptian law
- Possession for use vs. for trafficking
- Drug trafficking and smuggling penalties
Related services
If you are a party to a similar problem, do not face it alone; contact our firm or pay us a visit, so that we may place our experience at your service and handle your case with the care and precision it deserves.
Book a consultationIf you have worked with our firm, we would be glad if you rated your experience on Google: Rate us on Google
This article is general information for legal awareness and does not replace legal advice on your particular situation.
