Sold as a bright yellow, spotted juvenile, it grows to 45 cm. A stressed or dying boxfish can release a toxin that kills its tankmates. Not reef safe. For experts only.
Temperature
23–27 °C73–81 °F
pH
8.1–8.4 pH
Smallest tank
946 litres250 US gal
Adult size
45 cm17.7 in
Care level
Expert
Care sheet
Care
Adult size
45 cm17.7 inTotal length.
Minimum tank size
946 litres250 US galIt needs a very spacious tank.
Water
Temperature
23–27 °C73–81 °F
pH
8.1–8.4 pH
Specific gravity
1.02–1.025 SG
Safe with
Invertebrates
No
Plants
With caution
About this species
Scientific name
Ostracion cubicum
Also known as
Cube boxfish
Also known as
Cube trunkfish
Also known as
Polkadot boxfish
Also sold as
Cubicus boxfish
Also classified as
Ostracion argus
Also classified as
Ostracion cubicum
Also classified as
Ostracion cubicus
Also classified as
Ostracion tuberculatus
Family
Ostraciidae
Found in
Widespread in the Indo-Pacific, from the Persian Gulf, Red Sea and East Africa to Hawaii and the Tuamotus. It ranges north to the Ryukyu Islands and south to Lord Howe Island. It lives in lagoons and on sheltered seaward reefs, usually at 1 to 50 m. Young fish hide among branching Acropora corals and in narrow crevices.
Water
Marine
Temperament
Semi-aggressive
Diet
Omnivore
Swimming level
Middle
Activity
Low
These ranges are a guide to healthy conditions, not a guarantee. Footprint, group size, temperament and existing tankmates matter as much as volume and water values.
Overview
The yellow boxfish is sold as a small, bright yellow juvenile with black spots and a cube-shaped body. It grows into a large, duller fish of about 45 cm. Its skin releases a toxin when it is stressed, and in a closed tank this can kill the other fish. It is a fish for very experienced keepers only. Breeding in captivity has had very little success, so fish sold are almost always wild-caught.
Keeping yellow boxfish
Give it a very large tank, about 950 litres for an adult, with open swimming space and some live rock for shelter and grazing. Keep it at 23 to 27 °C, pH 8.1 to 8.4 and a specific gravity of 1.020 to 1.025. It needs strong filtration and protein skimming, as it is fed several times a day. Place the tank away from busy areas and bring the lights on slowly with a dimmer, as sudden light can startle it into releasing toxin. Keep only one, ideally in a tank of its own. Any tankmates must be peaceful fish that will not harass it, and a tight cover stops it jumping.
The body is encased in a box of hard, six-sided bony plates, with only the tail base flexible. Young fish are bright yellow with black spots. As they grow the spots fade and the yellow dulls. Large adults are pale yellowish-grey to bluish or purplish-brown, with yellow between the plates, a yellow tail base and a bony bump above the mouth. It is sometimes confused with the longhorn cowfish, which is also sold as a yellow boxfish.
Feeding
In the wild it scrapes algae, sponges and tunicates from rock, and eats worms, snails and other molluscs, crustaceans, forams and small fish. New fish may take only live brine shrimp or bloodworm at first. Then offer small meaty foods such as mysis, enriched brine shrimp and chopped prawn, mussel, cockle, clam and squid, with marine algae and herbivore foods. Its mouth and stomach are small, so feed small amounts several times a day, near the bottom. Avoid floating foods, as it may swallow air.
Breeding
In the wild one male lives with a harem of two to four females, and the eggs are scattered in open water. Very little breeding success has been reported in aquariums.
Special requirements
A stressed or dying boxfish can release a toxin, ostracitoxin, that can quickly kill every fish in the tank. Keep only one, with calm tankmates or none, and avoid sudden light and chasing. Not reef safe, as it eats tube worms, clams, snails and other invertebrates.
Conservation, trade and the law
New Mexico puts all boxfish and cowfish in importation Group IV, so members of the public may not bring them into the state.
Sources and references
Ostracion cubicus summary, FishBase. Accessed 11 November 2026
Yellow Boxfish, Fishkeeper (Maidenhead Aquatics). Accessed 11 November 2026
Cubicus Boxfish EXPERT ONLY, LiveAquaria. Accessed 11 November 2026
Yellow Boxfish, Ostracion cubicus, Bray DJ. Fishes of Australia, Museums Victoria. Accessed 11 November 2026