A wire holder for fixing two or more wires on a plate of an electronic device includes a fixing portion and a latch formed on the plate. The fixing portion includes two sidewalls, and the latch is formed between the sidewalls. The latch includes a main body, two elastic arms extending from two lateral ends of the main body toward the sidewalls respectively. Two latching portions are formed on top portions of the elastic arms respectively, and the latching portions extend toward directions contrary to extending directions of the corresponding elastic arms.