Short answer: it depends on the species
“Pleco” is a common name for many armored catfish, and they range from small fish to ones that outgrow almost any home tank. The name alone does not tell you the adult size, so look up the species before you buy.
The common pleco
The fish sold as a common pleco, usually Hypostomus plecostomus, is one of the larger plecos kept at home. Captive fish are often reported at around 15 inches (38 cm), and wild fish can be longer. Many keepers think twice before buying one, because it can outgrow most home aquariums.
Bristlenose and other smaller plecos
Bristlenose plecos stay much smaller. Adults are usually about 4 to 5 inches (10 to 13 cm). Males grow bristles on the snout and head, which gives the fish its name. Several other pleco species are kept in home tanks at smaller sizes too, but sizes vary by species, so check each one.
Tank size for adults
Large plecos need very large tanks as adults. Many guides suggest a minimum of about 75 gallons for a common pleco, and many suggest 125 gallons or more for a full-grown fish. These figures vary between sources, so the safer plan is to assume the larger number.
Bristlenose plecos need much less space. A 20-gallon tank is often given as the minimum for one adult. The same check applies across species, so the question of how big do aquarium fish get should come before you choose a tank.
Check the scientific name
Stores sometimes sell different species under one common name, so a fish sold as a common pleco may not be the species you expect. The scientific name is a better guide to adult size. Ask the store for it, and check it against a reliable care guide before you buy.
Plan for the adult
Assume the pleco will grow, and plan for the adult from the start. That includes tank size, filtration, and diet. Large fish produce more waste, so size the filter for the adult fish, the same way you would when learning how to choose a canister filter for aquarium use. Rehoming a large pleco is hard on everyone, so planning ahead is the kinder option for the fish.