The present invention aims to provide a medium-chain acyl basic amino acid derivative which, when blended in a liquid 5 cosmetic such as skin lotion, skin milk and the like, suppresses gelation while maintaining affinity to the skin and the like and can afford a stable preparation.The present invention relates to a compound represented by the formula (1)wherein each symbol is as described in the DESCRIPTION, or a salt thereof.