Traditional aquaculture systems appear challenged by the high levels of total ammoniacal nitrogen (TAN) produced, which can harm aquatic life. As demand for global fish production continues to increase, farmers should adopt recirculating aquaculture systems (RAS) equipped with biofilters to improve the water quality of the culture. The biofilter plays a crucial role in ammonia removal. Therefore, a biofilter such as a moving bed biofilm reactor (MBBR) biofilter is usually used in the RAS to reduce ammonia. However, the disadvantage of biofilter operation is that it requires an automatic system with a water quality monitoring and control system to ensure optimal performance. Therefore, this study focuses on developing an Internet of Things (IoT) system to monitor and control water quality to achieve optimal biofilm performance in laboratory-scale MBBR. From 35 days into the experiment, water quality was maintained by an aerator's on/off control to provide oxygen levels suitable for the aquatic environment while monitoring the pH, temperature, and total dissolved solids (TDS). When the amount of dissolved oxygen (DO) in the MBBR was optimal, the highest TAN removal efficiency was 50%, with the biofilm thickness reaching 119.88 μm. The forthcoming applications of the IoT water quality monitoring and control system in MBBR enable farmers to set up a system in RAS that can perform real-time measurements, alerts, and adjustments of critical water quality parameters such as TAN levels.