In this work, a loofah sponge was used as the solid carbon source and the carrier in a biofilm reactor. Simultaneous nitrification and denitrification (SND) technology was used to achieve nitrogen removal in low-carbon municipal wastewater in a sequencing batch biofilm reactor (SBBR). At room temperature, the effects of filling ratio, dissolved oxygen (DO), pH, C/N(COD Cr /TN), and aeration time on the removal of nitrogen were systematically studied. In addition, the removal efficiency of total nitrogen (TN) was used as the evaluation index in response surface models (RSM) for optimization of nitrogen removal. The results showed that DO, pH, and aeration time affected nitrogen removal significantly. Therefore, DO, pH, and aeration time were used as the independent variables in RSM. The optimum conditions for nitrogen removal were found to be as follows in RSM: DO = 4.09 mg/L, pH = 7.58, aeration time = 10.47 h. Under the optimum conditions, the maximum TN removal efficiency reached 86.27%. The results also demonstrated that the deviation between the experimental and predicted TN removal efficiency was only 0.58%, the predicted model was reliable for future application.