Mercury (Hg) is toxic and can affect human health through soil entering food chain. Spinach absorb easily heavy metals. Corn stover biochar can improve soil structure and physicochemical property. This study wanted to establish a Hg-corn stover biochar-soil-spinach model including 1 control group (without HgCl2 and corn stover biochar) and 24 treatment groups (with HgCl2 or/and corn stover biochar). Hg concentration was 0, 1, 2, 4, and 6 mg kg−1, respectively. Corn stover biochar contents were 0%, 1%, 3%, 5%, and 7% w/w, respectively. The results showed that residual Hg concentrations was the largest and water soluble and exchangeable Hg as well as carbonate bound Hg concentrations were the lowest among five Hg forms. Hg concentrations in four Hg treatment groups were higher than the control group in dose-dependent manner. The deposition of 6 mg kg−1 Hg was the highest. Corn stover biochar decreased Hg migration from soil to leaching solution and spinach, and passivation effect of 7% concentration of corn stover biochar was the best. Besides, corn stover biochar relieved the increase of methyl Hg caused by Hg in soil. Moreover, Hg concentration in roots was the highest and Hg concentration in stems was the lowest in spinach. Furthermore, Hg absorbed by roots was more than the sum of Hg absorbed by stems and leaves. In addition, we also found that the measured soil Hg concentrations were coincided with the predicted soil Hg concentrations under 1, 2, and 4 mg kg−1 Hg concentrations, except 2 mg kg−1 Hg at 7% C. Under 6 mg kg−1 Hg concentration, measured soil Hg concentrations was lower than that of the predicted soil Hg concentrations. Taken together, our findings indicated that corn stover biochar can increase edible safety of spinach by immobilizing Hg in soil and be used as an organic amendment.