Immunostimulatory compounds can be extracted from microalgae or algae using various procedures. The resulting preparations exhibit extremely potent immunostimulatory activity. The extraction of these immunostimulatory agents is dependent on the solvent used and the extraction temperature. These preparations are potentially useful as a botanical or pharmaceutical preparation to improve immune function.