Chicago will receive a player to be named later in return. The Cubs will also send cash considerations to Los Angeles.
Barney was designated for assignment last week when the Cubs activated Emilio Bonifacio from the disabled list.
The Cubs recently called up top prospectArismendy Alcantara, who plays both second base and centerfield.
Barney will provide depth for the Dodgers, joining utility man Justin Turner as a backup infielder. He won a Gold Glove at second base in 2012 and also has some experience at shortstop.
Barney, 28, is batting .230 this season, with two home runs and 16 RBI.
- Dan Gartland