For the case of a portfolio with identical claim amount distributions, Gerber's error bound for the compound Poisson approximation is improved (in the case λ ⩾ 1). The result can also be applied to more general portfolios by partitioning them into homogeneous subportfolios.