In mathematics, the endomorphisms of an abelian group *X* form a ring. This ring is called the **endomorphism ring** of *X*, denoted by End(*X*); the set of all homomorphisms of *X* into itself. Addition of endomorphisms arises naturally in a pointwise manner and multiplication via endomorphism composition. Using these operations, the set of endomorphisms of an abelian group forms a (unital) ring, with the zero map as additive identity and the identity map as multiplicative identity.^{[1]}^{[2]}

The functions involved are restricted to what is defined as a homomorphism in the context, which depends upon the category of the object under consideration. The endomorphism ring consequently encodes several internal properties of the object. As the resulting object is often an algebra over some ring *R,* this may also be called the **endomorphism algebra**.

An abelian group is the same thing as a module over the ring of integers, which is the initial object in the category of rings. In a similar fashion, if *R* is any commutative ring, the endomorphisms of an *R*-module form an algebra over *R* by the same axioms and derivation. In particular, if *R* is a field, its modules *M* are vector spaces and the endomorphism ring of each is an algebra over the field *R*.

Let (*A*, +) be an abelian group and we consider the group homomorphisms from *A* into *A*. Then addition of two such homomorphisms may be defined pointwise to produce another group homomorphism. Explicitly, given two such homomorphisms *f* and *g*, the sum of *f* and *g* is the homomorphism *f* + *g* : *x* ↦ *f*(*x*) + *g*(*x*). Under this operation End(*A*) is an abelian group. With the additional operation of composition of homomorphisms, End(*A*) is a ring with multiplicative identity. This composition is explicitly *fg* : *x* ↦ *f*(*g*(*x*)). The multiplicative identity is the identity homomorphism on *A*.

If the set *A* does not form an *abelian* group, then the above construction is not necessarily additive, as then the sum of two homomorphisms need not be a homomorphism.^{[3]} This set of endomorphisms is a canonical example of a near-ring that is not a ring.

- Endomorphism rings always have additive and multiplicative identities, respectively the zero map and identity map.
- Endomorphism rings are associative, but typically non-commutative.
- If a module is simple, then its endomorphism ring is a division ring (this is sometimes called Schur's lemma).
^{[4]} - A module is indecomposable if and only if its endomorphism ring does not contain any non-trivial idempotent elements.
^{[5]}If the module is an injective module, then indecomposability is equivalent to the endomorphism ring being a local ring.^{[6]} - For a semisimple module, the endomorphism ring is a von Neumann regular ring.
- The endomorphism ring of a nonzero right uniserial module has either one or two maximal right ideals. If the module is Artinian, Noetherian, projective or injective, then the endomorphism ring has a unique maximal ideal, so that it is a local ring.
- The endomorphism ring of an Artinian uniform module is a local ring.
^{[7]} - The endomorphism ring of a module with finite composition length is a semiprimary ring.
- The endomorphism ring of a continuous module or discrete module is a clean ring.
^{[8]} - If an
*R*module is finitely generated and projective (that is, a progenerator), then the endomorphism ring of the module and*R*share all Morita invariant properties. A fundamental result of Morita theory is that all rings equivalent to*R*arise as endomorphism rings of progenerators.

- In the category of
*R*-modules, the endomorphism ring of an*R*-module*M*will only use the*R*-module homomorphisms, which are typically a proper subset of the abelian group homomorphisms.^{[9]}When*M*is a finitely generated projective module, the endomorphism ring is central to Morita equivalence of module categories. - For any abelian group , , since any matrix in carries a natural homomorphism structure of as follows:

- One can use this isomorphism to construct many non-commutative endomorphism rings. For example: , since .
- Also, when is a field, there is a canonical isomorphism , so , that is, the endomorphism ring of a -vector space is identified with the ring of
*n*-by-*n*matrices with entries in .^{[10]}More generally, the endomorphism algebra of the free module is naturally -by- matrices with entries in the ring .

- As a particular example of the last point, for any ring
*R*with unity, End(*R*_{R}) =*R*, where the elements of*R*act on*R*by*left*multiplication. - In general, endomorphism rings can be defined for the objects of any preadditive category.