An imaging device for electromagnetic radiation, especially for x-ray and/or gamma radiation, is disclosed. In an embodiment, the imaging device includes a layering including a number of detection elements, a number of read-out boards and a base board. Each of the detection elements is electrically contacted with a respective read-out board via a plurality of first solder contacts. Each read-out board includes a plurality of through-contacts and is electrically contacted with the base board via a plurality of second solder contacts.