The invention relates to dehumidification equipment with a disinfection function. The dehumidification equipment with the disinfection function comprises a shell, a filter screen, a condenser, a compressor, a heat exchanger, a water tank, a water tank, an ultraviolet lamp and a fan are arranged in the shell, an air inlet is formed in the side face of the shell, the filter screen is arranged at the air inlet, and an air outlet is formed in the top of the shell; the water tank is located at the bottom of the shell, the condenser is located above the water tank, the compressor is arranged above the condenser, the heat exchanger is arranged above the compressor, the ultraviolet lamp is located above the heat exchanger, the fan is arranged above the ultraviolet lamp, and an air outlet is formed above the fan. Indoor air is sucked into the equipment cavity through negative pressure formed by rotation of the fan, passes through the filter screen, the condenser and the ultraviolet lamp from bottom to top and then is blown out from the air outlet towards the periphery through the fan. The dehumidification equipment with the disinfection function has the embedded ultraviolet disinfection function, dehumidification can be achieved, disinfection can be achieved, and the dehumidification equipment is particularly suitable for airtight places such as cruise ship space.