1. A liquid ejection head comprising:a recording element substrate configured to eject a liquid;
an electrical wiring substrate configured to supply an electrical signal for ejecting the liquid to the recording element substrate;
a plurality of wires electrically connecting a plurality of electrode terminals on the recording element substrate with a plurality of connection terminals on the electrical wiring substrate, the plurality of wires form a wire array; and
a sealant sealing an electrical connection portion including the plurality of electrode terminals, the plurality of connection terminals, and the plurality of wires, wherein
the plurality of wires includes a first wire at one outermost end of the wire array in a wire array direction, a third wire at another outermost end of the wire array in the wire array direction, and a plurality of second wires adjacent to each other between the first wire and the third wire, and the first wire is shorter than each of the plurality of second wires and the third wire.