The present invention provides a prophylactic or therapeutic agent and a prophylactic or therapeutic method superior in the prophylaxis or treatment of Sjogren's syndrome. Provided are a prophylactic or therapeutic agent for Sjogren's syndrome, containing a compound represented by the formula (I):wherein each symbol is as defined in the Specification, or a pharmaceutically acceptable salt thereof, and a method for the prophylaxis or treatment of Sjogren's syndrome, including administering an effective amount of the compound represented by the formula (I) or a pharmaceutically acceptable salt thereof, to a subject in need thereof.