The short answer
Rift Lake cichlids from Lake Malawi and Lake Tanganyika need hard, alkaline water. Livebearers such as guppies, mollies, platies and swordtails do well in moderately hard to hard water. Many other fish adapt to a range, so hard tap water can suit a lot of community fish.
What “hard water” means here
Hard water has a higher GH, which means more dissolved calcium and magnesium, and usually a higher KH. It tends to be alkaline, with a pH above 7, though the exact pH depends on the source and what is in the tank. High KH is what keeps pH steady. A hard source with high KH is well buffered.
Rift Lake cichlids
Cichlids from the Rift Lakes of East Africa come from hard, alkaline water. Lake Tanganyika is especially rich in calcium. Keeping these fish in very soft, acidic water is generally a bad idea, and they often struggle. Keep pH stable as well as hardness.
Rift Lake cichlids are often kept with other fish that need similar water. Check the species before you mix them, and see can cichlids live with other fish for the compatibility side.
Livebearers
Guppies, mollies, platies and swordtails are common in community tanks. Many keepers keep them in moderately hard to hard water, where they tend to do well. Mollies in particular are often kept in hard water.
Some keepers report more problems in very soft water, so check the needs of the species you own. For how many guppies to keep in one tank, see how many guppies per tank.
Other fish: adapt or avoid
Many community fish adapt to hard water, including many Central American cichlids and other hardy species. Shrimp need more care. Caridina shrimp are sensitive to hardness and pH, while many Neocaridina shrimp tolerate harder water. Do not treat shrimp as if they follow the same rules as fish.
Raising hardness safely
If your tap water is too soft for the fish you want, you can raise hardness. Options include:
- Crushed coral or aragonite, which dissolve slowly and raise GH and KH over time.
- Limestone or other calcareous rock, which works the same way more slowly. For rock in general, check whether rocks are safe for aquarium use.
- Commercial remineralizers or buffers, following the label, since some add only GH and some add only KH.
Sodium bicarbonate raises KH but not GH, so it does not give you the full picture on its own. For the full method of raising KH, see how to raise kh in aquarium. Substrate can also change hardness, and does aquarium gravel affect water hardness explains how.
Make changes in small steps and retest GH, KH and pH after each one. Rapid changes stress fish more than a moderate target does.
Start with your tap
Before you change anything, check your starting point. The steps for measuring it are in how to check tap water hardness for aquarium. If your tap is already hard, you may not need to add anything.