Vertical prestress loss causes cracking in prestressed box-girder bridge webs. As a new type of prestressed material, iron-based shape-memory alloy (Fe-SMA) rebars can be used as vertically prestressed rebars to compensate for the loss of vertical prestress in box-girder webs. In this study, box-girder webs were simplified into I-shaped beams, and the shear performance of these I-shaped beams with vertical Fe-SMA rebars in the shear span was analyzed to estimate the feasibility of using Fe-SMA rebars. The effects of the activation state, layout spacing, and rebar diameter on the shear performance of the I-beams were explored. The variations in the cracking load, ultimate load, and main tensile strain were systematically investigated. The results indicate a significant transformation from brittle to ductile bending shear failure following Fe-SMA activation. Moreover, the ultimate deflection exhibited a significant increase exceeding a factor of 2. The activation of the Fe-SMA was beneficial for delaying specimen cracking and improving shear strength. Specifically, the shear cracking and ultimate loads increased by 24.21 % and 12.11 %, respectively. Simultaneously, the activation of the Fe-SMA rebar significantly reduced the primary tensile strain within the shear span segment and effectively delayed crack development. The diagonal fracture width of the specimens with the activated Fe-SMA was significantly reduced (67.24 %, 57.14 %, and 52.22 %, respectively) at three different stress settings (400, 450, and 500 kN). Furthermore, a methodology for estimating the shear cracking and bearing capacity of I-beams with vertical Fe-SMA rebars is proposed. The calculated values are in excellent agreement with the experimental data, thereby serving as a valuable reference for future research.