Observational evidence revealed that in the composition of the Universe, the dark energy is in heap proportion which is mainly responsible for the accelerated expansion of the Universe. The astrophysicists hypothesized that every astrophysical object is likely interact with the dark energy Sakti and Sulaksono [Phys. Rev. D 103 (2021) 084042]. Therefore, researchers are intended to study the astrophysical objects with dark energy interaction. In this paper, we proposed a dark energy stars (composed of with dark matter and ordinary matter) model in the Rastall theory of gravity. The Rastall field equations are obtained in the Tolman–Kuchowicz-type metric. To solve the field equations, the arbitrary constants involved in the field equations (due to Tolman–Kuchowicz ansatz) are obtained by matching the interior geometry with the exterior Schwarzschild geometry. The obtained solution is tested physically by computing some analytical results and plotting graphs of different physical parameters like pressure, density for ordinary matter, density for dark matter, mass function, compactness and surface redshift. Stability of the model is also analyzed by different tests like velocity of sound, adiabatic index and TOV equations. The influence of the Rastall parameter on the model has been studied by plotting graphs and computing numerical values of model’s physical parameters for different values of the Rastall parameter. We infer that our propounded model fulfills all the necessary requirements for a physically plausible model.