A vacuum trap has a vacuum chamber and a conduit having at least one first opening open to atmosphere and a second opening connected to the vacuum chamber. A valve connects the conduit to the vacuum chamber and seals the vacuum chamber. A vacuum source maintains a vacuum inside the vacuum chamber immediately prior to the valve opening, the vacuum being sufficient to draw a vermin through an opening of the conduit. A detector detects the presence of vermin, the valve opening in response to a signal from the detector when vermin are detected.