The concept of a right (left) AC-groupoid over an arbitrary group is defined and studied. Necessary and sufficient conditions which transform a right (left) AC-groupoid into a quasigroup are given. The AC-groupoids form a wide class of special groupoids and quasigroups that have a transitive subset of automorphisms.