A contact element for electrically connecting an electrical conductor with an electrical assembly includes two contact rails extending in a longitudinal direction. The rails are arranged one above the other and are at a distance from one another in a contact direction and are also connected to each other via a connection piece. The connection piece is arranged at a first side of the contact rails and extends in the longitudinal direction and in the contact direction so that the contact element is formed in an approximately U-shaped manner in a cross section transversely to the longitudinal direction which runs through the connection piece.