The two stars spent a couple of days last week at the National Training Center in Fort Irwin, Calif., to do a little research for their upcoming World War II movie, Fury.
"It was a unit-sponsored event with just a small group of soldiers in the field," a Fort Irwin spokesperson told the Desert Dispatch. "They talked about the mission of the NTC, what those particular soldiers do, and the soldiers' experience and background. There was no official meet-and-greet."
Pitt and LaBeouf, along with costar Logan Lerman, spent the night on June 26 and embedded with the Operations Group on Thursday.
On the Fort Irwin National Training Center Facebook page, an NTC community information manager wrote on June 27: "They're here only for a brief visit to observe the complex training environment that the National Training Center has to offer. We will respect their purpose and their privacy for being here and appreciate that they are seeking interest in our mission at the NTC."
Following their time at the NTC, LaBeouf posted a video of himself learning to assemble a machine gun during the visit.
Directed by David Ayer, Fury is expected to be released in November 2014.
Meanwhile, Pitt will next be seen in the Ridley Scott thriller The Counselor, due to hit theaters on Oct. 25, 2013.
The film noir costars Michael Fassbender and Cameron Diaz. Along for the ride are Penélope Cruz and Javier Bardem, reunited for the first time on the big-screen since 2008's Vicky Cristina Barcelona.
As for LaBeouf, he'll be seen later this year in Lars Von Trier's Nymphomaniac, which also features Christian Slater, Willem Dafoe, Uma Thurman, Stellan Skarsgård, Jamie Bell, Connie Nielsen and Mia Goth.