Usually dissolved air
Water under pressure in a pipe holds more dissolved air than it can hold at room temperature. When it comes out of the tap and warms, that air can come out of solution as tiny bubbles, and the water looks milky. This is most noticeable with cold water, such as after you fill a tank in winter. The haze is harmless to fish.
Test it in a glass
Fill a clear glass from the tap and watch it. If the cloudiness clears from the bottom up, air is the cause. If the water stays cloudy in the glass, the haze is coming from something else, such as minerals or particles.
Minerals and particles
Hard water can look chalky when it is heated, because minerals such as calcium carbonate can come out of solution. This is harder to confirm for freshwater tanks, so a glass test and a hardness test together are the best way to tell. Buffer powder added directly to the tank, instead of being dissolved first, can also cloud the water.
Check your water treatment
Tap water is often treated, and the treatment matters. Chlorine can dissipate when water stands for a while, but chloramine does not break down that way, so it needs a conditioner. Check the label for how much water conditioner for fish tank to use, since the dose depends on the volume of water.
What to do
- Let the water stand in a bucket before adding it, or aerate it.
- Expect more haze after a large cold fill, since cold water releases more air as it warms.
- Let the filter run so the haze has time to clear while the tank settles.
Watch for bubbles
If the haze comes with many tiny bubbles that do not rise, check the external filter connections and seals for leaks, since leaks can draw air into the system. Bubbles under the skin or swelling around the eyes of fish are a serious sign of gas trouble and need prompt attention.
How long it lasts
Dissolved-air haze usually clears within a few hours, and within a day at most. Water that stays cloudy beyond that is probably not air. For a first setup, see how to fill a new fish tank for the full process.