Another common cause of cloudy water is mineral content. This is often referred to as hard water. Signs of hard water are glasses that have white spots after you run the dishwasher, soap not making an easy lather when agitated in water and mineral deposits on plumbing fixtures. In general, hard water will not clear with time.
For the most part, it is safe to drink hard water. It is just minerals like calcium and magnesium dissolved in the water. The bigger issue with hard water is that it can cause problems with plumbing fixtures and appliances that use water. One thing you might notice is that your coffeemaker gets coated or clogged with mineral deposits.
The remedy for hard water is to have a plumber install some type of whole house water softener. One of these devices can be installed on your water main, and it will effectively remove mineral content from your water.
Total Suspended Solids
Another issue that can cause cloudy or discolored water is a high level of Total Suspended Solids (TSS). TSS is a term for solid material that is suspended in the water but not dissolved. This could be a wide range of materials. Since they are not dissolved in the water, these solids will usually settle on the bottom of a glass if you let it sit long enough.
The safety of water that has a high TSS level is dependent upon what those solids are. Some of them could be harmful to human health and there is the possibility that some of them could damage plumbing fixtures. If you suspect that your water has a high TSS level, you should have the water tested immediately.
If you have determined that you need to do something about high TSS levels in your drinking water, the best option is to install a whole house filtration system. Most solids will be removable through filtration. That said, there are different types of water purification systems and some might be better for different situations. Once you know what the problem is, you can consult with a plumber about finding the right water purification system for your home.