Titanium (Ti) and nickel (Ni) elemental powders were blened by ball milling and the ball milled powders were employed to fabricate NiNi shape memory alloy (SMA) foams by space sintering. Effect of ball milling time on phase constitutes of the sintered TiNi alloy foams was studied by X-ray diffraction (XRD) analysis.Scanning election microscopy (SEM) was used to characterize the porous structure, and compressive tests were carried out to evaluate the mechanical properties of the foams. Results indicate the porosities of the TiNi alloy foams can be controlled by using the spacer sincering method, and the porosities show a significant effect on the mechanical prperties and shape memory effect (SME).