An electrical connector connected to a flat cable, a wire harness, and a method for arranging wire harness is disclosed. Arranging the wire harness is easy and simple, the cost is low, and the degree of freedom in the housing construction is high. The electrical connector 10 has a plurality of mutually stackable base housings 11a, 11b, and 11c having the same shape, with each of these base housings 11a, 11b, and 11c having contact receiving cavities 16a, 16b, and 16c in a single row. At least one lock housing 40 is attached to the uppermost and / or lowermost base housing of the plurality of stacked base housings 11a, 11b, and 11c. A plurality of contacts 30a, 30b, and 30c are connected to the flat cable 2 and are inserted in the contact receiving cavities 16a, 16b, and 16c.