Exploring Earth's Oceans Since 1999 · Founded by Blane Perun
3,072 Articles·80+ Countries·25 Years of Ocean Science·Site Map
◆ Trending
25 years exploring Earth's oceans,
coral reefs, and the creatures within.
3,072Articles
80+Countries
1999Founded

Boxfish (Ostraciidae): Armoured, Toxic and Surprisingly Agile

Boxfish — Armoured Cubes of the Reef That Swim Like Hovercraft and Poison the Water

Odd Shaped
November 7, 2026
8 min read
Boxfish fact card
Family
Ostraciidae (order Tetraodontiformes, with puffers, filefish and triggerfish)
Species
About 23 living species in 6 genera
Common names
Boxfish, cowfish, trunkfish, cofferfish
Size
Most 10–30 cm; yellow boxfish to 45 cm; scrawled cowfish to 50 cm
Armour
Hexagonal bony plates fused into a rigid carapace
Defence
Toxic skin mucus (pahutoxin, or ostracitoxin) released under stress
Range
Tropical and warm-temperate Atlantic, Indian and Pacific oceans
Diet
Algae, sponges, worms, small crustaceans, molluscs and tunicates

A boxfish is a fish that lives inside its own suit of armour. The roughly 23 species of the family Ostraciidae, the boxfishes, cowfishes and trunkfishes, have hexagonal bony plates fused into a solid box, with only the fins, tail, eyes and mouth poking out. The armour makes them slow, but few predators can eat an adult, and many boxfish add a second line of defence: a toxic slime they release into the water when stressed.

Boxfishes belong to the order Tetraodontiformes, together with pufferfish, porcupinefish, filefish and triggerfish. Like their relatives, they have small mouths with strong teeth and swim mainly with their fins rather than their bodies. See the odd-shaped swimmers hub for the whole group.

What is a boxfish’s box made of?

The box, or carapace, is made of scales. Each scale has grown into a thick, usually six-sided bony plate, and the plates have fused at their edges into a single rigid shell, rather like a honeycomb set in bone. That is why boxfish skin shows a neat hexagonal pattern. In cross-section the box is triangular in some species (the Atlantic trunkfishes and cowfishes) and nearly square in others (the Indo-Pacific Ostracion boxfishes).

Young boxfish are rounder, softer and often brighter than adults. The yellow boxfish is a classic example: juveniles are bright lemon yellow with black spots, about the size of a dice, and adults fade to a duller yellow-brown or blue-grey.

~23
Living species
6
Genera
45 cm
Yellow boxfish max
50 cm
Scrawled cowfish max
boxfish: Boxfish (Ostraciidae): Armoured, Toxic and Surprisingly Agile
boxfish

How does a boxfish swim?

Slowly but precisely. With its body locked in a box, a boxfish cannot flex to swim like most fish. Instead it uses ostraciiform locomotion: it sculls with its dorsal, anal and pectoral fins, which beat rapidly like little propellers, and saves the tail for bursts of speed. Watching one is like watching a small hovercraft: it can hover, reverse, spin on the spot and slip into crevices.

In 2005 Mercedes-Benz unveiled its Bionic concept car, shaped after the yellow boxfish, on the assumption that the fish was naturally streamlined and self-stabilising. Later work told a different story. A 2015 study by Sam Van Wassenbergh and colleagues in the Journal of the Royal Society Interface found that the boxfish body is not self-correcting at all: small wobbles are amplified, and its drag is higher than that of normally shaped fish. Like a fighter jet built to be unstable, the boxfish uses its fins to control an inherently twitchy body, which is what makes it so manoeuvrable on a crowded reef.

“The boxfish is not streamlined; it is a deliberately unstable little hovercraft steered by five fins.”
— Blane Perun, TheSea.Org

Are boxfish poisonous?

Yes, many are toxic to other fish, and you should never eat one. When stressed, boxfish release a mucus from their skin containing pahutoxin, also called ostracitoxin, a soap-like compound (a choline ester of a fatty acid) that behaves like a detergent. In the open sea it dissolves quickly and deters predators. In a bucket or aquarium it can kill other fish, and sometimes the boxfish itself. The trunkfishes of the Atlantic genus Lactophrys secrete poisons from their skin too. Some references also report tetrodotoxin in boxfish, the toxin of pufferfish, so boxfish should be treated as unsafe to eat. Their bright yellow-and-black colours are a warning to predators.

DefenceHow it works
Bony carapaceToo hard and awkward for most predators to bite or swallow
Skin toxinPahutoxin (ostracitoxin) mucus released when stressed
Warning coloursBright yellow, blue or spotted patterns advertise toxicity
Horns (cowfish)Spines in front of the eyes and at the rear of the box make them harder to swallow

What is the difference between a boxfish, cowfish and trunkfish?

They are all ostraciids, and the names mostly describe shape. Cowfish have a pair of horn-like spines sticking forward from above the eyes, and often a second pair at the back of the box; the longhorn cowfish, Lactoria cornuta, has the longest. Trunkfish is used mainly for the Atlantic genus Lactophrys, which has a triangular box and no forehead horns. Boxfish usually means the square-bodied Indo-Pacific Ostracion species, such as the yellow boxfish and spotted boxfish.

GroupGenus examplesShapeRegion
BoxfishOstracion, TetrosomusSquare or humped boxIndo-Pacific; yellow boxfish also SE Atlantic
CowfishLactoria, AcanthostracionHorns above the eyesIndo-Pacific and Atlantic
TrunkfishLactophrysTriangular, no hornsWestern Atlantic

