The deal further offsets the money the Yankees took on in the blockbuster deal for Giancarlo Stanton, allowing them to more aggressively pursue re-signing CC Sabathia, trading or signing another starter and/or re-signing Todd Frazier to play third base.
Yankees general manager Brian Cashman, who has agreed to a new deal, is operating under a directive from owner Hal Steinbrenner to steer the Yankees' payroll under $197 million to lower their luxury-tax threshold from 50 percent.
By trading Headley, the Yankees gain $13 million in salary relief for next season, according to ESPN Stats & Information. The deal puts their projected payroll in the $170 million range, $27 million below the luxury-tax threshold of $197 million.
"This creates payroll flexibility," Cashman said.
The Yankees, having traded Headley and second basemanStarlin Castro, now have two positions open in the infield. Although Cashman very likely will make additions, the 40-man roster includes Ronald Torreyes, Tyler Wade and top prospects Gleyber Torres and Miguel Andujar, who could play the positions.
Andujar, a third baseman who had a short stint in the big leagues last season, is the only one of the four who doesn't play both positions.
Headley, 33, batted .273 with 12 homers and 61 RBIs in 147 games last season. When the Yankees acquired Frazier in July, Headley moved from third to first base and became one of the team's hottest hitters during the stretch run.
After being traded to the Yankees in 2014, Headley returns to the Padres, with whom he hit a career-high 31 homers and led the NL with 115 RBIs in 2012.
He receives a $1 million assignment bonus for getting traded. His deal calls for $250,000 bonuses each for 475, 500, 525 and 550 plate appearances. The Yankees must make their $500,000 payment to the Padres by Jan. 10.
"I talked to Chase this morning and explained to him that we're going to look at the situation and figure out is there space for everybody? Is their opportunity for everybody?'' Padres general manager A.J. Preller said. "I was very honest, telling him that we're going to talk to other clubs, as well.''
Frazier, 31, made $12 million last year, when he hit .213 with 27 homers and 76 RBIs. The Yankees really liked his clubhouse presence. However, a multiyear deal for Frazier could complicate a possible pursuit of Manny Machado next winter.
The Yankees have long thought Mitchell could accomplish big things, but he never fully panned out in pinstripes. The 26-year-old righty was 1-1 with a 5.79 ERA in 32 innings last year.
Preller envisions Mitchell as a starter with the Padres behind Clayton Richard, Luis Perdomo and Dinelson Lamet, competing with Colin Rea and Robbie Erlin. Mitchell, who is out of options, is not yet eligible for salary arbitration.
"It's a big fastball velocity, and he's got a good breaking pitch in there, too, a power curve,'' Preller said. "A guy at 26 years old, four years of control. We kind of compare that to the free-agent market, and probably more intrigued in terms of the upside.''
Blash, 28, hit .213 with five homers and 16 RBIs in 61 games.
The Associated Press contributed to this report.