John Joseph Hannifin (February 25, 1883 – October 27, 1945) was an American Major League Baseball infielder. He played for the Philadelphia Athletics during the 1906 season, the New York Giants from 1906 to 1908, and the Boston Doves during the 1908 season.