The effects of shell resource and interspecific competition on sexual size dimorphism of the hermit crab, Pagurus middendorffii (Decapoda: Paguridae), were examined from population comparisons. Degree of size dimorphism and mean shell size occupied by male and female P. middendorffii differed among adjacent sites, and there was a significant correlation between them. Although most large P. middendorffii occupied large Chlorostoma lischkei shells in both shell-limited and shell-unlimited populations, P. lanuginosus, a sympatric species, occupied large C. lischkei shells more frequently than P. middendorffii did in a shell-limited population. Environmental factors, shell availability and interspecific competition for shells, might play important roles in determining the degree of sexual size dimorphism of P. middendorffii.