In this paper, we study the properties of electrically charged anisotropic and spherically symmetric compact stars in f(Q) gravity theory. The field equations have been solved using the MIT-Bag Equation of State (EoS) along with the Vaidya–Tikekar potential. However, the specific form of charge E2(r)=q0L2r2(1+Lr2)2 has been used to study the charged compact star model. The interior charge anisotropic solution has been matched with the charged Schwarzchild-(Anti)-de-Sitter metric. In particular, this study has been conducted on different compact stars viz, EXO 1785-248, PSR J1614-2230, PSR J0740+620 and SMC X-1. The mass–radius ratio of these compact stars has been predicted, and the physical viability of the model has been checked through the behaviour of causality condition, matter variables, energy constraints, modified TOV equation, and adiabatic index of the star. In conclusion, we observe a well-behaved model of a compact star in f(Q) gravity with charged matter distribution.