This disclosure relates to a device for disinfecting CPAP components and a method of using the same. An example device includes a chamber, an ultraviolet (UV) light configured to emit UV light within the chamber, and a control unit configured to activate the UV light for a period of time.