He studied medicine in Prague, and performed post-graduate studies in Vienna with Joseph Hyrtl (1810–1894). Subsequently, he practiced medicine at the Jagellonian University in Krakow, returning to Prague in 1855, where he became a professor and director of the institute of pathological anatomy.
Throughout his career, Treitz was a figure in the struggle for Czech nationalism. In 1872, at the age of 52, he committed suicide by ingesting potassium cyanide.
Treitz is remembered for his 1853 description of the suspensory muscle of the duodenum (musculus suspensorius duodeni), later being named the "ligament of Treitz" (also known as Treitz muscle). This ligament is a fibrous structure by which the duodenojejunal junction is fixed to the right crus of the diaphragm. His name is attached to several other anatomical terms:
- "Angle of Treitz": Sharp curve at the duodenojejenal junction.
- "Treitz arch": (plica paraduodenalis or paraduodenal fold): A sickle-shaped fold of peritoneum that forms the anterior boundary of the paraduodenal recess.
- "Treitz fascia": Fascia behind the head of the pancreas.
- "Treitz fossa": Subcaecal fossa, a depression in the peritoneum extending posterior to the caecum.
- "Treitz hernia": A duodenojejunal hernia; a hernia in the subperitoneal tissues.
- Biographical information based on a translation of the equivalent article from the German Wikipedia, including:
- Zdeněk Václav Tobolka & Václav Žáček (1952): Slovanský sjezd v Praze 1848: Sbírka dokumentú, Vol. 1. Slovanský Ústav, p. 337.
-  Review of Treitz's Muscles and their Implications in a Hemorrhoidectomy and Hemorrhoidopexy
- Merriam Webster ligament of Treitz
- Medical Dictionary Angle of Treitz
- Medilexicon (definition of eponyms)
- Medical definition (eponyms)