An external preparation for topical administration which aims at inhibiting rejection reactions at organ or bone marrow transplantation or treating autoimmune diseases or allergic diseases and contains as the active ingredient 2-amino-2-(2-(4-octylphenyl)ethyl)propane-1,3-diol or pharmaceutically acceptable acid-addition salts thereof.