Sodium heparin (HS) was immobilized on the surface of the silk fibroin nanofibers (FS) prepared by electrospinning with the objective of improving the hemocompatibility of the fibers for application as scaffolds in tissue engineering. The nanofiber mats of silk fibroin without (MF-FS) and with (MF-FS/HS) immobilized heparin were characterized through scanning electron microscopy (SEM), Fourier-transform infrared spectroscopy with attenuated total reflectance (FTIR-ATR), thermogravimetric analyses (TGA), energy dispersive spectroscopy (EDS), contact angle, chemical analysis, and biological tests. The formation of hydrogen bonds between the silk fibroin and heparin was discussed based on FTIR-ATR spectra. The amount of immobilized heparin was quantified through papain/N-acetyl-l-cysteine digestion followed by dimethylmethylene blue complexation. Furthermore, the samples with immobilized HS showed higher hydrophilic capability compared to samples without HS due to lower contact angles. It was possible to verify that the capillary end-to-collector distance of 8.5 cm and flow rate of 0.35 mL h(-1) used in the electrospinning process at 20 kV are good conditions for obtaining a small average fiber diameter maintaining the amount of immobilized heparin on MF-FS/HS in ca. 4% w/w. Biological analysis showed that no hemolysis is provoked by MF-FS and MF-FS/HS mat fragments and those such mats are not toxic to Vero cells. However, the MF-FS/HS showed higher cell growth and proliferation than MF-FS, indicating an improvement in the hemocompatibility of the material due to heparin immobilization.