Inhalator comprising an aerosol generator (64) configured to generate an aerosol by nebulizing a fluid and a controller (24) configured to control operation of the aerosol generator and a housing (11, 51) accommodating at least the aerosol generator and the controller, the housing having a base (12) for supporting the housing on a horizontal surface, wherein a portion (35) of the housing accommodating at least a portion of the controller is arranged further away from the base than the aerosol generator as seen in a vertical direction, when the base is supported on the horizontal surface.