The purpose of this study is to evaluate the diagnostic performance of imaging techniques for the identification of groin hernias based on the type of hernia and to demonstrate the efficacy of an algorithm based on the surgeon and surgical technique. Medical records of 561 patients who were operated on for groin hernia were retrospectively analyzed. A total of 102 patients who had both pelvic computed tomography (CT) and ultrasonography (USG) recordings preoperatively and underwent transabdominal preperitoneal repair were included in the study. A contralateral asymptomatic occult groin hernia was detected in 25.5% of all patients. The overall sensitivity of USG and CT on contralateral asymptomatic occult hernia was 42.3% and 65.4%, respectively. The sensitivity of USG according to the contralateral occult hernia type was 66.7%, 35.7%, 33.3%, and 50% for direct, indirect, femoral, and pantaloon hernias, respectively. The sensitivity of CT according to the contralateral occult hernia type was 0%, 57.1%, 100%, and 100% for direct, indirect, femoral, and pantaloon hernias, respectively. The handicap created by the variability in the diagnostic sensitivity of imaging modalities can be overcome with the choice of transabdominal preperitoneal repair in the surgical technique.