S.C. Code Ann. § 17-5-275
If the home or premises last inhabited by a child is not the scene of the death of a child, the medical examiner, while conducting an investigation of the death, may petition the appropriate magistrate for a warrant to inspect the home or premises inhabited by the deceased before death. The magistrate shall issue the inspection warrant upon probable cause to believe that events in the home or premises may have contributed to the death of the child.