In this paper, a right‐hand side identification problem for a parabolic equation with an overdetermined condition on an observation point is considered. A first and second order of accuracy difference schemes are constructed for obtaining approximate solutions of the problem that arises in two‐phase flow in capillaries. Stability estimates and numerical results are also established. Copyright © 2013 John Wiley & Sons, Ltd.