The invention relates to a process for preparing pharmaceutical composition comprising pidotimod or pharmaceutically acceptable salt thereof and one or more pharmaceutically acceptable excipients. The said invention provides stable pharmaceutical composition comprising pidotimod or pharmaceutically acceptable salt thereof.