Where do boxfish live?

Boxfishes live in tropical and warm-temperate waters of the Atlantic, Indian and Pacific oceans, generally at middle latitudes on coral and rocky reefs, seagrass beds and sandy lagoons. The common trunkfish is mainly a Florida and Caribbean fish but can stray as far north as Cape Cod. The yellow boxfish ranges across the Indian and Pacific oceans and has been recorded since 2011 in the eastern Mediterranean, probably arriving through the Suez Canal. See coral reef fish.

What do boxfish eat?

Boxfish browse the bottom with small, protrusible mouths. They eat algae, sponges, worms, small crustaceans, molluscs and tunicates. Some cowfish blow jets of water into the sand to uncover buried invertebrates, a trick they share with triggerfish. Their small, hard mouths and fused teeth are built for picking and scraping rather than biting large prey.

How do boxfish reproduce?

Many boxfish are harem spawners. A male holds a territory with several females and spawns with each one in turn, usually around dusk; for the yellow boxfish, breeding groups of one male and two to four females have been reported in spring. The pair rises off the reef and releases eggs and sperm into the water, and the eggs and larvae drift in the plankton. Males and females of some species look different, with males often more brightly patterned.

How old is the boxfish design?

Very old. Fossil boxfishes such as Eolactoria from the Eocene fish beds of Monte Bolca, Italy, roughly 50 million years old, and Oligolactoria from the Oligocene of the Czech Republic already show the boxed body plan. The armour has clearly worked for a long time.

Diver’s note
Juvenile yellow boxfish are one of the cutest things on an Indo-Pacific reef: a yellow dice with eyes, hiding under ledges and branching coral. Give them space; chasing one for a photo stresses it, and stressed boxfish leak toxin.

Can you keep a boxfish in an aquarium?

Some hobbyists do, but they are for experienced keepers only. The main risk is the toxin: a frightened or dying boxfish can poison an entire tank, so they need a large, calm system, careful handling and good water quality, and many aquarists add a carbon filter as insurance. Boxfish are also slow feeders that lose out to faster tankmates, and they nip at invertebrates, so they are not reef-safe. See reef aquarium basics.

Frequently asked questions

What is a boxfish?

A fish of the family Ostraciidae, enclosed in a rigid box of fused bony plates; includes cowfish and trunkfish.

Are boxfish poisonous?

Yes. When stressed they release toxic skin mucus (pahutoxin) that can kill other fish, and they should not be eaten.

Can a boxfish kill other fish in a tank?

Yes. A stressed or dying boxfish can release enough toxin to kill tankmates and itself.

How big do boxfish get?

Most species are 10–30 cm; the yellow boxfish reaches 45 cm and the scrawled cowfish about 50 cm.

How do boxfish swim?

By sculling with their fins while the boxed body stays rigid, a style called ostraciiform locomotion.

What is the difference between a cowfish and a boxfish?

Cowfish are boxfish with horn-like spines above the eyes.

What car was inspired by the boxfish?

The Mercedes-Benz Bionic concept car of 2005, modelled on the yellow boxfish.

What do boxfish eat?

Algae, sponges, worms, small crustaceans, molluscs and tunicates.

How many species of boxfish are there?

About 23 living species in 6 genera.

Sources & further reading
  1. Wikipedia: Ostraciidae; Yellow boxfish; Cowfish.
  2. Van Wassenbergh, S. et al. (2015). Boxfish swimming paradox resolved. Journal of the Royal Society Interface.
  3. Discover Magazine. Memo to carmakers: this fish is a bad model.
  4. Matsuura, K. Classification of the Ostraciidae.
  5. Boylan, D.B. & Scheuer, P.J. (1967). Pahutoxin: a fish poison. Science.
BP
Last updated November 7, 2026
Written by
Blane Perun

Blane Perun has been exploring Earth’s oceans and marine life for over 25 years. Founder of TheSea.Org in 1999, underwater photographer, coral aquaculture pioneer, and explorer of 80+ countries.

About Blane Perun →
Coral Aquaculture · The Pioneer Story
Blane Perun, A coral aquaculture pioneer

Built one of the first home reef tanks designed as a multi-zone replica of natural reef conditions. Author of long-form profiles cited by Wikipedia, Quality Marine, and SeaScope. Independent — no advertisers, no sponsored placements, no editorial board outside the dive log.

Widely credited as the pioneer of named-coral culture in the reef-keeping hobby. The original — “Perun's Purple People Eater”, a Protopalythoa morph from his coral farm — became the first hobbyist coral to carry an aquaculturist's name in trade, sparking the now-standard practice of naming individual coral strains across the industry.

Founded1999 Articles3,072 Countries80+ Cited inWikipedia · Quality Marine · SeaScope
Read Blane's full bio →
The Dispatch · Monthly

Field notes from eighty countries worth of ocean.

One monthly email. New long-form reporting, species profiles, and dive reports — no filler, no tracking pixels, no sponsored placements. Ever.

Sign up and get my one-click underwater color-correction actions for Photoshop — the set I run on my own dive shots. Free.

Get the action now + monthly field notes
No spam · Unsubscribe anytime
Underwater reef photo before and after Blane Perun's Photoshop color-correction action — washed-out blue-green on the left, full natural color restored on the right
Same shot · one click