Biochar was prepared from tobacco straws, and polyethyleneimine (PEI) was loaded on the biochar surface to produce PEI-modified biochar (PBC). The remediation effect of PBC on Cd-contaminated soil was studied. During the soil incubation, soil samples were collected three times at 30, 60 and 90 days, and the physical and chemical properties of soil and the contents of heavy metals were determined after natural drying. After conducting passivation and remediation of Cd-contaminated soil, the available Cd content decreased significantly, the residual and oxidizable heavy metal Cd contents in the soil increased significantly, and the weak acid extractable Cd content decreased. When the PBC addition amount was 3% and the soil was cultured for 90 d, the available Cd content in the soil decreased by 54.36%, the weak acid extractable Cd content decreased by 35.36%, and the residual Cd content increased by 184.67%. This indicates that PBC can be used to repair heavy metal-contaminated soil and reduce the bioavailability, migration, and transformation ability of heavy metal Cd.