James Wiley (1835 – February 7, 1865) was an American soldier who fought with the Union Army in the American Civil War. Wiley received his country's highest award for bravery during combat, the Medal of Honor, for actions taken on July 3, 1863 during the Battle of Gettysburg.