The present invention relates to a method for preparing Sofosbuvir crystal form 6. The method is simple in operation stable in process condition good in reproducibility high in yield rate and high in purity viscous gel type products are not formed during the process the problem of blocking of a discharge port is solved and the method is suitable for mass industrial production and has high economic values.