Two-dimensional parabolic equation with nonlocal integral boundary conditions in a rectangle domain in this paper is solved by alternating direction method. To find the solutions of this problem we are looking to solve a linear system of equations. This algorithm is realized on particular example and assess the error of solution.