Fish Identifier
Yellow Boxfish (Ostracion cubicus) — reef fish
reef fish

Yellow Boxfish

Ostracion cubicus

Box-like, rigid body encased in a triangular or square shell made of fused bony plates. Distinctive bright yellow coloration when juvenile, transitioning to olive-green or brownish with bluish-white spots and intricate patterns as they mature. Small, fan-like fins.

Habitat
Found in tropical and subtropical marine waters, specifi…
Size & weight
Typically grows up to 45 cm (18 inches) in length, thoug…
Diet
Feeds on benthic invertebrates including sponges, worms,…
Identified More reef fish →
Learn more about Yellow Boxfish in the encyclopedia →

Identify your own catch.

Get a report just like this from any photo, free.

Physical characteristics

Box-like, rigid body encased in a triangular or square shell made of fused bony plates. Distinctive bright yellow coloration when juvenile, transitioning to olive-green or brownish with bluish-white spots and intricate patterns as they mature. Small, fan-like fins.

Habitat & distribution

Found in tropical and subtropical marine waters, specifically coral reefs, sheltered lagoons, and outer reef slopes across the Indo-Pacific region and the southeastern Atlantic Ocean.

Behavior

Solitary and slow-moving, relying on its rigid armor and toxic mucus secretions for defense rather than speed. Known to exhibit curious behavior toward divers.

Diet

Feeds on benthic invertebrates including sponges, worms, mollusks, crustaceans, and small fish, often blowing jets of water into the sand to uncover hidden prey.

Reproduction

Pelagic spawners that form temporary pairing groups during dusk. Fertilized eggs float freely in the water column as part of the plankton until hatching.

Ecological role

Acts as a micro-predator and grazer on the reef, helping control populations of benthic invertebrates and keeping algae in check.

Similar species

Spotted Boxfish (Ostracion meleagris), which can be distinguished by different spot patterns and sexual dimorphism where females are dark with white spots and males are dark with yellowish spots.

Identification tips

Look for the unmistakable rigid, box-shaped body and the lack of a traditional flexible tail stalk, combined with the intricate blue or white spot patterns on an olive-green or yellow background.

Interesting facts

When stressed or injured, the yellow boxfish can secrete a toxic, foamy mucus containing ostreolysin from its skin, which can kill other fish in confined spaces such as an aquarium.