The article is devoted to analysis of the boundary conditions for the Peltier effect in semiconductors containing potential barriers (p-n junction). The full system of boundary conditions, taking into consideration the presence of nonequilibrium charge carriers, is offered. The surface recombination of charge carriers is taken into account for both the electric current and the propagation of heat.