Soluble dietary fiber (SDF) was prepared by Trichoderma viride fermentation by using apricot pulp as the raw material.