Microstructural characteristics and biocompatibility of a Type-B carbonated hydroxyapatite (HA) coating prepared on NiTi SMA by biomimetic deposition were characterized using XRD, SEM, XPS, FTIR and in vitro studies including hemolysis test, MTT cytotoxicity test and fibroblasts cytocompatibility test. It is found CO(3)(2-) groups were present as substitution of PO(4)(3-) anions in HA crystal lattice due to Type-B carbonate. The growth of Type-B carbonated HA coating in SBF containing HCO(3)(-) ions is stable during all periods of biomimetic deposition. The carbonated HA coating has better blood compatibility than the chemically-polished NiTi SMA. There was a good cell adhesion to this HA coating surface and cell proliferation in the vicinity of the coating was better than that for the chemically-polished NiTi SMA. Thus biomimetic deposition of this carbonated HA coating is a promising way to improve the biocompatibility of NiTi SMA for implant applications.