At the Battle of Gettysburg, Lane's brigade fought on the first day (July 1, 1863) and Lane briefly assumed command of Pender's division following that officer's mortal wounding on the second day. He was replaced in division command by Major General Isaac R. Trimble and returned to lead his brigade during Pickett's Charge, during which he was wounded when his horse was shot from under him. Over the three-day battle, his brigade suffered almost 50% casualties. When Trimble was wounded in the attack, Lane resumed temporary command of the division.