This invention relates to new fused heterocyclic derivatives having affinity to S1P receptors, a pharmaceutical composition containing said compounds, as well as the use of said compounds for the preparation of a medicament for treating, alleviating or preventing diseases and conditions in which any S1P receptor is involved or in which modulation of the endogenous S1P signaling system via any S1P receptor is involved.