The present invention provides an effective pest control solution for indoor cannabis applications. The interior atmosphere is controlled to expose the live cannabis plants or post-harvest plant products to low oxygen levels (higher than 1% but lower than ambient air) and high carbon dioxide levels for one or more periods of less than 48 hours. This combination is effective to prevent or eliminate pests without harming the plants.