Pecz studied at a number of universities both at home and abroad in Stuttgart. He later studied at the Vienna Academy of Fine Arts under the Danish architect Theophil Hansen, the builder of the Parliament, Musikverein and Stock Exchange buildings in Vienna.
After returning to Budapest he worked with Frigyes Schulek on the Matthias Church in Buda and later in the offices of Alajos Hauszmann. At this time he familiarised himself with gothic architecture, particularly in church design. Later, Pecz worked in the technical university under Schulek and Imre Steindl and became a lecturer is 1887. He was 34 years old when he became the dean of the building faculty which he continued to be until his death. He designed numerous buildings in the historicist tradition, often employing Zsolnay tiles to rich effect.
- Dévaváya: Reformed Church
- Debrecen: Reformed Church on Kossuth Street
- Nagyvárad (now Oradea, Romania): Lutheran church
- Kolozsvár (now Cluj-Napoca, Romania): Széky Palace
- District V: Unitarian Church and apartments on Nagy Ignác Street
- District IX: Great Market Hall on Fővám Square
- District I: National Archives building in Buda Castle
- District I: Reformed Church on Szilágyi Dezső Square
- District VII: Fasori Lutheran Church and Boys' gymnasium
- District XI: Technical University Library on Budafoki Street
- District VIII: "Gólyavár" on Muzeum blvd.
- District IX: Tenement house on Nagyvárad Square
- Introduction to Greek stonework (A görög kőszerkezetek ismertetése) (Budapest, 1886)
- On the development of ancient Christian architecture(Az ókeresztény templom-építészet fejlődése0 (Budapest, 1886)
- On the building of Protestant churches (A protestáns templomok építéséről) (Budapest, 1888)
|Wikimedia Commons has media related to Samu Pecz.|