There is provided a heater assembly (10) for an aerosol-generating device (102), the heater assembly (10) comprising a bushing (12) defining an aperture (20) at a first end (22) of the bushing (12) and a cavity (24) at a second end (26) of the bushing (12). The heater assembly (10) also comprises an elongate electrical heater (14) extending from the first end (22) of the bushing (12), wherein a portion of the elongate electrical heater (14) extends through the aperture (20) and into the cavity (24).