In this paper we obtain a Hermite-Hadamard type inequality for a class of subharmonic functions. Our proofs rely essentially on the properties of elliptic partial differential equations of second order. Our study extends some recent results from [1], [2] and [6].