Pest control in an enclosed area, such as a room of a building, by positioning an ozone producing device in an area to be treated. Ozone generating ultraviolet lamps emit ozone around the entire perimeter of the device, generating ozone from the atmosphere within the enclosed area. A concentration of ozone in the area is measured by a sensor. Production of ozone by the ozone generating ultraviolet lamps is terminated upon the ozone concentration reaching a predetermined concentration of ozone or by time of exposure. Pests that are subject to treatment include invertebrates, such as insects and arachnids, or small mammals, such as mice and rats.