In this paper, we provide two methods of constructing quantum synchronizable codes from cyclic or constacyclic codes over finite rings. The first one is derived from the Calderbank-Shor-Steane (briefly, CSS) construction applied to dual-containing codes over finite chain rings. The second construction is derived from the CSS construction applied to Gray images of the constacyclic codes over semi-local rings $${\mathbb {F}}_{p}+v{\mathbb {F}}_{p}$$ with $$v^2=v$$ . By using two methods, concrete examples are presented to construct new quantum synchronizable codes.