The Gobiiformes are an order of fish that includes the gobies and their relatives. The order, which was previously considered a suborder of Perciformes, is made up of about 2,211 species that are divided between seven families. Phylogenetic relationships of the Gobiiformes have been elucidated using molecular data. Gobiiforms are primarily small species that live in marine water, but roughly 10% of these species inhabit fresh water. This order is composed chiefly of benthic or burrowing species; like many other benthic fishes, most gobiiforms do not have a gas bladder or any other means of controlling their buoyancy in water, so they must spend most of their time on or near the bottom. Gobiiformes means "goby-like".

Families

The 5th Edition of the Fishes of the World reclassified the former superfamily Goboidei as the order Gobiiformes and also rearranged the families within the order compared to the previous edition. The largest change is that the Oxudercidae and the Gobiidae are split into two families, with the Oxudercidae containing the species formerly classified as the Gobiidae subfamilies Amblyopinae, Gobionellinae, Oxudercinae and Sicydiinae while merging the families Kraemeriidae, Microdesmidae, Ptereleotridae and Schindleriidae into the family Gobiidae, though no subfamilies within the Gobiidae were proposed.

Gobiiformes

Under this classification system the Gobiiformes is divided into the following families:

Gobiiformes

Rhyacichthyidae

The loach-gobies are a small family, with only three species split between two genera, which inhabits marine and fresh water in Oceania and the western Pacific. These are thought to be among the more primitive species of the Gobiiformes.

Gobiiformes

Odontobutidae

The Odontobutidae, or freshwater sleepers, contains 22 species between 6 genera from eastern Asia. This family is the sister to all the other Gobiiformes in a clade with the Rhyacichthyidae.

Milyeringidae

The Milyeringidae contains two genera of cave fish, one in Western Australia and one at the other side of the Indian Ocean in Madagascar; both genera contain three recognized species. This family forms a second clade of the Gobiiformes.

Eleotridae

The sleeper gobies are a family of twenty six genera and 126 species found in freshwater and mangrove habitats throughout the tropical and temperate parts of the world as far north as the eastern United States and as far south as Stewart Island, New Zealand, except for the eastern Atlantic. Fossils of Eleotrid gobies are known from the Late Oligocene. The families Milyeringidae and Butidae were formerly classified as subfamilies of the Eleotridae but are not found to be close to the Eleotridae senus stricto in this system.

Butidae

The Butidae are one of the two families which are given the common name "sleeper gobies", and indeed were formerly classified as subfamily of the traditional sleeper goby family Eleotridae, although some phylogenies have placed them closer to the Oxucerdidae and the Gobiidae than to the Eleotridae. They are found in the Indo-Pacific and in West Africa, and contains 10 genera with 46 species split between them.

Thalasseleotrididae

The family Thalasseleotrididae is considered to be a sister group to the family Gobiidae and is separated as a family by the authors of this classification based on recent molecular studies. It comprises two genera of marine gobies from the temperate waters of Australia and New Zealand, with a total of three species between them.

Oxudercidae

Oxudercidae is a family of gobies comprising species previously split between four subfamilies of the family Gobiidae. The family is sometimes referred to as the Gobionellidae, but Oxucerdidae has priority. The species in this family have a cosmopolitan distribution in temperate and tropical areas and are found in marine and freshwater environments, typically in inshore, euryhaline areas with silt and sand substrates. The family contains 86 genera and about 600 species. Many species in this family can be found in fresh water and a number of species are found on wet beaches; some are able to survive for extended periods out of water, most famously the mudskippers.