Abstract: The cloud-based water quality and leak monitoring system contains a server device on the Internet and a pipe device containing a main pipe and an auxiliary pipe connected to the main pipe in parallel. The pipe device further contains a pH detection element, a water pressure detection element, a turbidity detection element, and a flowmeter element. Various data from these elements is transmitted to the server device via WiFi or 4G wireless communications. The server device stores the various data so that a user is able to access, download, and view these data using a computer or a mobile device.