The English champions will pay Arsenal five million pounds ($9.5 million) for the exchange.
"Chelsea FC and Arsenal have agreed terms for the transfers of Ashley Cole and William Gallas," both clubs said in a joint statement on Thursday.
"Both players have agreed personal terms and passed their respective medicals."
The move, which was completed just before the close of the transfer window, put an end to the protracted summer saga.
England international Cole's relationship with Arsenal strained since he was involved in a tapping-up row with Chelsea last season.
Arsenal were reluctant to sell the 25-year-old for cheap but the inclusion of Gallas in the deal paved a way for leniency in the Gunners' demands.
Gallas was unhappy with the role he plays for Chelsea due to his versatility as he prefers to play in the heart of defence.
نرشح لكم
دي زيربي: نستمد حافزنا من تمني الجميع بهبوط توتنام
سكاي: ناجلزمان يبلغ باومان بأن نوير سيكون حارس ألمانيا الأول في كأس العالم
تقرير: برشلونة يحسم مصير 3 لاعبين بعد رحيل ليفاندوفسكي
سبورت: برشلونة لن يخاطر بمشاركة توريس بسبب كأس العالم
رومانو: مانشستر سيتي يتوصل لاتفاق شفهي مع ماريسكا لتدريب الفريق
مواعيد مباريات الثلاثاء 19 مايو 2026.. مانشستر سيتي ومنتخب الناشئين
شد وجذب ومفاوضات معقدة.. أحداث تجديد عقد صلاح مع ليفربول مرتين











