The invention relates to a housing assembly for an electronic component (1) and to a method for packaging an electronic component, said housing assembly being provided with at least one electronic component (2) to the packaged, an outer support (3) and a housing frame (4). An epoxide resin that has a capillary effect is filled into the assembled housing assembly via a feed opening (7) and closes the cavities between the semiconductor chip and the housing frame by virtue of said capillary effect.