Motivated by the existence of candidates for exotic hadrons whose masses are close to both two-body and three-body hadronic thresholds lying close to each other, we study degenerate two-body and three-body coupled-channels systems. We first formulate the scattering problem of non-degenerate two-body and three-body coupled channels as an effective three-body problem, i.e., as effective Alt-Grassberger-Sandhas (AGS) equations. We next investigate the behavior of $S$-matrix poles near the threshold when two-body and three-body thresholds are degenerate. We solve the eigenvalue equations of the kernel of AGS equations instead of AGS equations themselves to obtain the $S$-matrix pole energy. We then face a problem of unphysical singularity: although the physical transition amplitudes have physical singularities only, the kernels of AGS equations have unphysical singularities. We show, however, that these unphysical singularities can be removed by appropriate reorganization of the scattering equations and mass renormalization. The behavior of $S$-matrix poles near the degenerate threshold is found to be universal in the sense that the complex pole energy, $E$, is determined by a real parameter, $c$, as $c+Elog\left(\ensuremath{-}E\right)=0$, or equivalently, $c+\mathrm{Re}\phantom{\rule{0.16em}{0ex}}Elog\left(\mathrm{Re}\phantom{\rule{0.16em}{0ex}}E\right)=0$ and $\mathrm{Im}\phantom{\rule{0.16em}{0ex}}E=\ensuremath{\pi}\mathrm{Re}\phantom{\rule{0.16em}{0ex}}E/log\left(\mathrm{Re}\phantom{\rule{0.16em}{0ex}}E\right)$. This behavior is different from that of either two-body or three-body systems and is characteristic of the degenerate two-body and three-body coupled-channels system. We expect that this new class of universal behavior might play a key role in understanding exotic hadrons.