The aim of the present study was to prepare a stable complex of doxycycline (Doxy) and hydroxypropyl-β-cyclodextrin (HPβCD) for ophthalmic delivery and investigate the inclusion mechanism and the inclusion effects on the stability of Doxy. The Doxy/HPβCD complex was prepared by solution stirring and then characterized by scanning electron microscopy and ultraviolet spectroscopy. Based on results of nuclear magnetic resonance, molecular model of Doxy/HPβCD complex was established using computational simulation of PM3 method implemented in Gaussian 03. Stabilities of Doxy/HPβCD complex in both aqueous solution and solid state at 25°C were evaluated by HPLC. Finally, in vitro antibacterial activity of the Doxy/HPβCD complex was evaluated by disk diffusion test. It was found that the stabilities of Doxy/HPβCD complex in both aqueous solution and solid state were improved obviously as compared with Doxy alone. This stability enhancement is consistent with the inclusion mechanism between HPβCD and Doxy, which showed that the unstable site of Doxy molecule at 6-CH3 was protected in the hydrophobic cavity of HPβCD, additionally, the chelation of Mg2+ provided a synergetic protection of the other unstable site of Doxy at 4-N(CH3)2. The antibacterial activity results indicated that Doxy/HPβCD complex might have potential for clinical applications.