The present invention relates to a method for preparing sustained release nanoparticles for delivery of tuberculosis (TB) drugs. The invention further comprises the drug formulations for increasing the bioavailability and sustained release of drugs for the treatment of tuberculosis.