Leopold Hofmann (also Ludwig Hoffman, Leopold Hoffman, Leopold Hoffmann) was an Austrian composer of classical music.
Hofmann was the son of a highly-educated civil servant, and at the age of seven became a chorister in the chapel of the Empress Elisabeth Christine, where his choral director and teacher was very likely František Tůma. He was also a student later on of Georg Christoph Wagenseil and Giuseppe Trani (violin). His studies included at various points violin, harpsichord and composition. In 1758 Hofmann secured what may have been his first appointment, as "musicus" at St. Michael's. He is known to have become choral director at St. Peter's Church in 1764 and, in 1766, kapellmeister. In 1769 he became a teacher to the royal family.
The position of Kapellmeister at the Cathedral of St. Stephan, a post he acquired in 1772, was among his next responsibilities. At this time he declined the directorship of the Imperial Chapel, but did apply there two years later in 1774, failing in his application. (Giuseppe Bonno became director of the Imperial Chapel instead, which had become open upon the death of Florian Leopold Gassmann.) On the 9th of May 1791, at his own request, Mozart was appointed assistant-Kapellmeister to Hofmann, an unpaid position. At the time Hofmann was ill and Mozart anticipated becoming Kapellmeister upon Hofmann's death. However, Hofmann survived Mozart and kept his post as Cathedral Kapellmeister until he died.