A component carrier (1) comprising a stack (2) of a plurality of layers (12) forming at least one electrically conductive layer structure (3) and at least one electrically insulating layer structure (4), said stack (2) comprising a—preferably conically shaped—cavity (5), wherein the cavity (5) extends—in the direction (D) perpendicular to the planes (P) in which the layers (12) extend—through at least two layers (12) of the plurality of layers, said cavity (5) being delimited by a side wall (6), said side wall (6) being inclined with respect to the direction (D) perpendicular to the planes (P) of the layers (12), preferably by an inclination angle between 0.5° and 50°, preferably between 0.5° and 30°, more preferably between 1° and 15°, wherein at least one recess (7) is provided in the side wall (6) of said cavity (5), said recess (7) locally disrupting the side wall extension and partially extending in the stack (2) along the planar extension of the stack (2).