Short answer: match it closely
Yes. New water should be close to the temperature of the tank. A common guideline is within about 3°F (about 2°C). Sensitive fish and invertebrates, such as some shrimp, may need closer matching.
Why a gap matters
A sudden temperature change stresses fish. A large gap can cause thermal shock, and stressed fish may be more open to illness. Small gaps are easier on fish, and checking the temperature each time is a simple habit that helps.
How to check it
Put a thermometer in the tank, then check the water in the bucket before it goes in. Stick-on and digital thermometers both work. Read the tank first, so you know the target.
How to adjust
- Too cold: mix in some warmer water until the bucket is close to the tank.
- Too hot: mix in cooler water. Check hot tap water before you pour, because it can be hot enough to scald your hands as well as stress the fish.
- Pour slowly onto a plate or against the side of the tank, so the fish have time to adjust.
- If the gap is still large, add the water more slowly over several minutes instead of all at once.
Winter and summer
Tap water can be noticeably colder in winter and warmer in summer, so the adjustment changes with the season. Check it each time. If the tank itself runs cold, fix the heating first; see how to heat a freshwater fish tank.
Sensitive fish and shrimp
Shrimp and some other sensitive animals may need a tighter match than a few degrees allows. Slow, careful pouring helps. For new arrivals, a slow drip is gentler than a quick pour, and the method is described in how to drip acclimate fish.
Temperature is one factor
Keep pH and hardness in mind too. A water change that matches temperature can still shift pH or hardness if the new water is very different from the tank. The right target temperature depends on your fish; for a general guide, see what temperature should freshwater aquarium be. For the steps of the water change itself, see how to do a water change in fish tank.