We propose a method for visualizing three-dimensional objects in scattering media. Our method is based on active illumination using three-dimensionally coded patterns and a numerical algorithm employing a sparsity constraint. We experimentally demonstrated the proposed imaging method for test charts located three-dimensionally at different depths in the space behind a translucent sheet.