Insecticides such as pyrethrin-based sprays and dust formulations have shown promising results to get rid of the carpet beetle, including those such as diatomaceous earth sprinkled around cracks and crevices.