A board-to-board connector for signal-transmitting connection of a first circuit board to a second circuit board, in particular in magnetic resonance imaging scanners, wherein the board-to-board connector has a base body with a first socket for a contact section of the first printed circuit board and a second socket for a contact section of the second printed circuit board, wherein a spring element support with a plurality of spring elements is provided between the first socket and the second socket, wherein each of the spring elements makes electrical conductive contact with a contact of the respective contact sections using spring loaded contact pressure.