It's the Cowboys' first trip to Oakland since the 2009 preseason opener, when they lost to the Raiders 31-10.
With the Cowboys spending nearly three weeks in Oxnard, Calif., for training camp, it allows them to have their first two preseason games on the road on the West Coast.
The second preseason game will be the week of Aug. 16-20 at San Diego.
Cowboys Stadium will host the final two preseason games, versus St. Louis (Aug. 23-26) and versus Miami (Aug. 29-30).
The Cowboys will then open the 2012 regular season Sept. 5 at the defending Super Bowl champion New York Giants.
Game times and dates will be announced when they're finalized.