An ultraviolet reactor for irradiating a flow of fluid includes a set of UV lamps and baffles spaced along the ramps. The baffles generate helical flow of the fluid flowing along the lamps to enhance exposure of microorganisms carried in the fluid to UV radiation.