Single‐crystal components made of nickel base superalloys contain pores after casting and homogenization heat treatment. Hot isostatic pressing (HIP), which is carried above the γ′‐solvus temperature of the alloy, is industrially applied to reduce porosity. A modeling of HIP based on continuously distributed dislocations is developed in a 2D setting. Glide and climb of straight‐edge dislocations, as well as vacancy diffusion, are the deformation mechanisms taken into account. Thereby, dislocation glide is controlled by dragging a cloud of large atoms, and climb is controlled by vacancy diffusion. Relying on previous investigations of the creep behavior at HIP temperatures, it is assumed that new dislocations are nucleated at low‐angle boundaries (LAB) and move through subgrains until they either reach the opposite LABs or react with other dislocations and annihilate. Vacancies are created at the pore surface and diffuse through the alloy until they are either consumed by climbing dislocations or disappear at the LABs. The field equations are solved by finite elements. It is shown that pore shrinking is mostly controlled by vacancy diffusion as the shear stresses at the LABs are too low to nucleate a sufficient amount of dislocations.