India shares land borders with 7 countries: Pakistan, China, Nepal, Bhutan, Bangladesh, Myanmar, and Afghanistan (through PoK - Pakistan-occupied Kashmir). This count excludes maritime neighbors like Sri Lanka and Maldives which are separated by water but not sharing land boundaries.