The bacterial diseases of tilapia caused by Streptococcus agalactiae have resulted in the high mortality and huge economic loss in the tilapia industry. Matrix metalloproteinase-9 (MMP-9) may play an important role in fighting infection. However, the role of MMP-9 in Nile tilapia against S. agalactiae is still unclear. In this work, MMP-9 cDNA of Nile tilapia (NtMMP-9) has been cloned and characterized. NtMMP-9 has 2043 bp and encodes a putative protein of 680 amino acids. NtMMP-9 contains the conserved domains interacting with decorin and inhibitors via binding forces compared to those in other teleosts. Quantitative real-time-polymerase chain reaction (qPCR) analysis reveals that NtMMP-9 distinctly upregulated following S. agalactiae infection in a tissue- and time-dependent response pattern, and the tissues, including liver, spleen, and intestines, are the major organs against a S. agalactiae infection. Besides, the proteolytic activity of NtMMP-9 is also confirmed by heterologous expression and zymography, which proves the active function of NtMMP-9 interacting with other factors. The findings indicate that NtMMP-9 was involved in immune responses against the bacterial challenge at the transcriptional level. Further work will focus on the molecular mechanisms of NtMMP-9 to respond and modulate the signaling pathways in Nile tilapia against S. agalactiae invasion and the development of NtMMP-9-related predictive biomarkers or vaccines for preventing bacterial infection in the tilapia industry.