Los Angeles and Pittsburgh announced the swap on Saturday. The Dodgers are sending minor league infielder Jesus Manuel Valdez to the Pirates in the trade.
Freese, 35, was hitting .282 with nine home runs and 42 RBIs in 94 games this season in Pittsburgh. The 2011 World Series MVP played his first five seasons with the St. Louis Cardinals, before being traded to the Los Angeles Angels in 2013. Freese signed with the Pirates in 2016.
He was selected for his lone All-Star appearance while with the Cardinals in 2012. Freese hit 20 home runs and had 79 RBIs, while hitting .293 that season.