The present invention provides a tricyclic heterocyclic compound having a serotonin 5-HT
2C
receptor activation action and the like.
A 5-HT
2C
receptor activator containing a compound represented by the formula (I):
wherein each symbol is as defined in the specification, or a salt thereof or a prodrug thereof.