A portable sterilization device adapted to cover on a container includes a casing, a UV light module, a light sensor and an electronic module. The casing includes a body, a chamber surrounded by the body and a supporting structure protruding from the body. The UV light module, the light sensor and the electronic module are disposed in the chamber. The electronic module is electrically connected to the UV light module and the light sensor. When the portable sterilization device covers on the container, the supporting structure or the body contacts an edge of the container. The UV light module and the light sensor are located in a space surrounded by the casing and the container, the light sensor does not receive an outer light, so that the UV light module is driven by the electronic module. When the portable sterilization device separated from the container, the light sensor receives the outer light, so that the UV light module is not driven by the electronic module.一種可攜式殺菌裝置,適於蓋設在容器上,且包括外殼、紫外線光源模組、光感測器及電路模組。外殼包括本體、本體環繞出的腔體及凸出於本體的支撐結構。紫外線光源模組、光感測器及電路模組配置於腔體。電路模組電性連接於紫外線光源模組及光感測器。當可攜式殺菌裝置蓋設於容器上時,支撐結構或本體承靠在容器開口的邊緣,光感測器及紫外線光源模組位於外殼與容器所圍繞出的空間中,光感測器接收不到外界光線,電路模組控制紫外線光源模組作動。當可攜式殺菌裝置移離於容器時,光感測器接收到外界光線,電路模組控制紫外線光源模組不作動。S‧‧‧殺菌空間10‧‧‧容器100‧‧‧可攜式殺菌裝置110‧‧‧外殼111‧‧‧本體112‧‧‧本體開口114‧‧‧腔體115‧‧‧支撐結構120‧‧‧紫外線光源模組122‧‧‧基板124‧‧‧光源126‧‧‧光學罩128‧‧‧散熱器130‧‧‧光感測器140‧‧‧電路模組150‧‧‧防水層160‧‧‧電池170‧‧‧隔絕層