Aims. We investigate the correlations between galaxy properties and environment. Methods. From the main galaxy sample of the SDSS Data Release 5, we have extracted 11 163 groups at the linking length R 0 = 0.2 ×n −1/3 = 1.97 Mpc by the three-dimensional friends-of-friends (FOF) algorithm, wheren is the mean galaxy density, and compare basic properties of member galaxies of main galaxy groups with those of the main galaxy sample and isolated galaxies in each redshift bin.Results. The luminosities and sizes of galaxies are almost independent of environment, but morphologies and colors are correlated with environment-especially galaxy morphologies.