James B. Donnelly (July 19, 1865 – March 5, 1915) was an American professional baseball player whose career spanned from 1884 to 1900. He played all or part of 11 seasons in Major League Baseball, principally as a third baseman, for nine different major league clubs. In his 11 major league seasons, Donnelly compiled a .230 career batting average and led the National League's third basemen with 73 errors in 1886 and 275 assists in 1887.