We give a characterization of polyharmonic functions in terms of integral means. The characterization justifies the introduction of a definition of polyharmonic functions on metric measure spaces.