Karpaka Vinayaka Temple or Pillaiyarpatti Pillaiyar Temple is an ancient rock-cut cave shrine dedicated to Lord Ganesha, located at Pillayarpatti in Tiruppathur Taluk, Sivaganga district in the state of Tamil Nadu, India. The presiding deity of the temple is Karpaka Vinayakar.