Butterflyfish need shelter, space to swim, and a varied, balanced diet to survive. Butterflyfish normally eat crustaceans, sea anemones, plankton, and coral, so at home, you should feed them meaty foods, shrimp, and dried flakes. They need a varied diet to survive.
In addition to a varied diet, butterflyfish need to be kept in a tank with plenty of room to swim around. The tank should also contain developed, live rock that has plenty of hiding places.
Additionally, butterflyfish survive best in temperatures between 73–86°F (23–30 °C), with a pH of 8.1–8.4 and a carbonate hardness (dKH) of 8–12.