Josef Hafner (22 May 1799 in Enns – 10 April 1891 in Linz) was an Austrian painter and color lithographer.
When he was old enough, his father allowed him to attend the Academy of Fine Arts in Vienna, where he won several awards.
At first, he found it necessary to give private drawing lessons to maintain the institute, but it was eventually successful and would remain in business for thirty-six years, until photography became more popular.
He created over 180 views of Upper Austria, Salzburg, and Styria, as well as 200 of Linz; including panoramas, maps and portraits.
He served on the Municipal Council for twelve years, sat on the central committee of the General Savings Bank, and was head of the art department on the administrative board of the Upper Austrian State Museums [de].