Sealife guideThe yellow boxfishOstracion cubicus

Last updated on 12/01/2026 at 12:35 AM
The yellow boxfish (Ostracion cubicus) is a marine fish recognizable by its rigid, cube-shaped body and coloration, which changes as it grows. Juveniles have a bright yellow body covered with black spots, while adults display more subdued colors, ranging from yellowish brown to purplish blue.
The yellow boxfish inhabits coral reefs throughout the tropical Indo-Pacific, where it moves slowly in search of food and shelter.
Taxonomy
English names Yellow boxfish
French namesPoisson coffre jaune
Spanish namesPez cofre amarillo
Scientific nameOstracion cubicus (Linnaeus, 1758)
Description
The yellow boxfish has a short, stocky body with a rectangular cross-section, enclosed in a true armor-like shell made up of polygonal bony plates fused together just beneath the skin. This rigid structure gives it its distinctive little box-like shape. Its eyes are positioned high on its head, while its relatively small mouth is located at the tip of its snout. Only the openings needed for breathing, feeding, and moving its fins and tail interrupt this protective shell.
The yellow boxfish (Ostracion cubicus)
The yellow boxfish (Ostracion cubicus) © Rickard Zerpe sous licence Creative Commons
Its coloration changes noticeably as it grows. Juveniles are bright yellow with numerous clearly visible black spots, while adult females develop yellowish to brownish tones, with pale spots outlined in black on the plates of their armor. Older males generally display a bluer coloration, sometimes with more or less pronounced black markings. The fins are yellowish and rounded.
The largest individuals can reach up to 18 inches in length.
Geographic range
The yellow boxfish inhabits tropical Indo-Pacific waters, from the Red Sea and the eastern coast of Africa to French Polynesia in the central Pacific, including the Tuamotu Islands.
It is also found in the Persian Gulf, around several islands in the Indian Ocean, throughout Southeast Asia, the Philippines, and Indonesia, as well as in the western Pacific, from southern Japan to Australia, Lord Howe Island, and northern New Zealand. Occasional sightings have also been reported as far east as the Hawaiian Islands.
Habitat
The yellow boxfish is found mainly in lagoons and coral reefs, both near the coast and offshore, particularly in relatively sheltered areas, generally at depths of up to 164 feet.
Adults are often solitary and seek out crevices, overhangs, and other reef shelters. Juveniles readily take refuge in small cracks or among the branches of corals of the genus Acropora, which provide protection from predators.
Diet
The yellow boxfish has a varied diet consisting mainly of algae and small organisms living on the seafloor. It also feeds on sponges, mollusks, small crustaceans, marine polychaete worms, and microorganisms.
It searches for food along reef bottoms, grazing on algae and capturing small invertebrates among organisms attached to or living in the substrate. It may also eat small fish.
Reproduction
During the breeding season, the yellow boxfish forms small harems, generally consisting of one male and two to four females. Males occupy territories where several females gather to spawn.
Spawning takes place near the surface, usually in the late afternoon. The fish release their gametes into the water, where fertilization occurs externally. The eggs and then the larvae drift in the plankton before the young fish eventually settle on the reefs.
Did you know ?
The yellow boxfish is sometimes accompanied by a Chinese trumpetfish (Aulostomus chinensis), which swims directly behind it. This behavior may allow the trumpetfish to hide in its wake and ambush small prey.
Despite its sturdy appearance, the yellow boxfish generally moves slowly around reefs. Its rigid armor limits its movements, but its fins allow it to make highly precise maneuvers and turn almost on the spot.
The yellow boxfish has a remarkable chemical defense: when severely stressed or threatened, it can release a toxic substance called ostracitoxin into the water. This secretion, produced by its skin, can be dangerous to other fish nearby.
Within the same genus
Within the same family
Discover also

Our latestUpdates

Photo of the Day
Mérou de Grace Kelly (Cromileptes altivelis)
Mérou de Grace Kelly
(Cromileptes altivelis)