This study describes the fabrication of nanocomposites using electrospinning technique from poly lactic acid (PLA) and nano-hydroxyapatite (n-HAp). The prepared electrospun PLA-nHAP nanocomposite is intended to be used for drug delivery application. A hydrogen bond in between nHAp and PLA was confirmed by Fourier transform infrared (FT-IR) spectroscopy. Degradation study of the prepared electrospun PLA-nHAp nanocomposite was conducted for 30 days both in phosphate buffer solution (PBS) of pH 7.4 and deionized water. The degradation of the nanocomposite occurred faster in PBS in comparison to water. Cytotoxicity analysis was conducted on both Vero cells and BHK-21 cells and the survival percentage of both cells was found to be more than 95%, which indicates that the prepared nanocomposite is non-toxic and biocompatible. Gentamicin was loaded in the nanocomposite via an encapsulation process and the in vitro drug delivery process was investigated in phosphate buffer solution at different pHs. An initial burst release of the drug was observed from the nanocomposite after 1 to 2 weeks for all pH media. After that, a sustained drug release behavior was observed for the nanocomposite for 8 weeks with a release of 80%, 70% and 50% at pHs 5.5, 6.0 and 7.4, respectively. It can be suggested that the electrospun PLA-nHAp nanocomposite can be used as a potential antibacterial drug carrier for sustained drug release in dental and orthopedic sector.