The effects of the image potential on electronic and hydrogenic impurity states in a quantum box are investigated using the variational approach. The results show that when the image potential is considered, the variations in ground electronic energy and impurity-binding energy are considerable, especially when the dimensions of quantum box become small. The results also show that the effects of impurity ion image potential on impurity-binding energy are much larger than those of electron image potential.