Joint compound is water-based, which means it can be dissolved and washed away with water. However, larger amounts of joint compound, especially when mixed with little water, can harden and cause clogs in your drains (source). To prevent this, use enough water to dissolve the compound and clean your tools properly.