The ideal depth a screw should go into a stud is 3/4 of the length of the screw's bottom part. Experts say that half of the length is okay. You'll have to consider any material between the screw and the stud.