Some scenes were filmed on Robert Duvall's estate in Virginia, which was the site of some Civil War skirmishes.
Martin Sheen was in the Washington, D.C. area in early September 2001, filming scenes for The West Wing (1999). He was prepared to take a Tuesday morning flight from Dulles to LAX if Warner Brothers agreed to pay him $1 million to reprise his role of Robert E. Lee from Gettysburg (1993). Because Warner Brothers passed, Sheen was not on Flight 77 the morning of September 11, 2001.
The majority of the Civil War re-enactors in the movie volunteered to appear without pay. In return, the production company agreed to donate at least $500,000 to preserve a Civil War battlefield.
The wide shots of the Union infantry advancing toward the stone wall during the Battle of Fredericksburg were not set up or filmed as visual effects shots. The film's re-enacting unit shrunk drastically due to the terrorist attacks of September 11, 2001, and subsequent travel concerns and military reserve call-ups. It wasn't fully evident until the wide shots were viewed in post-production. Visual effects supervisor Thomas G. Smith had to digitally create over 17,000 low-resolution CGI soldiers, then map out individual speeds for them: running, walking, or crawling wounded. He then added 3,000 dead soldiers to scatter around the shot.
Russell Crowe was the first choice to play Stonewall Jackson. Crowe expressed initial interest but eventually declined, citing a need to return to Australia and take a break from movie making. The role was then offered to Stephen Lang, who was already signed and rehearsing to reprise his Gettysburg (1993) character of General George Pickett. Billy Campbell took over the Pickett role.
Damon Kirsche: Harry Macarthy, singing "The Bonnie Blue Flag" for the Northern Virginia high command in the U.S.O.-type performance. Macarthy wrote the verses to the tune of "The Irish Jaunting Car," a vaudeville song from his native country. The song was popular enough to become one of the unofficial Confederate national anthems, alongside "Dixie" and "God Save the South".