Fish Identifier
Boxfish (Ostracion cubicus)
2014 11 Moalboal 62 yellow box with mouth (16050157455) by Lakshmi Sawitri, via Wikimedia Commons, licensed under CC BY 2.0
reef

Boxfish

Ostracion cubicus

A rigid, box-shaped Indo-Pacific reef fish encased in fused bony plates; juveniles are bright yellow with black spots, dulling to olive-grey tones as adults.

Habitat
Coral reefs, Indo-Pacific
Size
25-45 cm
Diet
Omnivore

Spotted a fish like this?

Identify any fish from a photo, free.

Overview

Boxfish are a group of reef fish in the family Ostraciidae, named for their rigid, box-like body encased in fused bony plates. The representative species, Ostracion cubicus, commonly called the Yellow Boxfish, is found throughout the Indo-Pacific, from the Red Sea and East Africa to Hawaii and the eastern Pacific. Juveniles are a striking bright yellow covered in black spots, while adults become progressively duller, taking on olive-grey to bluish tones with less distinct markings. The rigid carapace largely limits body flexibility, giving the species a distinctive slow, hovering swimming style powered mainly by its fins rather than body undulation. It is common and not considered threatened.

How to identify it

Recognize a boxfish (Ostracion cubicus) by these traits:

  • Rigid, box- or cube-shaped body encased in a bony carapace, with an angular cross-section
  • Juveniles bright yellow with evenly spaced black spots
  • Adults duller olive-grey to bluish, with faint or fading spot pattern
  • Very small mouth and small, fin-like protrusions from openings in the shell
  • No pelvic fins

Adults reach about 25-45 cm. The fused, immobile body shell distinguishes boxfish immediately from any soft-bodied reef fish, while the cube-like body cross-section separates this genus from the more elongated, horned cowfish genera in the same family.

Habitat & range

Yellow Boxfish inhabit coral reefs, lagoons, and adjacent rubble areas throughout the tropical Indo-Pacific, from the Red Sea and East Africa to Hawaii and the eastern Pacific, typically at depths from the shallows to about 35 m. Juveniles are commonly found sheltering among branching coral heads in shallow, protected reef areas, while adults range more widely over reef slopes and adjacent sandy or rubble zones. The species favors habitats offering ample crevices and coral structure for shelter, since its rigid body and limited swimming speed make it more vulnerable to predators in open terrain.

Behavior & ecology

Boxfish are generally slow, deliberate swimmers, propelled mainly by undulation of the dorsal, anal, and pectoral fins rather than body flexion, since the rigid carapace prevents typical fish body movement. They are usually solitary or found in loose pairs, foraging during the day over reef and rubble substrate for small invertebrates, algae, and sponges. When stressed, some Ostraciidae species can release a toxic mucous secretion from skin glands as a chemical defense that deters predators. Reproduction involves pair spawning near dusk, with eggs and sperm released into open water for pelagic development before juveniles settle onto shallow reef habitat.

Frequently asked questions

Why can't boxfish swim quickly like most reef fish?

Their body is encased in a rigid, fused bony shell that prevents the side-to-side body flexion most fish use, so they rely mainly on fin movement instead.

Do juvenile and adult boxfish look different?

Yes, juveniles are typically a vivid yellow with bold black spots, while adults become duller and less distinctly marked as they mature.

What shape gives the boxfish its name?

Its body is encased in an angular, box- or cube-like bony carapace, clearly visible in cross-section.

Boxfish guides

In-depth guides for identifying, understanding, and caring about Boxfish.