An analyzer that has a simple configuration, that is inexpensive, that can improve safety, and that can inhibit proliferation of microorganisms using ultraviolet light is realized. A first electric power switch, a second electric power switch, and a third electric power switch are connected in series between an ultraviolet LED that irradiates an interior of a shared reagent storage container with ultraviolet light and a power supply that supplies electric power to the ultraviolet LED. The first electric power switch, the second electric power switch, and the third electric power switch are configured with two contact points and a connection section that connects and disconnects the two contact points. The first electric power switch is opened when a reagent storage door is opened, and the second electric power switch is opened in response to an action of extracting an ultraviolet irradiation section from a shared reagent storage container. The third electric power switch is opened when an amount of the reagent within the shared reagent storage container is equal to or smaller than a constant value. When one of the first electric power switch, the second electric power switch, and the third electric power switch is opened, supply of the electric power to the ultraviolet LED is intercepted.