This paper considers terahertz (THz) imaging of multi-layer nonoverlapping contents with compressed measurements. One issue here is the shadow effect from front layers to deep layers due to the non-uniform penetrating illumination. In the case of nonoverlapping contents in layered structures, the shadow effect can be utilized to improve recovery performance and reduce the number of measurements. To this end, we propose several approaches based on the total variation (TV) minimization principle and take into account individual-layer sparsity, group sparsity over layers, and hierarchical group sparsity over layers to reduce the number of measurements. Numerical evaluation confirms the effectiveness of the proposed approaches.