Your doctor will first observe the severity of the infection and then decide on the dosage and duration for azithromycin. Azithromycin stays in your body for about 15 days. Keeping this and its side effects in mind, they will prescribe it for anywhere between 3 – 5 days depending upon your condition – 3 being the minimum.