A sterilizer includes: a first sterilization unit configured to house an object to be sterilized a second sterilization unit configured to house a bag that houses the object to be sterilized and a sterilizing gas supply system configured to supply a sterilizing gas to both of the first sterilization unit and the second sterilization unit.