In order to prevent boxelder bugs from invading homes, repair holes in window and door screens, seal cracks and crevices with a good quality silicone or silicone-latex caulk and install door sweeps to all exterior entrances.
When attempting to get rid of boxelder bugs that have already entered a home or building, no attempt should be made to kill them in wall voids because dead insect bodies can attract dermestid beetles. Rather, using a vacuum cleaner to remove them may provide temporary relief. The bag should be removed to prevent the bugs from escaping.
If a boxelder infestation is suspected, a licensed pest control operator should be called to evaluate and assess the problem.