There are various reasons for goldfish turning black, which can be mainly classified into the following categories:

1. Water Quality Issues
- Excessive Ammonia Concentration: An excessively high ammonia content in the fish tank can burn the skin of goldfish, causing their body surface to turn black. Ammonia is usually produced by organic matters such as decaying plants and fish food residues.
- Water Quality Deterioration: Not changing the water for a long time or having unstable water quality (such as fluctuations in pH value, and exceeding the standards of ammonia nitrogen and nitrite) will cause the body color of goldfish to turn black.
- Water Temperature Changes: Too low a water temperature or drastic fluctuations can affect the metabolism of goldfish, leading to the deposition of melanin.
2. Diseases and Infections
- Black Spot Disease: This is a disease caused by parasites. Black spots will appear on the body surface of goldfish, and in severe cases, it may cover the entire body.
- Other Diseases: Diseases such as enteritis, white spot disease, and body rot disease may also cause the body color of goldfish to turn black.
3. Environmental Factors
- Insufficient or Excessive Light: Long-term lack of light will activate the melanocytes, causing goldfish to turn black; while excessive light may burn the skin and cause pigment disorders.
- Scare or Stress: When goldfish are scared or there are sudden environmental changes (such as transportation and temperature changes), their body color may turn black temporarily.
4. Genetic and Physiological Factors
- Genetic Mutation: Some goldfish varieties will naturally turn black during the growth process, which is the result of gene expression.
- Sexual Maturity: During the sexual maturity period of goldfish, their body color may darken due to hormonal changes.
5. Feed and Poisoning
- Feed Problems: Long-term intake of feed with too dark a color or unbalanced nutrition may lead to excessive synthesis of melanin in goldfish.
- Drug Poisoning: Using heavy metal drugs or spoiled food may cause goldfish to be poisoned, and their body color will turn black.
Countermeasures
- Improve Water Quality: Change the water regularly, clean the fish tank, and use a filter to keep the water quality stable.
- Disease Treatment: Use drugs (such as yellow powder, oxytetracycline) for treatment according to specific diseases.
- Adjust the Environment: Provide appropriate light and temperature to reduce the stress response of goldfish.
- Optimize the Feed: Choose feed with balanced nutrition and avoid feeding spoiled food.
By implementing the above measures, the problem of goldfish turning black can be effectively prevented and solved. If the symptoms persist or worsen, it is recommended to consult a professional veterinarian or aquatic organism expert.