This application relates to a battery module, including a substrate, battery units, end plates, side plates and fastening pieces; the end plates are respectively located on two sides of the battery units in their stacking direction, adjacent to outermost ones of the battery units and extend along a length direction of the battery unit; an end of the end plate in the length direction is curled into a pipe and forms a curling pipe section, an axial direction of the curling pipe section is the same with a height direction of the battery unit; the fastening piece is inserted in the curling pipe section, extends in the curling pipe section toward the substrate and protrudes out of the curling pipe section, and are fixed on the substrate; by configuring curling pipe sections, fastening strength is improved, so as to realize reliable fixation of the battery module on the substrate.