Abstract. Shakhbazian compact galaxy groups belong to the interesting class of compact groups. Because of their large number (the catalogue contains 377 entries) we are able to study the groups in different stages of evolution. Here we give the results of detailed study of four groups, ShCG 154, ShCG 166, ShCG 328 and ShCG 360. We present the redshifts of individual galaxies in groups, the results of the surface photometry in BVR, the contourplots of the surface brightness versus effective radius of galaxies, the twisting postion angle versus effective radius of galaxies, the radial velocity dispersions, the crossing times, the mass-to-luminosity ratios of groups and the results of the X-ray study. The dynamical state of groups, interactions between member galaxies, and the physical parameters of groups are discussed.