BackgroundChitosan, a deacetylated derivative of chitin, is one of the most preferred biopolymers for use as biostimulants and biofertilizers in organic agriculture and as elicitors to enhance the productivity of plant in vitro cultures. Valued as a non-toxic, biodegradable, and environment-friendly agent, it is widely applied to improve plant growth and yield, the content of bioactive specialized metabolites, and resistance to stress conditions and pathogens. However, the influence of chitosan on the growth-defense trade-off, particularly the interplay between steroid and triterpenoid metabolism, has not been extensively investigated.ResultsIn this study,Calendula officinalispot plants and hairy root cultures exposed to chitosan treatment displayed reduced biomass and altered steroid and triterpenoid metabolism. Biosynthesis and accumulation of free forms of sterols (particularly stigmasterol) were inhibited, while the content of sterol esters increased remarkably. The content of some triterpenoids (mainly free triterpenoid acids) was slightly enhanced; however, the biosynthesis of triterpenoid saponins was negatively affected.ConclusionsThese results indicate that in certain plants, chitosan treatment might not positively influence the growth and metabolite production. Therefore, to avoid unexpected effects, initial studies of the conditions of chitosan treatment are recommended, including the dose and the number of chitosan applications, the type of treatment (e.g., foliar or soil), and the vegetative stage of the treated plants.Supplementary InformationThe online version contains supplementary material available at 10.1186/s12870-023-04261-4.