The present invention relates to the field of a medicine for treating diseases associated with inflammation, immunity or infection, and in particular, to glycyrrhetinic acid-30-amide derivatives of general formula I and their preparation, and a pharmaceutical composition containing the same. Said derivatives and composition exhibit anti -inflammatory, analgesic, anti-allergic, cough-preventing, liver-protecting and anti-viral properties, wherein each group is as defined in the description.