In an aquarium the spanner barb will adapt to water up to a pH of 7.2, and can live in slightly harder water than in their natural habitat. They are a mostly peaceful fish if kept in a school of at least five fish, but their large sizemakes them unsuited to a community of small fish.